#include <include/EST_TNamedEnum.h>
Public Member Functions | |
EST_TValuedEnumI (EST_TValuedEnumDefinition< ENUM, VAL, INFO > defs[]) | |
EST_TValuedEnumI (EST_TValuedEnumDefinition< const char *, VAL, INFO > defs[], ENUM(*conv)(const char *)) | |
virtual | ~EST_TValuedEnumI (void) |
int | n (void) const |
ENUM | token (VAL value) const |
ENUM | token (int n) const |
ENUM | nth_token (int n) const |
VAL | value (ENUM token, int n=0) const |
INFO & | info (ENUM token) const |
ENUM | unknown_enum (void) const |
VAL | unknown_value (void) const |
int | valid (ENUM token) const |
Protected Member Functions | |
virtual int | eq_vals (VAL v1, VAL v2) const |
void | initialise (const void *defs) |
void | initialise (const void *defs, ENUM(*conv)(const char *)) |
void | initialise (void) |
void | initialise (ENUM unknown_e, VAL unknown_v) |
EST_TValuedEnumI (void) | |
Protected Attributes | |
int | ndefinitions |
ENUM | p_unknown_enum |
VAL | p_unknown_value |
EST_TValuedEnumDefinition< ENUM, VAL, INFO > * | definitions |
Definition at line 80 of file EST_TNamedEnum.h.
|
inlineprotected |
Definition at line 97 of file EST_TNamedEnum.h.
|
inline |
Definition at line 100 of file EST_TNamedEnum.h.
|
inline |
Definition at line 102 of file EST_TNamedEnum.h.
|
virtual |
Definition at line 111 of file EST_TNamedEnum.cc.
|
inlineprotectedvirtual |
Reimplemented in EST_TNamedEnumI< ENUM, INFO >, EST_TNamedEnumI< EST_TrackFileType, TS_Info >, EST_TNamedEnumI< EST_TrackFileType, Info >, EST_TNamedEnumI< EST_UtteranceFileType, Info >, EST_TNamedEnumI< EST_WaveFileType, Info >, and EST_TNamedEnumI< ENUM, NO_INFO >.
Definition at line 88 of file EST_TNamedEnum.h.
|
protected |
Definition at line 52 of file EST_TNamedEnum.cc.
|
protected |
Definition at line 73 of file EST_TNamedEnum.cc.
|
inlineprotected |
Definition at line 93 of file EST_TNamedEnum.h.
|
inlineprotected |
Definition at line 94 of file EST_TNamedEnum.h.
int EST_TValuedEnumI< ENUM, VAL, INFO >::n | ( | void | ) | const |
Definition at line 118 of file EST_TNamedEnum.cc.
ENUM EST_TValuedEnumI< ENUM, VAL, INFO >::token | ( | VAL | value | ) | const |
Definition at line 161 of file EST_TNamedEnum.cc.
|
inline |
Definition at line 109 of file EST_TNamedEnum.h.
ENUM EST_TValuedEnumI< ENUM, VAL, INFO >::nth_token | ( | int | n | ) | const |
Definition at line 152 of file EST_TNamedEnum.cc.
VAL EST_TValuedEnumI< ENUM, VAL, INFO >::value | ( | ENUM | token, |
int | n = 0 |
||
) | const |
Definition at line 124 of file EST_TNamedEnum.cc.
INFO & EST_TValuedEnumI< ENUM, VAL, INFO >::info | ( | ENUM | token | ) | const |
Definition at line 136 of file EST_TNamedEnum.cc.
|
inline |
Definition at line 114 of file EST_TNamedEnum.h.
|
inline |
Definition at line 115 of file EST_TNamedEnum.h.
|
inline |
Definition at line 116 of file EST_TNamedEnum.h.
|
protected |
Definition at line 83 of file EST_TNamedEnum.h.
|
protected |
Definition at line 84 of file EST_TNamedEnum.h.
|
protected |
Definition at line 85 of file EST_TNamedEnum.h.
|
protected |
Definition at line 86 of file EST_TNamedEnum.h.