Flow123d  release_2.2.0-914-gf1a3a4f
Public Types | Public Member Functions | Public Attributes | List of all members
Input::Type::Selection::SelectionData Class Reference

Internal data class. More...

Collaboration diagram for Input::Type::Selection::SelectionData:
Collaboration graph
[legend]

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< Keykeys_
 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...
 

Detailed Description

Internal data class.

Stores data of the Selection.

Definition at line 211 of file type_selection.hh.

Member Typedef Documentation

Container-like access to the map of valid value name to index.

Definition at line 228 of file type_selection.hh.

Container-like access to the map of valid value to index.

Definition at line 233 of file type_selection.hh.

Constructor & Destructor Documentation

Input::Type::Selection::SelectionData::SelectionData ( const string &  name)

Constructor.

Definition at line 180 of file type_selection.cc.

Member Function Documentation

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.

Member Data Documentation

bool Input::Type::Selection::SelectionData::closed_
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.

std::map<KeyHash, unsigned int> Input::Type::Selection::SelectionData::key_to_index_

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.


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