MADNESS
0.10.1
|
Cache interface class. More...
Public Member Functions | |
virtual | ~Cache () |
Virtual destructor. More... | |
template<typename valueT > | |
const madness::Future< valueT > & | get () const |
Cache data accessor. More... | |
Private Member Functions | |
virtual const std::type_info & | get_type_info () const =0 |
Typeid accessor of the derived class. More... | |
Cache interface class.
This base class is used to access derived class values
|
inlinevirtual |
Virtual destructor.
|
inline |
Cache data accessor.
valueT | The cached data type |
References madness::detail::DistCache< keyT >::Cache::get_type_info(), and MADNESS_ASSERT.
|
privatepure virtual |
Typeid accessor of the derived class.
Implemented in madness::detail::DistCache< keyT >::CacheData< valueT >.
Referenced by madness::detail::DistCache< keyT >::Cache::get().