#include <senf/Utils/Console/Config.hh>
The BundleMixin is used to define supplementary configuration objects for one specific configuration source. A BundleMixin is not a ConfigBundle since it has no public add()
member.
Definition at line 115 of file Config.hh.
Public Member Functions |
|
BundleMixin () | |
BundleMixin (DirectoryNode &root) | |
void | parse () |
Parse config file. |
|
void | parse (DirectoryNode &restrict) |
Parse config file under restrict. |
|
bool | complete () const |
true , if all nodes have been parsed |
|
bool | parsed (GenericNode &node) const |
true . if node has been parsed |
|
void | reset () |
Reset node parse info state. |
|
Protected Member Functions |
|
template<class Source > | |
Source & | add (boost::intrusive_ptr< Source > source) |
senf::console::detail::BundleMixin:: | ||||
BundleMixin | () | |||
Definition at line 114 of file Config.cci.
senf::console::detail::BundleMixin:: | ||||
BundleMixin | ( | DirectoryNode & | root | ) |
Definition at line 117 of file Config.cci.
Source & senf::console::detail::BundleMixin:: | ||||
add | ( | boost::intrusive_ptr< Source > | source | ) |
Definition at line 47 of file Config.cti.
bool senf::console::detail::BundleMixin:: | ||||
complete | () | |||
true
, if all nodes have been parsed
Definition at line 131 of file Config.cci.
void senf::console::detail::BundleMixin:: | ||||
parse | ( | DirectoryNode & | restrict | ) |
Parse config file under restrict.
Only nodes which are children of restrict are parsed.
Definition at line 126 of file Config.cci.
void senf::console::detail::BundleMixin:: | ||||
parse | () | |||
bool senf::console::detail::BundleMixin:: | ||||
parsed | ( | GenericNode & | node | ) |
true
. if node has been parsed
Definition at line 137 of file Config.cci.
void senf::console::detail::BundleMixin:: | ||||
reset | () | |||
Reset node parse info state.
After a call to reset(), all information about already parsed nodes is cleared. Calling parse() will parse the complete config file again.
Definition at line 143 of file Config.cci.