51 for (i=l; i != 0; i=i->
next())
110 if (keep_id) keep = to->
S(
"id",
"0");
112 if (keep_id) to->
set(
"id", keep);
141 d = to->grab_daughters();
169 EST_Item *from_d = rfrom->grab_daughters();
170 EST_Item *to_d = to->grab_daughters();
194 else if (to ==
"Syllable")
196 else if (to ==
"Word")
198 else if (to ==
"IntEvent")
210 if ( t == 0 || f == 0 )
EST_Item * insert_below(EST_Item *li=0)
EST_Item * next_sibling(const EST_Item *n)
return next sibling (sister) of n
int merge_item(EST_Item *from, EST_Item *to)
int exchange_sub_trees(EST_Item *from, EST_Item *to)
void set_contents(EST_Item_Content *li)
void remove_item(EST_Item *item)
int in_relation(const EST_String &relname) const
TRUE if this item is in named relation.
void remove_item_list(EST_Relation *rel, EST_Item *item)
void set(const EST_String &name, ssize_t ival)
int in_tree(const EST_Item *c, const EST_Item *t)
EST_Item * as_relation(const char *relname) const
View item from another relation (const char *) method.
EST_Item * item_jump(EST_Item *from, const EST_String &to)
const EST_String & relation_name() const
The relation name of this particular item.
EST_TKVL< EST_String, EST_Val > & relations()
Access to the relation links.
EST_TList< EST_TKVI< K, V > > list
Linked list of key-val pairs. Don't use this as it will be made private in the future.
EST_Item_Content * contents() const
int in_list(const EST_Item *c, const EST_Item *l)
void merge_features(EST_Item *to, EST_Item *from, int keep_id)
void copy_node_tree(EST_Item *from, EST_Item *to)
EST_Features & features() const
static void splice(EST_Item *a, EST_Item *b)
int move_sub_tree(EST_Item *from, EST_Item *to)
const EST_String S(const EST_String &name) const
EST_Item * daughter1(const EST_Item *n)
return first daughter of n
int move_item(EST_Item *from, EST_Item *to)