Edinburgh Speech Tools  2.1-release
named_enum_example.cc File Reference
#include <cstdlib>
#include <iostream>
#include "EST_TNamedEnum.h"
Include dependency graph for named_enum_example.cc:

Go to the source code of this file.

Enumerations

enum  Colour {
  c_red =1, c_blue =2, c_green =3, c_unknown =666,
  c_red =1, c_blue =2, c_green =3, c_unknown =666
}
 

Functions

 Start_TNamedEnum (Colour, ColourMap)
 
 Start_TNamedEnumI (Colour, colour_info, RGBColourMap)
 

Variables

EST_TNamedEnum< ColourColourMap
 
EST_TNamedEnumI< Colour, colour_info > RGBColourMap
 

Enumeration Type Documentation

enum Colour
Enumerator
c_red 
c_blue 
c_green 
c_unknown 
c_red 
c_blue 
c_green 
c_unknown 

Definition at line 69 of file named_enum_example.cc.

Function Documentation

Start_TNamedEnum ( Colour  ,
ColourMap   
)

Definition at line 86 of file named_enum_example.cc.

Start_TNamedEnumI ( Colour  ,
colour_info  ,
RGBColourMap   
)

Definition at line 123 of file named_enum_example.cc.

Variable Documentation

EST_TNamedEnum<Colour> ColourMap
EST_TNamedEnumI<Colour, colour_info> RGBColourMap
Initial value:
{ c_unknown, {NULL},0}
End_TNamedEnum(Colour, SpanishColourMap)
struct colour_info {
int red, green, blue;
}
#define End_TNamedEnum(ENUM, NAME)
NULL
Definition: EST_WFST.cc:55