The interface for all data accessor wrappers. Uses type erasure to wrap the templated wrappers into a single container.
More...
#include <data_accessor.hpp>
Detailed Description
template<typename ElementType>
class viennagrid::io::data_accessor_interface< ElementType >
The interface for all data accessor wrappers. Uses type erasure to wrap the templated wrappers into a single container.
- Template Parameters:
-
| ElementType | Type of the n-cell for which the quantity should be accessed. |
Constructor & Destructor Documentation
Member Function Documentation
Implemented in global_scalar_data_accessor< ElementType, KeyType, DataType >, global_vector_data_accessor< ElementType, KeyType, DataType >, segment_scalar_data_accessor< ElementType, KeyType, DataType >, and segment_vector_data_accessor< ElementType, KeyType, DataType >.
virtual std::string operator() |
( |
ElementType const & |
element, |
|
|
std::size_t |
segment_id | |
|
) |
| | const [pure virtual] |
Implemented in global_scalar_data_accessor< ElementType, KeyType, DataType >, global_vector_data_accessor< ElementType, KeyType, DataType >, segment_scalar_data_accessor< ElementType, KeyType, DataType >, and segment_vector_data_accessor< ElementType, KeyType, DataType >.
virtual void operator() |
( |
ElementType const & |
element, |
|
|
std::size_t |
segment_id, |
|
|
std::size_t |
k, |
|
|
double |
value | |
|
) |
| | const [pure virtual] |
Implemented in global_scalar_data_accessor< ElementType, KeyType, DataType >, global_vector_data_accessor< ElementType, KeyType, DataType >, segment_scalar_data_accessor< ElementType, KeyType, DataType >, and segment_vector_data_accessor< ElementType, KeyType, DataType >.
The documentation for this class was generated from the following file:
- /export/development/ViennaGrid/release/ViennaGrid-1.0.0/viennagrid/io/data_accessor.hpp