Flow123d  JS_before_hm-2182-g6dfc51a91
Public Types | Public Member Functions | Protected Member Functions | Private Attributes | List of all members
Input::Tuple Class Reference

Accessor to the data with type Type::Tuple. More...

#include <accessors.hh>

Inheritance diagram for Input::Tuple:
Inheritance graph
[legend]
Collaboration diagram for Input::Tuple:
Collaboration graph
[legend]

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

Detailed Description

Accessor to the data with type Type::Tuple.

Definition at line 411 of file accessors.hh.

Member Typedef Documentation

◆ InputType

Definition at line 413 of file accessors.hh.

Constructor & Destructor Documentation

◆ Tuple() [1/3]

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.

◆ Tuple() [2/3]

Input::Tuple::Tuple ( const Tuple tpl)

Copy constructor.

Definition at line 214 of file accessors.cc.

◆ Tuple() [3/3]

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.

Member Function Documentation

◆ get_type_key_iterator()

Type::Record::KeyIter Input::Tuple::get_type_key_iterator ( const string &  key) const
overrideprotectedvirtual

Return iterator to Type::Tuple key of given name.

Reimplemented from Input::Record.

Definition at line 237 of file accessors.cc.

◆ input_type_name()

string Input::Tuple::input_type_name ( )
overridevirtual

Get name of tuple_type_

Reimplemented from Input::Record.

Definition at line 231 of file accessors.cc.

Member Data Documentation

◆ tuple_type_

Input::Type::Tuple Input::Tuple::tuple_type_
private

Corresponding Type::Tuple object.

Definition at line 443 of file accessors.hh.


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