Edinburgh Speech Tools  2.1-release
EST_Item_Content Class Reference

#include <include/ling_class/EST_Item_Content.h>

Collaboration diagram for EST_Item_Content:

Public Member Functions

const EST_String name () const
 
void set_name (const EST_String &s)
 set name More...
 
EST_Item_Contentoperator= (const EST_Item_Content &a)
 
Constructor Functions
 EST_Item_Content ()
 Default constructor. More...
 
 EST_Item_Content (const EST_Item_Content &content)
 Copy constructor. More...
 
 ~EST_Item_Content ()
 destructor More...
 
Relation related member functions
EST_ItemRelation (const char *name)
 
int in_relation (const EST_String &name) const
 
int unref_relation (const EST_String &relname)
 
int unref_and_delete ()
 

Public Attributes

EST_Features f
 General features for this item. More...
 
EST_TKVL< EST_String, EST_Valrelations
 

Friends

class EST_Item
 
ostream & operator<< (ostream &s, const EST_Item_Content &a)
 

Detailed Description

A class for containing individual linguistic features and references to relations.

This class contents the potentially shared part of an EST_Item . It contains a list of features allowing string names to be related to string, floats, ints and arbitrary objects. It also contains a reference list to the EST_Item s indexed by the relation names.

This class should not normally be accessed by anyone other than the EST_Item .

Definition at line 67 of file EST_Item_Content.h.

Constructor & Destructor Documentation

EST_Item_Content::EST_Item_Content ( )
inline

Default constructor.

Definition at line 75 of file EST_Item_Content.h.

EST_Item_Content::EST_Item_Content ( const EST_Item_Content content)
inline

Copy constructor.

Definition at line 77 of file EST_Item_Content.h.

EST_Item_Content::~EST_Item_Content ( )

destructor

Definition at line 56 of file EST_Item_Content.cc.

Member Function Documentation

const EST_String EST_Item_Content::name ( void  ) const
inline

return the name of the item, e.g. the name of the phone or the text of the word

Definition at line 90 of file EST_Item_Content.h.

void EST_Item_Content::set_name ( const EST_String s)
inline

set name

Definition at line 93 of file EST_Item_Content.h.

EST_Item_Content & EST_Item_Content::operator= ( const EST_Item_Content a)

Definition at line 107 of file EST_Item_Content.cc.

EST_Item* EST_Item_Content::Relation ( const char *  name)
inline

Definition at line 104 of file EST_Item_Content.h.

int EST_Item_Content::in_relation ( const EST_String name) const
inline

Definition at line 110 of file EST_Item_Content.h.

int EST_Item_Content::unref_relation ( const EST_String relname)

Definition at line 64 of file EST_Item_Content.cc.

int EST_Item_Content::unref_and_delete ( )

Definition at line 90 of file EST_Item_Content.cc.

Friends And Related Function Documentation

friend class EST_Item
friend

Definition at line 118 of file EST_Item_Content.h.

ostream& operator<< ( ostream &  s,
const EST_Item_Content a 
)
friend

Definition at line 113 of file EST_Item_Content.cc.

Member Data Documentation

EST_Features EST_Item_Content::f

General features for this item.

Definition at line 83 of file EST_Item_Content.h.

EST_TKVL<EST_String, EST_Val> EST_Item_Content::relations

Definition at line 96 of file EST_Item_Content.h.


The documentation for this class was generated from the following files: