Public Member Functions

data_accessor_interface< ElementType > Class Template Reference

The interface for all data accessor wrappers. Uses type erasure to wrap the templated wrappers into a single container. More...

#include <data_accessor.hpp>

Inheritance diagram for data_accessor_interface< ElementType >:
global_scalar_data_accessor< ElementType, KeyType, DataType > global_vector_data_accessor< ElementType, KeyType, DataType > segment_scalar_data_accessor< ElementType, KeyType, DataType > segment_vector_data_accessor< ElementType, KeyType, DataType >

Public Member Functions

virtual std::string operator() (ElementType const &element, std::size_t segment_id) const =0
virtual void operator() (ElementType const &element, std::size_t segment_id, std::size_t k, double value) const =0
virtual
data_accessor_interface
< ElementType > * 
clone () const =0
virtual ~data_accessor_interface ()

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

virtual ~data_accessor_interface (  )  [inline, virtual]

Member Function Documentation

virtual void operator() ( ElementType const &  element,
std::size_t  segment_id,
std::size_t  k,
double  value 
) const [pure virtual]

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