ConfigImpl Class Reference

#include <conf_impl.h>

Inheritance diagram for ConfigImpl:

Inheritance graph
[legend]
Collaboration diagram for ConfigImpl:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 ConfigImpl ()
void Load (std::string file)
void SetDefaultString (const std::string &name, const std::string &value)
void SetDefaultInt (const std::string &name, const int &value)
void SetDefaultBool (const std::string &name, const bool &value)
bool Get (const std::string &name, std::string &value)
bool Get (const std::string &name, int &value)
bool Get (const std::string &name, bool &value)
bool Get (const std::string &name, std::list< std::string > &value)
bool Get (const std::string &name, std::list< int > &value)
void SetString (std::string name, const std::string &value)
void SetInt (std::string name, const int &value)
void SetBool (std::string name, const bool &value)
void SetStringList (std::string name, const std::list< std::string > &value)
void SetIntList (std::string name, const std::list< int > &value)
std::string GetAsString ()
void Parse (std::string line)
void ParseShellArgs (int argc, char **argv)
bool IsLoaded ()

Friends

class Config


Detailed Description

Definition at line 11 of file conf_impl.h.


Constructor & Destructor Documentation

ConfigImpl::ConfigImpl (  ) 

Definition at line 9 of file conf_impl.cpp.


Member Function Documentation

bool ConfigImpl::Get ( const std::string &  name,
std::list< int > &  value 
)

Definition at line 291 of file conf_impl.cpp.

bool ConfigImpl::Get ( const std::string &  name,
std::list< std::string > &  value 
)

Definition at line 267 of file conf_impl.cpp.

bool ConfigImpl::Get ( const std::string &  name,
bool &  value 
) [virtual]

Implements ConfigInterface.

Definition at line 225 of file conf_impl.cpp.

bool ConfigImpl::Get ( const std::string &  name,
int &  value 
) [virtual]

Implements ConfigInterface.

Definition at line 239 of file conf_impl.cpp.

bool ConfigImpl::Get ( const std::string &  name,
std::string &  value 
) [virtual]

Implements ConfigInterface.

Definition at line 253 of file conf_impl.cpp.

std::string ConfigImpl::GetAsString (  )  [virtual]

Implements ConfigInterface.

Definition at line 162 of file conf_impl.cpp.

bool ConfigImpl::IsLoaded (  )  [virtual]

Implements ConfigInterface.

Definition at line 390 of file conf_impl.cpp.

void ConfigImpl::Load ( std::string  file  )  [virtual]

Implements ConfigInterface.

Reimplemented in Data.

Definition at line 112 of file conf_impl.cpp.

void ConfigImpl::Parse ( std::string  line  )  [virtual]

Implements ConfigInterface.

Definition at line 25 of file conf_impl.cpp.

void ConfigImpl::ParseShellArgs ( int  argc,
char **  argv 
) [virtual]

Implements ConfigInterface.

Definition at line 342 of file conf_impl.cpp.

void ConfigImpl::SetBool ( std::string  name,
const bool &  value 
) [virtual]

Implements ConfigInterface.

Definition at line 350 of file conf_impl.cpp.

void ConfigImpl::SetDefaultBool ( const std::string &  name,
const bool &  value 
) [virtual]

Implements ConfigInterface.

Definition at line 315 of file conf_impl.cpp.

void ConfigImpl::SetDefaultInt ( const std::string &  name,
const int &  value 
) [virtual]

Implements ConfigInterface.

Definition at line 324 of file conf_impl.cpp.

void ConfigImpl::SetDefaultString ( const std::string &  name,
const std::string &  value 
) [virtual]

Implements ConfigInterface.

Definition at line 333 of file conf_impl.cpp.

void ConfigImpl::SetInt ( std::string  name,
const int &  value 
) [virtual]

Implements ConfigInterface.

Definition at line 358 of file conf_impl.cpp.

void ConfigImpl::SetIntList ( std::string  name,
const std::list< int > &  value 
)

Definition at line 382 of file conf_impl.cpp.

void ConfigImpl::SetString ( std::string  name,
const std::string &  value 
) [virtual]

Implements ConfigInterface.

Definition at line 366 of file conf_impl.cpp.

void ConfigImpl::SetStringList ( std::string  name,
const std::list< std::string > &  value 
)

Definition at line 374 of file conf_impl.cpp.


Friends And Related Function Documentation

friend class Config [friend]

Definition at line 13 of file conf_impl.h.


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

Generated on Sun Oct 10 19:10:04 2010 for libldsw by  doxygen 1.5.8