EST_Relation.h (speech_tools-2.4-release) | : | EST_Relation.h (speech_tools-2.5.0-release) | ||
---|---|---|---|---|
skipping to change at line 135 | skipping to change at line 135 | |||
EST_Item *head() const {return (this == 0) ? 0 : p_head;} | EST_Item *head() const {return (this == 0) ? 0 : p_head;} | |||
/** Return the root item of the relation */ | /** Return the root item of the relation */ | |||
EST_Item *root() const {return head();} | EST_Item *root() const {return head();} | |||
/** Return the tail (last) item of the relation */ | /** Return the tail (last) item of the relation */ | |||
EST_Item *tail() const {return (this == 0) ? 0 : p_tail;} | EST_Item *tail() const {return (this == 0) ? 0 : p_tail;} | |||
// This have been replaced by Relation_Tree functions | // This have been replaced by Relation_Tree functions | |||
EST_Item *first() const { return head(); } | EST_Item *first() const { return head(); } | |||
EST_Item *first_leaf() const; | EST_Item *rlast() const { return tail(); } | |||
EST_Item *last() const { return tail(); } | ||||
EST_Item *last_leaf() const; | ||||
/** Return the tail (last) item of the relation */ | /** Return the tail (last) item of the relation */ | |||
// EST_Item *id(int i); | // EST_Item *id(int i); | |||
/** number of items in this relation */ | /** number of items in this relation */ | |||
int length() const; | int length() const; | |||
// int num_nodes() const; | // int num_nodes() const; | |||
// int num_leafs() const; | // int num_leafs() const; | |||
/** return true if relation does not contain any items */ | /** return true if relation does not contain any items */ | |||
int empty() const { return p_head == 0; } | int empty() const { return p_head == 0; } | |||
End of changes. 1 change blocks. | ||||
3 lines changed or deleted | 1 lines changed or added |