ViennaGrid - The Vienna Grid Library  2.1.0
Public Types | Public Member Functions
dynamic_field_wrapper< FieldType, AccessType > Class Template Reference

A dynamic accessor class which wraps any user accessor type fulfilling the field concept. More...

#include <accessor.hpp>

Inheritance diagram for dynamic_field_wrapper< FieldType, AccessType >:
base_dynamic_field< FieldType::value_type, AccessType >

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

Detailed Description

template<typename FieldType, typename AccessType = typename FieldType::access_type>
class viennagrid::dynamic_field_wrapper< FieldType, AccessType >

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.


Member Typedef Documentation

typedef base_dynamic_field< typename FieldType::value_type, AccessType > BaseFieldType

Constructor & Destructor Documentation

dynamic_field_wrapper ( FieldType  field_) [inline]

Member Function Documentation

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]
virtual const_pointer find ( access_type const &  element) const [inline, virtual]
virtual reference operator() ( access_type const &  element) [inline, virtual]
virtual const_reference operator() ( access_type const &  element) const [inline, virtual]

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