Edinburgh Speech Tools  2.1-release
EST_features_aux.h File Reference
#include "EST_Features.h"
Include dependency graph for EST_features_aux.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

enum  EST_feat_status { efs_ok =0, efs_not_set =1, efs_error =2 }
 
EST_Val getVal (const EST_Features &f, const EST_String name, const EST_Val &def, EST_feat_status &status)
 Return the value as an EST_Val. More...
 
EST_String getString (const EST_Features &f, const EST_String name, const EST_String &def, EST_feat_status &status)
 Return the value as a string. More...
 
float getFloat (const EST_Features &f, const EST_String name, float def, EST_feat_status &status)
 Return the values as a float. More...
 
int getInteger (const EST_Features &f, const EST_String name, int def, EST_feat_status &status)
 Return the values as a float. More...
 

Enumeration Type Documentation

Safe feature access functions.

These functions are guaranteed to return a value even if there is an otherwise fatal error.What happened when we tried to look up a value.

Enumerator
efs_ok 

All OK, value returned.

efs_not_set 

No value for feature, default returned.

efs_error 

An error occurred and was caught.

Definition at line 60 of file EST_features_aux.h.

Function Documentation

EST_Val getVal ( const EST_Features f,
const EST_String  name,
const EST_Val def,
EST_feat_status status 
)

Return the value as an EST_Val.

EST_String getString ( const EST_Features f,
const EST_String  name,
const EST_String def,
EST_feat_status status 
)

Return the value as a string.

float getFloat ( const EST_Features f,
const EST_String  name,
float  def,
EST_feat_status status 
)

Return the values as a float.

int getInteger ( const EST_Features f,
const EST_String  name,
int  def,
EST_feat_status status 
)

Return the values as a float.