ParameterHandler::Section Struct Reference

List of all members.

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

Detailed Description

Whatever is in a section: map of entry names together with entry content and regexp, and list of subsections.


Member Typedef Documentation

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.


Constructor & Destructor Documentation

ParameterHandler::Section::~Section (  ) 

Destructor


Member Function Documentation

unsigned int ParameterHandler::Section::accumulated_no_of_entries (  )  const

Number of entries that this section has plus all the non-subsection entries of all its decendents.

unsigned int ParameterHandler::Section::memory_consumption (  )  const

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.


Member Data Documentation

List of entries for this section.

List of subsections of this section.


The documentation for this struct was generated from the following file:

deal.II documentation generated on Mon Nov 23 22:57:58 2009 by doxygen 1.6.1