#include <SLConfig.hpp>
Collaboration diagram for SLConfig:
Public Member Functions | |
SLConfig () | |
const SLString & | get (const SLString &varName) const throw (SLConfig::NotFoundException) |
void | set (const SLString &varName, const SLString &value) |
void | humanListing (std::ostream &out) const |
Protected Attributes | |
boost::shared_ptr< Data > | _shared_ptr |
SLConfig uses shared_ptr, see the Library section for details.
|
The default constructor builds an *empty* container. |
|
Returns the value of a given config variable. |
|
This function is mainly for debug purpose and list the config content on the given iostream (std::cout or std::cerr for example). |
|
Sets the value of a given config variable. |
|
This variable holds the various config data in an efficient and memory leaks proof way. |