Wrapper: Access vector-valued data for elements per segment. More...
#include <data_accessor.hpp>
Public Member Functions | |
segment_vector_data_accessor (KeyType const &k) | |
std::string | operator() (ElementType const &element, std::size_t segment_id) const |
void | operator() (ElementType const &element, std::size_t segment_id, std::size_t k, double value) const |
data_accessor_interface < ElementType > * | clone () const |
Wrapper: Access vector-valued data for elements per segment.
ElementType | The ViennaGrid n-cell type | |
KeyType | The ViennaData key type | |
DataType | The ViennaData data (value) type. Must provide operator[] taking the segment ID. |
segment_vector_data_accessor | ( | KeyType const & | k | ) | [inline] |
data_accessor_interface<ElementType>* clone | ( | ) | const [inline, virtual] |
Implements data_accessor_interface< ElementType >.
std::string operator() | ( | ElementType const & | element, | |
std::size_t | segment_id | |||
) | const [inline, virtual] |
Implements data_accessor_interface< ElementType >.
void operator() | ( | ElementType const & | element, | |
std::size_t | segment_id, | |||
std::size_t | k, | |||
double | value | |||
) | const [inline, virtual] |
Implements data_accessor_interface< ElementType >.