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

Go to the source code of this file.

Functions

float start (const EST_Item_Content &itemc)
 
float mid (const EST_Item_Content &itemc)
 
float time (const EST_Item_Content &itemc)
 
float end (const EST_Item_Content &itemc)
 
EST_Val getVal (const EST_Item_Content &f, const EST_String name, const EST_Val &def, EST_feat_status &s)
 Return the value as an EST_Val. More...
 
EST_String getString (const EST_Item_Content &f, const EST_String name, const EST_String &def, EST_feat_status &s)
 Return the value as a string. More...
 
float getFloat (const EST_Item_Content &f, const EST_String name, const float &def, EST_feat_status &s)
 Return the values as a float. More...
 
int getInteger (const EST_Item &f, const EST_String name, const int &def, EST_feat_status &s)
 Return the values as an integer. More...
 

Function Documentation

EST_Val getVal ( const EST_Item_Content f,
const EST_String  name,
const EST_Val def,
EST_feat_status s 
)

Return the value as an EST_Val.

Safe feature access functions.

These functions are guaranteed to return a value even if there is an otherwise fatal error.

Definition at line 55 of file EST_item_content_aux.cc.

EST_String getString ( const EST_Item_Content f,
const EST_String  name,
const EST_String def,
EST_feat_status s 
)

Return the value as a string.

Definition at line 72 of file EST_item_content_aux.cc.

float getFloat ( const EST_Item_Content f,
const EST_String  name,
const float &  def,
EST_feat_status s 
)

Return the values as a float.

Definition at line 104 of file EST_item_content_aux.cc.

int getInteger ( const EST_Item f,
const EST_String  name,
const int def,
EST_feat_status s 
)

Return the values as an integer.

float start ( const EST_Item_Content itemc)

Definition at line 121 of file EST_item_content_aux.cc.

float mid ( const EST_Item_Content itemc)

Definition at line 141 of file EST_item_content_aux.cc.

float time ( const EST_Item_Content itemc)

Definition at line 164 of file EST_item_content_aux.cc.

float end ( const EST_Item_Content itemc)

Definition at line 187 of file EST_item_content_aux.cc.