|
Pol
Rev 533
|
#include <cfgsect.h>
Collaboration diagram for ConfigSection:Public Member Functions | |
| ConfigSection (ConfigFile &cf, const std::string §name, unsigned flags=CST_MANDATORY|CST_UNIQUE) | |
| ~ConfigSection () | |
| bool | matches (const ConfigElem &elem) |
| ConfigSection & | operator= (const ConfigSection &) |
Private Attributes | |
| ConfigFile & | _cf |
| unsigned | _flags |
| bool | _found |
| std::string | _sectname |
| 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 ConfigFile::allowed_types_.
Definition at line 25 of file cfgsect.cpp.
References _cf, _flags, _found, _sectname, CST_MANDATORY, ConfigFile::display_error(), and ConfigFile::filename().
Here is the call graph for this function:| bool ConfigSection::matches | ( | const ConfigElem & | elem | ) |
Definition at line 35 of file cfgsect.cpp.
References _flags, _found, _sectname, CST_UNIQUE, ConfigElem::throw_error(), and ConfigElemBase::type_is().
Referenced by load_party_cfg(), load_repsys_cfg(), read_guilds_dat(), and read_party_dat().
Here is the call graph for this function:
Here is the caller graph for this function:| ConfigSection& ConfigSection::operator= | ( | const ConfigSection & | ) | [inline] |
ConfigFile& ConfigSection::_cf [private] |
Definition at line 29 of file cfgsect.h.
Referenced by ConfigSection(), and ~ConfigSection().
unsigned ConfigSection::_flags [private] |
Definition at line 32 of file cfgsect.h.
Referenced by matches(), and ~ConfigSection().
bool ConfigSection::_found [private] |
Definition at line 31 of file cfgsect.h.
Referenced by matches(), and ~ConfigSection().
std::string ConfigSection::_sectname [private] |
Definition at line 30 of file cfgsect.h.
Referenced by matches(), and ~ConfigSection().