Edinburgh Speech Tools  2.1-release
EST_item_aux.h File Reference
#include "EST_features_aux.h"
Include dependency graph for EST_item_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 &item)
 
float mid (const EST_Item &item)
 
float time (const EST_Item &item)
 
float end (const EST_Item &item)
 
EST_Itemitem_jump (EST_Item *from, const EST_String &to)
 
EST_Val getVal (const EST_Item &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 &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 &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 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.

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

Return the value as a string.

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

Return the values as a float.

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 item)

Definition at line 52 of file EST_item_aux.cc.

float mid ( const EST_Item item)

Definition at line 69 of file EST_item_aux.cc.

float time ( const EST_Item item)

Definition at line 82 of file EST_item_aux.cc.

float end ( const EST_Item item)

Definition at line 96 of file EST_item_aux.cc.

EST_Item* item_jump ( EST_Item from,
const EST_String to 
)

Definition at line 183 of file item_aux.cc.