Public Member Functions

data_accessor_with_key< KeyType, DataType > Class Template Reference

A proxy class for accessing data with key type and key object dispatch. Only used internally in ViennaData. More...

#include <api.hpp>

Public Member Functions

 data_accessor_with_key (KeyType const &key)
template<typename ObjectType >
DataType & operator() (ObjectType const &el)

Detailed Description

template<typename KeyType, typename DataType>
class viennadata::data_accessor_with_key< KeyType, DataType >

A proxy class for accessing data with key type and key object dispatch. Only used internally in ViennaData.

Template Parameters:
KeyType Type of the key
DataType Type of the data

Constructor & Destructor Documentation

data_accessor_with_key ( KeyType const &  key  )  [inline]

Member Function Documentation

DataType& operator() ( ObjectType const &  el  )  [inline]

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