Go to the source code of this file.
|
| class | ValueCache< T > |
| | ValueCache is a generic helper template to implement an unstructured data cache, where arbitrary result types can be placed in an n-dimensional space of real numbers. More...
|
| |
|
| template<typename T > |
| void | dataStore (std::ostream &stream, ValueCache< T > &c, void *context) |
| |
| template<typename T > |
| void | dataLoad (std::istream &stream, ValueCache< T > &c, void *context) |
| |
◆ dataLoad()
template<typename T >
| void dataLoad |
( |
std::istream & |
stream, |
|
|
ValueCache< T > & |
c, |
|
|
void * |
context |
|
) |
| |
|
inline |
Definition at line 311 of file ValueCache.h.
312{
315}
void loadHelper(std::istream &stream, P &data, void *context)
Scalar helper routine.
void rebuildTree()
rebuild the kd-tree from scratch and update the bounding box
std::vector< std::pair< std::vector< Real >, T > > _location_data
◆ dataStore()
template<typename T >
| void dataStore |
( |
std::ostream & |
stream, |
|
|
ValueCache< T > & |
c, |
|
|
void * |
context |
|
) |
| |
|
inline |