#include <Block.hxx>
Definition at line 54 of file Block.hxx.
◆ ConfigBlock() [1/2]
ConfigBlock::ConfigBlock |
( |
int |
_line = -1 | ) |
|
|
inlineexplicit |
◆ ConfigBlock() [2/2]
◆ ~ConfigBlock()
ConfigBlock::~ConfigBlock |
( |
| ) |
|
◆ AddBlockParam()
gcc_nonnull_all void ConfigBlock::AddBlockParam |
( |
const char * |
_name, |
|
|
const char * |
_value, |
|
|
int |
_line = -1 |
|
) |
| |
|
inline |
◆ GetBlockParam()
◆ GetBlockValue() [1/4]
gcc_pure const char* ConfigBlock::GetBlockValue |
( |
const char * |
name, |
|
|
const char * |
default_value = nullptr |
|
) |
| const |
|
noexcept |
◆ GetBlockValue() [2/4]
int ConfigBlock::GetBlockValue |
( |
const char * |
name, |
|
|
int |
default_value |
|
) |
| const |
◆ GetBlockValue() [3/4]
unsigned ConfigBlock::GetBlockValue |
( |
const char * |
name, |
|
|
unsigned |
default_value |
|
) |
| const |
◆ GetBlockValue() [4/4]
bool ConfigBlock::GetBlockValue |
( |
const char * |
name, |
|
|
bool |
default_value |
|
) |
| const |
◆ GetPath()
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.
◆ IsEmpty()
gcc_pure bool ConfigBlock::IsEmpty |
( |
| ) |
const |
|
inlinenoexcept |
◆ IsNull()
bool ConfigBlock::IsNull |
( |
| ) |
const |
|
inlinenoexcept |
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 85 of file Block.hxx.
◆ operator=()
◆ block_params
◆ line
◆ next
The next ConfigBlock with the same name.
The destructor deletes the whole chain.
Definition at line 59 of file Block.hxx.
◆ used
This flag is false when nobody has queried the value of this option yet.
Definition at line 69 of file Block.hxx.
The documentation for this struct was generated from the following file: