Flow123d
release_2.2.0-914-gf1a3a4f
|
Internal data class. More...
Public Types | |
typedef std::map< KeyHash, unsigned int >::const_iterator | key_to_index_const_iter |
Container-like access to the map of valid value name to index. More... | |
typedef std::map< int, unsigned int >::const_iterator | value_to_index_const_iter |
Container-like access to the map of valid value to index. More... | |
Public Member Functions | |
SelectionData (const string &name) | |
Constructor. More... | |
void | add_value (const int value, const std::string &key, const std::string &description, TypeBase::attribute_map attributes) |
Inster new value to the Selection. More... | |
Public Attributes | |
string | type_name_ |
Name of the Selection. More... | |
std::map< KeyHash, unsigned int > | key_to_index_ |
Map : valid value name to index. More... | |
std::map< int, unsigned int > | value_to_index_ |
Map : valid value to index. More... | |
std::vector< Key > | keys_ |
Vector of values of the Selection. More... | |
std::string | description_ |
Text description of the whole Selection object. More... | |
bool | closed_ |
Indicator of closed Selection. More... | |
FinishStatus | finish_status_ |
Indicator of finished Selection. More... | |
Internal data class.
Stores data of the Selection.
Definition at line 211 of file type_selection.hh.
typedef std::map<KeyHash, unsigned int>::const_iterator Input::Type::Selection::SelectionData::key_to_index_const_iter |
Container-like access to the map of valid value name to index.
Definition at line 228 of file type_selection.hh.
typedef std::map<int, unsigned int>::const_iterator Input::Type::Selection::SelectionData::value_to_index_const_iter |
Container-like access to the map of valid value to index.
Definition at line 233 of file type_selection.hh.
Input::Type::Selection::SelectionData::SelectionData | ( | const string & | name | ) |
Constructor.
Definition at line 180 of file type_selection.cc.
void Input::Type::Selection::SelectionData::add_value | ( | const int | value, |
const std::string & | key, | ||
const std::string & | description, | ||
TypeBase::attribute_map | attributes | ||
) |
Inster new value to the Selection.
Definition at line 186 of file type_selection.cc.
|
mutable |
Indicator of closed Selection.
Definition at line 242 of file type_selection.hh.
std::string Input::Type::Selection::SelectionData::description_ |
Text description of the whole Selection object.
Definition at line 239 of file type_selection.hh.
FinishStatus Input::Type::Selection::SelectionData::finish_status_ |
Indicator of finished Selection.
Definition at line 245 of file type_selection.hh.
Map : valid value name to index.
Definition at line 226 of file type_selection.hh.
std::vector<Key> Input::Type::Selection::SelectionData::keys_ |
Vector of values of the Selection.
Definition at line 236 of file type_selection.hh.
string Input::Type::Selection::SelectionData::type_name_ |
Name of the Selection.
Definition at line 223 of file type_selection.hh.
std::map<int, unsigned int> Input::Type::Selection::SelectionData::value_to_index_ |
Map : valid value to index.
Definition at line 231 of file type_selection.hh.