Classes | |
struct | EntryContent |
Public Types | |
typedef std::map< std::string, EntryContent > | EntryType |
Public Member Functions | |
~Section () | |
unsigned int | accumulated_no_of_entries () const |
unsigned int | memory_consumption () const |
Public Attributes | |
EntryType | entries |
std::map< std::string, Section * > | subsections |
Whatever is in a section: map of entry names together with entry content and regexp, and list of subsections.
typedef std::map<std::string, EntryContent> ParameterHandler::Section::EntryType |
Typedef for a type describing all the entries in a subsection: this is a map from the entry keys to a pair of values, one for the default string and one describing the pattern that the entry must match.
ParameterHandler::Section::~Section | ( | ) |
Destructor
Number of entries that this section has plus all the non-subsection entries of all its decendents.
Determine an estimate for the memory consumption (in bytes) of this object. Since sometimes the size of objects can not be determined exactly (for example: what is the memory consumption of an STL std::map
type with a certain number of elements?), this is only an estimate. however often quite close to the true value.
List of entries for this section.
std::map<std::string, Section*> ParameterHandler::Section::subsections |
List of subsections of this section.