Antares Xpansion
Investment simulations for Antares studies
Loading...
Searching...
No Matches
INIReader Class Reference

Public Member Functions

 INIReader (std::string filename)
 
 INIReader (FILE *file)
 
int ParseError () const
 
const std::set< std::string > & Sections () const
 
std::string Get (std::string section, std::string name, std::string default_value) const
 
long GetInteger (std::string section, std::string name, long default_value) const
 
double GetReal (std::string section, std::string name, double default_value) const
 
bool GetBoolean (std::string section, std::string name, bool default_value) const
 

Static Protected Member Functions

static std::string MakeKey (std::string section, std::string name)
 
static int ValueHandler (void *user, const char *section, const char *name, const char *value)
 

Protected Attributes

int _error
 
std::map< std::string, std::string > _values
 
std::set< std::string > _sections
 

The documentation for this class was generated from the following file: