Dxc::DxcConfig Class Reference

Access DXC configuration. More...

#include </home/user/DXC_svn/trunk/Src/APIs/cpp/DxcConfig.hpp>

List of all members.

Public Member Functions

std::string get (const std::string &key)
 Get the value of a key.
int getInt (const std::string &key)
 Get the (int) value of a key.
long getLong (const std::string &key)
 Get the (long) value of a key.

Static Public Member Functions

static DxcConfiggetInstance ()
 Loads DXC configuration and returns an instance of DxcConfig.

Detailed Description

Access DXC configuration.

Reads keys and values stored in the DXC config file.


Member Function Documentation

std::string DxcConfig::get ( const std::string &  key  ) 

Get the value of a key.

Parameters:
key - key to return value of.
Returns:
value pointed to by key
int DxcConfig::getInt ( const std::string &  key  ) 

Get the (int) value of a key.

Parameters:
key - key to return value of.
Returns:
value pointed to by key
long DxcConfig::getLong ( const std::string &  key  ) 

Get the (long) value of a key.

Parameters:
key - key to return value of.
Returns:
value pointed to by key

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

Generated on 22 Feb 2013 for dxcApi by  doxygen 1.6.1