#include <Block.hxx>
Definition at line 57 of file Block.hxx.
ConfigBlock::ConfigBlock |
( |
int |
_line = -1 | ) |
|
|
inlineexplicit |
ConfigBlock::~ConfigBlock |
( |
| ) |
|
gcc_nonnull_all void ConfigBlock::AddBlockParam |
( |
const char * |
_name, |
|
|
const char * |
_value, |
|
|
int |
_line = -1 |
|
) |
| |
|
inline |
gcc_pure const char* ConfigBlock::GetBlockValue |
( |
const char * |
name, |
|
|
const char * |
default_value = nullptr |
|
) |
| const |
gcc_pure int ConfigBlock::GetBlockValue |
( |
const char * |
name, |
|
|
int |
default_value |
|
) |
| const |
gcc_pure unsigned ConfigBlock::GetBlockValue |
( |
const char * |
name, |
|
|
unsigned |
default_value |
|
) |
| const |
gcc_pure bool ConfigBlock::GetBlockValue |
( |
const char * |
name, |
|
|
bool |
default_value |
|
) |
| const |
AllocatedPath ConfigBlock::GetPath |
( |
const char * |
name, |
|
|
const char * |
default_value = nullptr |
|
) |
| const |
Same as config_get_path(), but looks up the setting in the specified block.
Throws #std::runtime_error on error.
gcc_pure bool ConfigBlock::IsEmpty |
( |
| ) |
const |
|
inline |
bool ConfigBlock::IsNull |
( |
| ) |
const |
|
inline |
Determine if this is a "null" instance, i.e.
an empty object that was synthesized and not loaded from a configuration file.
Definition at line 88 of file Block.hxx.
The next ConfigBlock with the same name.
The destructor deletes the whole chain.
Definition at line 62 of file Block.hxx.
This flag is false when nobody has queried the value of this option yet.
Definition at line 72 of file Block.hxx.
The documentation for this struct was generated from the following file: