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