Edinburgh Speech Tools  2.1-release
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Functions
Collaboration diagram for Tree building functions:

Functions

EST_Itemappend_daughter (EST_Item *n, EST_Item *p=0)
 
EST_Itemappend_daughter (EST_Item *n, const char *relname, EST_Item *p=0)
 
EST_Itemprepend_daughter (EST_Item *n, EST_Item *p=0)
 
EST_Itemprepend_daughter (EST_Item *n, const char *relname, EST_Item *p=0)
 

Detailed Description

Function Documentation

EST_Item* append_daughter ( EST_Item n,
EST_Item p = 0 
)

Add a daughter to node n, after any existing daughters, and return the next daughter. If p is 0, make a new node for the daughter, otherwise add p to this relation as n's daughter.

Definition at line 575 of file EST_Item.cc.

EST_Item* append_daughter ( EST_Item n,
const char *  relname,
EST_Item p = 0 
)

Add a daughter to node n as seen from relation relname, after any existing daughters, and return the next daughter. If p is 0, make a new node for the daughter, otherwise add p to this relation as n's daughter.

Definition at line 580 of file EST_Item.cc.

EST_Item* prepend_daughter ( EST_Item n,
EST_Item p = 0 
)

Add a daughter to node n, before any existing daughters, and return the next daughter. If p is 0, make a new node for the daughter, otherwise add p to this relation as n's daughter.

Definition at line 585 of file EST_Item.cc.

EST_Item* prepend_daughter ( EST_Item n,
const char *  relname,
EST_Item p = 0 
)

Add a daughter to node n as seen from relation relname, before any existing daughters, and return the next daughter. If p is 0, make a new node for the daughter, otherwise add p to this relation as n's daughter.

Definition at line 590 of file EST_Item.cc.