Public Member Functions | Private Attributes
ConfigFile Class Reference

#include <config.h>

List of all members.

Public Member Functions

 ConfigFile (const char *filename)
double getDParam (const char *p, double def=0.0)
int getIParam (const char *p, int def=0)
string getParam (string p)
string getParam (const char *p)
 ~ConfigFile ()

Private Attributes

ifstream f
map< string, string > params

Detailed Description

Definition at line 52 of file config.h.

Constructor & Destructor Documentation

ConfigFile::ConfigFile ( const char *  filename)

Definition at line 45 of file config.cpp.

Definition at line 124 of file config.cpp.

Member Function Documentation

double ConfigFile::getDParam ( const char *  p,
double  def = 0.0 

Definition at line 151 of file config.cpp.

int ConfigFile::getIParam ( const char *  p,
int  def = 0 

Definition at line 142 of file config.cpp.

string ConfigFile::getParam ( string  p)

Definition at line 129 of file config.cpp.

string ConfigFile::getParam ( const char *  p)

Definition at line 137 of file config.cpp.

Member Data Documentation

ifstream ConfigFile::f [private]

Definition at line 55 of file config.h.

map<string,string> ConfigFile::params [private]

Definition at line 56 of file config.h.

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

autogenerated on Thu Jun 6 2019 20:27:09