ViennaGrid - The Vienna Grid Library
2.1.0
|
A dynamic accessor class which wraps any user accessor type fulfilling the field concept. More...
#include <accessor.hpp>
Public Types | |
typedef BaseFieldType::access_type | access_type |
typedef base_dynamic_field < typename FieldType::value_type, AccessType > | BaseFieldType |
typedef BaseFieldType::const_pointer | const_pointer |
typedef BaseFieldType::const_reference | const_reference |
typedef BaseFieldType::pointer | pointer |
typedef BaseFieldType::reference | reference |
typedef BaseFieldType::value_type | value_type |
Public Member Functions | |
virtual reference | at (access_type const &element) |
virtual const_reference | at (access_type const &element) const |
dynamic_field_wrapper (FieldType field_) | |
virtual pointer | find (access_type const &element) |
virtual const_pointer | find (access_type const &element) const |
virtual reference | operator() (access_type const &element) |
virtual const_reference | operator() (access_type const &element) const |
A dynamic accessor class which wraps any user accessor type fulfilling the field concept.
Used within IO reader/writers to store different accessors for data on vertices and cells inside a single container.
Reimplemented from base_dynamic_field< FieldType::value_type, AccessType >.
typedef base_dynamic_field< typename FieldType::value_type, AccessType > BaseFieldType |
Reimplemented from base_dynamic_field< FieldType::value_type, AccessType >.
Reimplemented from base_dynamic_field< FieldType::value_type, AccessType >.
typedef BaseFieldType::pointer pointer |
Reimplemented from base_dynamic_field< FieldType::value_type, AccessType >.
typedef BaseFieldType::reference reference |
Reimplemented from base_dynamic_field< FieldType::value_type, AccessType >.
typedef BaseFieldType::value_type value_type |
Reimplemented from base_dynamic_field< FieldType::value_type, AccessType >.
dynamic_field_wrapper | ( | FieldType | field_ | ) | [inline] |
virtual reference at | ( | access_type const & | element | ) | [inline, virtual] |
virtual const_reference at | ( | access_type const & | element | ) | const [inline, virtual] |
virtual pointer find | ( | access_type const & | element | ) | [inline, virtual] |
Reimplemented from base_dynamic_field< FieldType::value_type, AccessType >.
virtual const_pointer find | ( | access_type const & | element | ) | const [inline, virtual] |
Reimplemented from base_dynamic_field< FieldType::value_type, AccessType >.
virtual reference operator() | ( | access_type const & | element | ) | [inline, virtual] |
virtual const_reference operator() | ( | access_type const & | element | ) | const [inline, virtual] |