Flow123d
DF_patch_fe_data_tables-3c41206
|
Accessor to the data with type Type::Tuple
.
More...
#include <accessors.hh>
Public Types | |
typedef ::Input::Type::Tuple | InputType |
Public Types inherited from Input::Record | |
typedef ::Input::Type::Record | InputType |
Public Member Functions | |
Tuple () | |
Tuple (const Tuple &tpl) | |
Tuple (const Address &address, const Type::Tuple type) | |
string | input_type_name () override |
Public Member Functions inherited from Input::Record | |
Record () | |
Record (const Record &rec) | |
Record (const Address &address, const Type::Record type) | |
template<class Ret > | |
const Ret | val (const string &key) const |
template<class Ret > | |
const Ret | val (const string &key, const Ret default_val) const |
template<class Ret > | |
Iterator< Ret > | find (const string &key) const |
template<class Ret > | |
bool | opt_val (const string &key, Ret &value) const |
bool | is_empty () const |
EI_Address | ei_address () const |
string | address_string () const |
Protected Member Functions | |
Type::Record::KeyIter | get_type_key_iterator (const string &key) const override |
Return iterator to Type::Tuple key of given name. More... | |
Protected Member Functions inherited from Input::Record | |
void | set_address (const Address &address) |
Private Attributes | |
Input::Type::Tuple | tuple_type_ |
Corresponding Type::Tuple object. More... | |
Additional Inherited Members | |
Protected Attributes inherited from Input::Record | |
Address | address_ |
Contains address and relationships with record ancestor. More... | |
Accessor to the data with type Type::Tuple
.
Definition at line 411 of file accessors.hh.
typedef ::Input::Type::Tuple Input::Tuple::InputType |
Definition at line 413 of file accessors.hh.
Input::Tuple::Tuple | ( | ) |
Default constructor.
Constructor uses empty Address which causes error in program, Address has to be filled.
Definition at line 206 of file accessors.cc.
Input::Tuple::Tuple | ( | const Tuple & | tpl | ) |
Copy constructor.
Definition at line 214 of file accessors.cc.
Input::Tuple::Tuple | ( | const Address & | address, |
const Type::Tuple | type | ||
) |
Constructs the accessor providing pointer store
to storage node with list of data of the tuple and type specification of the tuple given by parameter type
.
Definition at line 222 of file accessors.cc.
|
overrideprotectedvirtual |
Return iterator to Type::Tuple key of given name.
Reimplemented from Input::Record.
Definition at line 237 of file accessors.cc.
|
overridevirtual |
Get name of tuple_type_
Reimplemented from Input::Record.
Definition at line 231 of file accessors.cc.
|
private |
Corresponding Type::Tuple object.
Definition at line 443 of file accessors.hh.