Public Types | |
enum | MultipleEntryType { variant, array } |
Public Member Functions | |
Entry () | |
Entry (const std::vector< std::string > &Path, const std::string &Name, const std::string &Value) | |
void | split_different_values () |
unsigned int | memory_consumption () const |
Public Attributes | |
std::vector< std::string > | subsection_path |
std::string | entry_name |
std::string | entry_value |
std::vector< std::string > | different_values |
MultipleEntryType | type |
An object in the list of entries with multiple values.
MultipleParameterLoop::Entry::Entry | ( | ) | [inline] |
Constructor
MultipleParameterLoop::Entry::Entry | ( | const std::vector< std::string > & | Path, | |
const std::string & | Name, | |||
const std::string & | Value | |||
) |
Construct an object with given subsection path, name and value. The splitting up into the different variants is done later by split_different_values
.
void MultipleParameterLoop::Entry::split_different_values | ( | ) |
Split the entry value into the different branches.
Determine an estimate for the memory consumption (in bytes) of this object.
std::vector<std::string> MultipleParameterLoop::Entry::subsection_path |
Path to variant entry.
std::string MultipleParameterLoop::Entry::entry_name |
Name of entry.
std::string MultipleParameterLoop::Entry::entry_value |
Original variant value.
std::vector<std::string> MultipleParameterLoop::Entry::different_values |
List of entry values constructed out of what was given in the input file (that is stored in EntryValue.
Store whether this entry is a variant entry or an array.