"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "include/ling_class/EST_Relation.h" between
speech_tools-2.4-release.tar.gz and speech_tools-2.5.0-release.tar.gz

About: The speech_tools - Edinburgh Speech Tools Library (used by the Festival Speech Synthesis System).

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

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)