|
Pol
Revision:cb584c9
|
#include <cfgsect.h>
Public Member Functions | |
| ConfigSection (ConfigFile &cf, const std::string §name, unsigned flags=CST_MANDATORY|CST_UNIQUE) | |
| ~ConfigSection () noexcept(false) | |
| bool | matches (const ConfigElem &elem) |
| ConfigSection & | operator= (const ConfigSection &) |
Private Attributes | |
| ConfigFile & | _cf |
| unsigned | _flags |
| bool | _found |
| std::string | _sectname |
| Pol::Clib::ConfigSection::ConfigSection | ( | ConfigFile & | cf, |
| const std::string & | sectname, | ||
| unsigned | flags = CST_MANDATORY | CST_UNIQUE |
||
| ) |
Definition at line 16 of file cfgsect.cpp.
References _cf, and Pol::Clib::ConfigFile::allowed_types_.
|
noexcept |
Definition at line 22 of file cfgsect.cpp.
References _cf, _flags, _found, _sectname, Pol::Clib::CST_MANDATORY, Pol::Clib::ConfigFile::display_error(), and Pol::Clib::ConfigFile::filename().
| bool Pol::Clib::ConfigSection::matches | ( | const ConfigElem & | elem | ) |
Definition at line 32 of file cfgsect.cpp.
References _flags, _found, _sectname, Pol::Clib::CST_UNIQUE, Pol::Clib::ConfigElem::throw_error(), and Pol::Clib::ConfigElemBase::type_is().
Referenced by Pol::Core::load_party_cfg(), Pol::Core::load_repsys_cfg(), operator=(), Pol::Core::read_guilds_dat(), and Pol::Core::read_party_dat().
|
inline |
|
private |
Definition at line 33 of file cfgsect.h.
Referenced by ConfigSection(), and ~ConfigSection().
|
private |
Definition at line 36 of file cfgsect.h.
Referenced by matches(), and ~ConfigSection().
|
private |
Definition at line 35 of file cfgsect.h.
Referenced by matches(), and ~ConfigSection().
|
private |
Definition at line 34 of file cfgsect.h.
Referenced by matches(), and ~ConfigSection().