page1
TFSFile
int AHNum;
int ResAHNum;
TDefsLine *DefsTable;
TTree *Trees;
long TreeNum;
TDefsLine
.ResAHNum[0]
char ID;
int IDType;
TAHLine *Vals;
TDefsLine
.ResAHNum[1]
char ID;
int IDType;
TAHLine *Vals;
TDefsLine
.ResAHNum[AHNum-1]
char ID;
int IDType;
TAHLine *Vals;
...
TTree
.Trees
TNode *Root;
int AHNum;
TDefsLine *DefsTable;
TTree *Next;
TTree *Prev;
TTree
.Trees->Next
TNode *Root;
int AHNum;
TDefsLine *DefsTable;
TTree *Next;
TTree *Prev;
TTree
.Trees->Next->...->Next
TNode *Root;
int AHNum;
TDefsLine *DefsTable;
TTree *Next;
TTree *Prev;
...
...
TNode
.Root
TValue *Values;
TNode *father;
TNode *Brother;
TNode *FirstSon;
int depth_from_root;
int max_depth_to_leaf;
int nodes_in_subtree;
int number_of_sons;
int number_of_hidden_sons;
int number_of_left_brothers;
int number_of_right brothers;
int hidden;
int depth_first_order;
char *name;
TNode
.Root->FirstSon
TNode *father;
Tnode *Brother;
Tnode *FirstSon;
...
TValue
.Root->Values
TAHLine *AHTable;
Tvalue *Next;
TValue
.Root->Values
TAHLine *AHTable;
Tvalue *Next;
...
druhá sada
další sady
první sada
TAHLine
.Root->Values.AHTable[0]
char value[MAXVALUELEN+1];
char *long_value;
int relation;
int contains_reference;
int contains_regexp;
RegExp regexp;
TAHLine *next;
TAHLine
.Root->Values->AHTable
pole hodnot atributů
alternativní hodnota atributu
TAHLine
.Root->Values.
AHTable[1]
char value[...];
char *long_value;
...
TAHLine *next;
hodnota 2. atrib.
TAHLine
alt. hodnota