Pol  Revision:3cfda13
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

ConfigFile_cf
 
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 ( )
noexcept

Member Function Documentation

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

Definition at line 29 of file cfgsect.h.

References matches().

Member Data Documentation

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

Definition at line 33 of file cfgsect.h.

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

unsigned Pol::Clib::ConfigSection::_flags
private

Definition at line 36 of file cfgsect.h.

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

bool Pol::Clib::ConfigSection::_found
private

Definition at line 35 of file cfgsect.h.

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

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

Definition at line 34 of file cfgsect.h.

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


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