ConfigImpl Class Reference
#include <conf_impl.h>
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 |
( |
|
) |
|
Member Function Documentation
| bool ConfigImpl::Get |
( |
const std::string & |
name, |
|
|
std::list< int > & |
value | |
|
) |
| | |
| bool ConfigImpl::Get |
( |
const std::string & |
name, |
|
|
std::list< std::string > & |
value | |
|
) |
| | |
| bool ConfigImpl::Get |
( |
const std::string & |
name, |
|
|
bool & |
value | |
|
) |
| | [virtual] |
| bool ConfigImpl::Get |
( |
const std::string & |
name, |
|
|
int & |
value | |
|
) |
| | [virtual] |
| bool ConfigImpl::Get |
( |
const std::string & |
name, |
|
|
std::string & |
value | |
|
) |
| | [virtual] |
| std::string ConfigImpl::GetAsString |
( |
|
) |
[virtual] |
| bool ConfigImpl::IsLoaded |
( |
|
) |
[virtual] |
| void ConfigImpl::Load |
( |
std::string |
file |
) |
[virtual] |
| void ConfigImpl::Parse |
( |
std::string |
line |
) |
[virtual] |
| void ConfigImpl::ParseShellArgs |
( |
int |
argc, |
|
|
char ** |
argv | |
|
) |
| | [virtual] |
| void ConfigImpl::SetBool |
( |
std::string |
name, |
|
|
const bool & |
value | |
|
) |
| | [virtual] |
| void ConfigImpl::SetDefaultBool |
( |
const std::string & |
name, |
|
|
const bool & |
value | |
|
) |
| | [virtual] |
| void ConfigImpl::SetDefaultInt |
( |
const std::string & |
name, |
|
|
const int & |
value | |
|
) |
| | [virtual] |
| void ConfigImpl::SetDefaultString |
( |
const std::string & |
name, |
|
|
const std::string & |
value | |
|
) |
| | [virtual] |
| void ConfigImpl::SetInt |
( |
std::string |
name, |
|
|
const int & |
value | |
|
) |
| | [virtual] |
| void ConfigImpl::SetIntList |
( |
std::string |
name, |
|
|
const std::list< int > & |
value | |
|
) |
| | |
| void ConfigImpl::SetString |
( |
std::string |
name, |
|
|
const std::string & |
value | |
|
) |
| | [virtual] |
| void ConfigImpl::SetStringList |
( |
std::string |
name, |
|
|
const std::list< std::string > & |
value | |
|
) |
| | |
Friends And Related Function Documentation
The documentation for this class was generated from the following files: