Pol  Revision:cb584c9
Pol::Clib::ConfigSection Class Reference

#include <cfgsect.h>

Public Member Functions

 ConfigSection (ConfigFile &cf, const std::string &sectname, unsigned flags=CST_MANDATORY|CST_UNIQUE)
 ~ConfigSection () noexcept(false)
bool matches (const ConfigElem &elem)
ConfigSectionoperator= (const ConfigSection &)

Private Attributes

unsigned _flags
bool _found
std::string _sectname

Detailed Description

Definition at line 23 of file cfgsect.h.

Constructor & Destructor Documentation

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_.

Pol::Clib::ConfigSection::~ConfigSection ( )

Member Function Documentation

ConfigSection& Pol::Clib::ConfigSection::operator= ( const ConfigSection )

Definition at line 29 of file cfgsect.h.

References matches().

Member Data Documentation

ConfigFile& Pol::Clib::ConfigSection::_cf

Definition at line 33 of file cfgsect.h.

Referenced by ConfigSection(), and ~ConfigSection().

unsigned Pol::Clib::ConfigSection::_flags

Definition at line 36 of file cfgsect.h.

Referenced by matches(), and ~ConfigSection().

bool Pol::Clib::ConfigSection::_found

Definition at line 35 of file cfgsect.h.

Referenced by matches(), and ~ConfigSection().

std::string Pol::Clib::ConfigSection::_sectname

Definition at line 34 of file cfgsect.h.

Referenced by matches(), and ~ConfigSection().

The documentation for this class was generated from the following files: