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);
int override_ival(const EST_String rkey, const int rval)
add to end of list or overwrite. If rval is empty, do nothing
EST_read_status load(const EST_String &filename, const EST_String &comment=";")
float fval(const EST_String &rkey, int m=1) const
void add_prefix(EST_String prefix)
add prefix to every key
void remove_prefix(EST_String prefix)
remove prefix from every key
int override_val(const EST_String rkey, const EST_String rval)
add to end of list or overwrite. If rval is empty, do nothing
const EST_String & sval(const EST_String &rkey, int m=1) const
int add_iitem(const EST_String &rkey, const int &rval)
friend ostream & operator<<(ostream &s, const EST_Option &kv)
print options
int override_fval(const EST_String rkey, const float rval)
add to end of list or overwrite. If rval is empty, do nothing
int ival(const EST_String &rkey, int m=1) const
double dval(const EST_String &rkey, int m=1) const