#include <include/ling_class/EST_Item_Content.h>
Public Member Functions | |
const EST_String | name () const |
void | set_name (const EST_String &s) |
set name More... | |
EST_Item_Content & | operator= (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_Item * | Relation (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_Val > | relations |
Friends | |
class | EST_Item |
ostream & | operator<< (ostream &s, const EST_Item_Content &a) |
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.
|
inline |
Default constructor.
Definition at line 75 of file EST_Item_Content.h.
|
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.
|
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.
|
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.
|
inline |
Definition at line 104 of file EST_Item_Content.h.
|
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.
|
friend |
Definition at line 118 of file EST_Item_Content.h.
|
friend |
Definition at line 113 of file EST_Item_Content.cc.
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.