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 16 of file Config.hh.


Constructor & Destructor Documentation

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

Definition at line 22 of file Config.hh.

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 25 of file Config.hh.

bool Config::ExistItem ( const string &  name)

Definition at line 31 of file Config.cc.

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

Definition at line 29 of file Config.hh.

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

Definition at line 28 of file Config.hh.

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

Definition at line 27 of file Config.hh.

void 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 19 of file Config.hh.


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


blort
Author(s): Michael Zillich, Thomas Mörwald, Johann Prankl, Andreas Richtsfeld, Bence Magyar (ROS version)
autogenerated on Thu Jan 2 2014 11:38:26