Edinburgh Speech Tools  2.1-release
EST_FeatureFunctionContext Class Reference

#include <ling_class/EST_FeatureFunctionContext.h>

Collaboration diagram for EST_FeatureFunctionContext:

Public Member Functions

 EST_FeatureFunctionContext (void)
 
 ~EST_FeatureFunctionContext (void)
 
void clear_cache (void)
 
void add_package (const EST_String name)
 
bool package_included (const EST_String name) const
 
EST_Item_featfunc get_featfunc (const EST_String name, int must=0)
 
EST_Item_featfunc get_featfunc (const EST_String package, const EST_String name, int must=0)
 

Static Public Attributes

static const EST_String separator = "+"
 

Protected Member Functions

void add_package (EST_FeatureFunctionPackage *package)
 
EST_FeatureFunctionPackageget_package (const EST_String name) const
 
EST_String get_featfunc_name (const EST_Item_featfunc func, int &found) const
 

Static Protected Member Functions

static void class_init (void)
 

Static Protected Attributes

static EST_FeatureFunctionContextglobal
 

Friends

class ling_class_init
 
void EST_register_feature_function_package (const char *name, void(*init_fn)(EST_FeatureFunctionPackage &p))
 
void register_featfunc (const EST_String &name, const EST_Item_featfunc func)
 
EST_Item_featfunc get_featfunc (const EST_String &name, int must)
 
EST_String get_featname (const EST_Item_featfunc func)
 

Detailed Description

Definition at line 49 of file EST_FeatureFunctionContext.h.

Constructor & Destructor Documentation

EST_FeatureFunctionContext::EST_FeatureFunctionContext ( void  )

Definition at line 57 of file EST_FeatureFunctionContext.cc.

EST_FeatureFunctionContext::~EST_FeatureFunctionContext ( void  )

Definition at line 62 of file EST_FeatureFunctionContext.cc.

Member Function Documentation

void EST_FeatureFunctionContext::add_package ( EST_FeatureFunctionPackage package)
protected

Definition at line 135 of file EST_FeatureFunctionContext.cc.

EST_FeatureFunctionPackage * EST_FeatureFunctionContext::get_package ( const EST_String  name) const
protected

Definition at line 75 of file EST_FeatureFunctionContext.cc.

EST_String EST_FeatureFunctionContext::get_featfunc_name ( const EST_Item_featfunc  func,
int found 
) const
protected

Definition at line 88 of file EST_FeatureFunctionContext.cc.

void EST_FeatureFunctionContext::clear_cache ( void  )

Definition at line 111 of file EST_FeatureFunctionContext.cc.

void EST_FeatureFunctionContext::add_package ( const EST_String  name)

Definition at line 116 of file EST_FeatureFunctionContext.cc.

bool EST_FeatureFunctionContext::package_included ( const EST_String  name) const

Definition at line 142 of file EST_FeatureFunctionContext.cc.

EST_Item_featfunc EST_FeatureFunctionContext::get_featfunc ( const EST_String  name,
int  must = 0 
)

Definition at line 147 of file EST_FeatureFunctionContext.cc.

EST_Item_featfunc EST_FeatureFunctionContext::get_featfunc ( const EST_String  package,
const EST_String  name,
int  must = 0 
)

Definition at line 192 of file EST_FeatureFunctionContext.cc.

void EST_FeatureFunctionContext::class_init ( void  )
staticprotected

Definition at line 46 of file EST_FeatureFunctionContext.cc.

Friends And Related Function Documentation

friend class ling_class_init
friend

Definition at line 80 of file EST_FeatureFunctionContext.h.

void EST_register_feature_function_package ( const char *  name,
void(*)(EST_FeatureFunctionPackage &p)  init_fn 
)
friend

Definition at line 88 of file item_feats.cc.

void register_featfunc ( const EST_String name,
const EST_Item_featfunc  func 
)
friend

Definition at line 65 of file item_feats.cc.

EST_Item_featfunc get_featfunc ( const EST_String name,
int  must = 0 
)
friend

Definition at line 58 of file item_feats.cc.

EST_String get_featname ( const EST_Item_featfunc  func)
friend

Definition at line 76 of file item_feats.cc.

Member Data Documentation

EST_FeatureFunctionContext * EST_FeatureFunctionContext::global
staticprotected

Definition at line 55 of file EST_FeatureFunctionContext.h.

const EST_String EST_FeatureFunctionContext::separator = "+"
static

Definition at line 63 of file EST_FeatureFunctionContext.h.


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