Public Member Functions

data_accessor_wrapper< ElementType > Class Template Reference

The final wrapper class for IO implementations. Provides a uniform type for all quantity types on a n-cell. More...

#include <data_accessor.hpp>

Public Member Functions

template<typename T >
 data_accessor_wrapper (T const *t)
 data_accessor_wrapper ()
 data_accessor_wrapper (const data_accessor_wrapper &other)
data_accessor_wrapperoperator= (data_accessor_wrapper const &other)
std::string operator() (ElementType const &element, std::size_t segment_id=0) const
void operator() (ElementType const &element, std::size_t segment_id, std::size_t k, double value) const
data_accessor_interface
< ElementType > * 
clone () const

Detailed Description

template<typename ElementType>
class viennagrid::io::data_accessor_wrapper< ElementType >

The final wrapper class for IO implementations. Provides a uniform type for all quantity types on a n-cell.

Template Parameters:
ElementType Type of the n-cell

Constructor & Destructor Documentation

data_accessor_wrapper ( T const *  t  )  [inline]
data_accessor_wrapper (  )  [inline]
data_accessor_wrapper ( const data_accessor_wrapper< ElementType > &  other  )  [inline]

Member Function Documentation

data_accessor_interface<ElementType>* clone (  )  const [inline]
std::string operator() ( ElementType const &  element,
std::size_t  segment_id = 0 
) const [inline]
void operator() ( ElementType const &  element,
std::size_t  segment_id,
std::size_t  k,
double  value 
) const [inline]
data_accessor_wrapper& operator= ( data_accessor_wrapper< ElementType > const &  other  )  [inline]

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