Defaults_Textrep(string file)
Constructor, construct a Defaults_Textrep instance from an ASCII text-file and command line arguments...
friend std::ostream & operator<<(std::ostream &s, const Defaults_Text &def)
A lightweight implementation of the Defaults interface that uses simple ASCII text files...
virtual bool exists(std::string name) const
The internal representation for a Defaults_Text object.
std::map< std::string, std::string > _map
string get_val(string name) const
Defaults_Text(std::string def_file)
Constructor, create a Default_Text object from an ASCII text file. Pass an empty string to skip readi...
virtual double get_float(std::string name) const
virtual std::string get_string(std::string name) const
Define a concrete interface for getting parameter settings from an ASCII text file.
virtual int get_int(std::string name) const
void process_args(int argc, char **argv)
void read_file(string file)
virtual bool get_bool(std::string name) const