#include <descriptiveConfiguration.hpp>
|
| DescriptiveConfiguration (const char *sectionName_, const char *logParent_, const char *logName_, const serialize::StructDescriptionBase *descr_) |
|
void | setBasePtr (void *baseptr_) |
|
virtual | ~DescriptiveConfiguration () |
|
virtual const char * | className () const |
|
bool | parse (const config::ConfigurationNode &pt, const std::string &node, const module::ModulesDirectory *) |
| Parse the configuration section. More...
|
|
bool | check () const |
|
virtual void | print (std::ostream &os, size_t indent=0) const |
|
| NamedConfiguration (const char *sectionName_, const char *logParent_, const char *logPrefix_) |
| Class constructor. More...
|
|
virtual | ~NamedConfiguration () |
|
| ConfigurationBase (const char *sectionName_, const char *logParent_, const char *logName_) |
|
virtual | ~ConfigurationBase () |
|
const std::string & | sectionName () const |
| The display string (name) for the configuration section. More...
|
|
const std::string & | logPrefix () const |
|
virtual void | setCanonicalPathes (const std::string &) |
|
_Wolframe::serialize::DescriptiveConfiguration::DescriptiveConfiguration |
( |
const char * |
sectionName_, |
|
|
const char * |
logParent_, |
|
|
const char * |
logName_, |
|
|
const serialize::StructDescriptionBase * |
descr_ |
|
) |
| |
|
inline |
virtual _Wolframe::serialize::DescriptiveConfiguration::~DescriptiveConfiguration |
( |
| ) |
|
|
inlinevirtual |
bool _Wolframe::serialize::DescriptiveConfiguration::check |
( |
| ) |
const |
|
inlinevirtual |
Check if the server configuration makes sense
Be aware that this function does NOT test if the configuration can be used. It only tests if it MAY be valid. This function will log errors / warnings
- Returns
- true if the configuration has no errors, false otherwise
Reimplemented from _Wolframe::config::ConfigurationBase.
virtual const char* _Wolframe::serialize::DescriptiveConfiguration::className |
( |
| ) |
const |
|
inlinevirtual |
Parse the configuration section.
- Parameters
-
[in] | pt | property tree node |
[in] | node | the label of the node. It should be the same (case insensitive) as it->first |
Implements _Wolframe::config::ConfigurationBase.
virtual void _Wolframe::serialize::DescriptiveConfiguration::print |
( |
std::ostream & |
os, |
|
|
size_t |
indent = 0 |
|
) |
| const |
|
inlinevirtual |
Print the configuration This function is supposed to print the running configuration, this means all the configuration parameters, not only those that were set in the configuration file.
- Parameters
-
[in] | os | stream to use for printing |
[in] | indent | print indented with this number of spaces |
Implements _Wolframe::config::ConfigurationBase.
void _Wolframe::serialize::DescriptiveConfiguration::setBasePtr |
( |
void * |
baseptr_ | ) |
|
|
inline |
void* _Wolframe::serialize::DescriptiveConfiguration::m_baseptr |
|
private |
const std::string _Wolframe::serialize::DescriptiveConfiguration::m_classname |
|
private |
The documentation for this class was generated from the following file: