40 #ifndef __EST_OPTION_H__ 41 #define __EST_OPTION_H__ 105 #endif // __EST_OPTION_H__ void remove_prefix(EST_String prefix)
remove prefix from every key
friend ostream & operator<<(ostream &s, const EST_Option &kv)
print options
int add_iitem(const EST_String &rkey, const int &rval)
int override_ival(const EST_String rkey, const int rval)
add to end of list or overwrite. If rval is empty, do nothing
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 ival(const EST_String &rkey, int m=1) const
int override_fval(const EST_String rkey, const float rval)
add to end of list or overwrite. If rval is empty, do nothing
double dval(const EST_String &rkey, int m=1) const
float fval(const EST_String &rkey, int m=1) const
int add_fitem(const EST_String &rkey, const float &rval)
const EST_String & sval(const EST_String &rkey, int m=1) const
EST_read_status load(const EST_String &filename, const EST_String &comment=";")
Templated Key-Value list. Objects of type EST_TKVL contain lists which are accessed by a key of type ...
void add_prefix(EST_String prefix)
add prefix to every key