friend std::ostream & operator<<(std::ostream &s, const Defaults_Text &def)
A lightweight implementation of the Defaults interface that uses simple ASCII text files...
The internal representation for a Defaults_Text object.
double get_float(std::string name) const override
bool exists(std::string name) const override
int get_int(std::string name) const override
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::string get_string(std::string name) const override
bool get_bool(std::string name) const override
~Defaults_Text() override
Destructor.