26 virtual const std::string
get_CharFlag(
const std::string &flag)
const;
27 virtual const std::string
get_CharFlag(
const std::string &name,
const std::string &defaultval);
28 virtual void set_CharFlag(
const std::string &name,
const std::string &flag);
31 virtual double get_DoubleFlag(
const std::string &name,
const double defaultval);
32 virtual void set_DoubleFlag(
const std::string &name,
const double flag);
35 virtual float get_FloatFlag(
const std::string &name,
const float defaultval);
36 virtual void set_FloatFlag(
const std::string &name,
const float flag);
38 virtual int get_IntFlag(
const std::string &name)
const;
39 virtual int get_IntFlag(
const std::string &name,
const int defaultval);
40 virtual void set_IntFlag(
const std::string &name,
const int flag);
42 virtual bool get_BoolFlag(
const std::string &name)
const;
43 virtual bool get_BoolFlag(
const std::string &name,
const bool defaultval);
44 virtual void set_BoolFlag(
const std::string &name,
const bool flag);
46 virtual void Print()
const;
52 virtual void ReadFromFile(
const std::string& name,
bool verbose =
false);
55 virtual int FlagExist(
const std::string &name)
const;
57 virtual const std::map<std::string, int> *
IntMap()
const {
return &
intflag;}
60 virtual const std::map<std::string, std::string> *
CharMap()
const {
return &
charflag;}
virtual double get_DoubleFlag(const std::string &name) const
virtual void PrintIntFlags() const
std::map< std::string, bool > boolflag
virtual int FlagExist(const std::string &name) const
virtual void set_IntFlag(const std::string &name, const int flag)
std::map< std::string, double > doubleflag
virtual void set_BoolFlag(const std::string &name, const bool flag)
virtual void PrintBoolFlags() const
virtual void set_DoubleFlag(const std::string &name, const double flag)
virtual void set_CharFlag(const std::string &name, const std::string &flag)
virtual const std::map< std::string, int > * IntMap() const
virtual const std::map< std::string, bool > * BoolMap() const
virtual const std::map< std::string, std::string > * CharMap() const
std::map< std::string, int > intflag
virtual void set_FloatFlag(const std::string &name, const float flag)
virtual void WriteToFile(const std::string &name)
virtual void PrintCharFlags() const
virtual int get_IntFlag(const std::string &name) const
virtual const std::string get_CharFlag(const std::string &flag) const
virtual void ReadFromFile(const std::string &name, bool verbose=false)
std::map< std::string, std::string > charflag
std::map< std::string, float > floatflag
virtual const std::map< std::string, double > * DoubleMap() const
virtual void PrintDoubleFlags() const
virtual void PrintFloatFlags() const
virtual const std::map< std::string, float > * FloatMap() const
virtual bool get_BoolFlag(const std::string &name) const
virtual void Print() const
virtual float get_FloatFlag(const std::string &name) const