 |
Edinburgh Speech Tools
2.4-release
|
|
40 #ifndef __EST_OPTION_H__
41 #define __EST_OPTION_H__
43 #include "EST_String.h"
45 #include "EST_rw_status.h"
99 int add_fitem(
const EST_String &rkey,
const float &rval);
105 #endif // __EST_OPTION_H__
friend ostream & operator<<(ostream &s, const EST_Option &kv)
print options
int override_ival(const EST_String rkey, const int rval)
add to end of list or overwrite. If rval is empty, do nothing
void remove_prefix(EST_String prefix)
remove prefix from every key
int add_iitem(const EST_String &rkey, const int &rval)
int override_val(const EST_String rkey, const EST_String rval)
add to end of list or overwrite. If rval is empty, do nothing
int override_fval(const EST_String rkey, const float rval)
add to end of list or overwrite. If rval is empty, do nothing
void add_prefix(EST_String prefix)
add prefix to every key
float fval(const EST_String &rkey, int m=1) const
EST_read_status load(const EST_String &filename, const EST_String &comment=";")
int ival(const EST_String &rkey, int m=1) const
double dval(const EST_String &rkey, int m=1) const
const EST_String & sval(const EST_String &rkey, int m=1) const