Public Member Functions | Public Attributes
P::Config Class Reference

#include <Config.hh>

List of all members.

Public Member Functions

void AddItem (const string &name, const string &value)
 Config ()
 Config (const char *filename)
bool ExistItem (const string &name)
double GetValueDouble (const string &name)
int GetValueInt (const string &name)
string GetValueString (const string &name)
void Load (const char *filename)

Public Attributes

map< string, string > items

Detailed Description

Definition at line 15 of file Config.hh.


Constructor & Destructor Documentation

P::Config::Config ( ) [inline]

Definition at line 21 of file Config.hh.

P::Config::Config ( const char *  filename)

Definition at line 11 of file Config.cc.


Member Function Documentation

void P::Config::AddItem ( const string &  name,
const string &  value 
) [inline]

Definition at line 24 of file Config.hh.

bool P::Config::ExistItem ( const string &  name)

Definition at line 31 of file Config.cc.

double P::Config::GetValueDouble ( const string &  name) [inline]

Definition at line 28 of file Config.hh.

int P::Config::GetValueInt ( const string &  name) [inline]

Definition at line 27 of file Config.hh.

string P::Config::GetValueString ( const string &  name) [inline]

Definition at line 26 of file Config.hh.

void P::Config::Load ( const char *  filename)

Definition at line 16 of file Config.cc.


Member Data Documentation

map<string, string> P::Config::items

Definition at line 18 of file Config.hh.


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


blort
Author(s): Thomas Mörwald , Michael Zillich , Andreas Richtsfeld , Johann Prankl , Markus Vincze , Bence Magyar
autogenerated on Wed Aug 26 2015 15:24:12