JLab VME Pipeline TI Library  3v11.3
JLab VME Pipeline TI library
 All Classes Functions Variables Groups
Public Member Functions | Static Protected Member Functions | Protected Attributes | List of all members
INIReader Class Reference

Public Member Functions

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

Static Protected Member Functions

static std::string MakeKey (const std::string &section, const 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: