MADNESS 0.10.1
|
Cache value container. More...
Public Member Functions | |
CacheData () | |
Default constructor. | |
CacheData (const madness::Future< valueT > &value) | |
Constructor with future initialization. | |
CacheData (const valueT &value) | |
Constructor with data initialization. | |
virtual | ~CacheData () |
Virtual destructor. | |
const madness::Future< valueT > & | value () const |
Data accessor. | |
![]() | |
virtual | ~Cache () |
Virtual destructor. | |
template<typename valueT > | |
const madness::Future< valueT > & | get () const |
Cache data accessor. | |
Private Member Functions | |
virtual const std::type_info & | get_type_info () const |
Typeid accessor of the derived class. | |
Private Attributes | |
madness::Future< valueT > | value_ |
Local cached data. | |
Cache value container.
valueT | The data type stored in the cache |
|
inline |
Default constructor.
|
inline |
Constructor with future initialization.
|
inline |
Constructor with data initialization.
|
inlinevirtual |
Virtual destructor.
|
inlineprivatevirtual |
Typeid accessor of the derived class.
Implements madness::detail::DistCache< keyT >::Cache.
|
inline |
Data accessor.
References madness::detail::DistCache< keyT >::CacheData< valueT >::value_.
|
private |
Local cached data.
Referenced by madness::detail::DistCache< keyT >::CacheData< valueT >::value().