Class DataBufferCache

class DataBufferCache

Public Functions

bool isKeyCached(const std::string &key) const
bool isKeyCachedAndSameLength(const std::string &key, const size_t num_bytes) const
template<typename T>
void getDataForKey(const std::string &key, T *dest_buffer) const
template<typename T>
const T &getDataRefForKey(const std::string &key) const
template<typename T>
const T *getDataPtrForKey(const std::string &key) const
template<typename T>
void putDataForKey(const std::string &key, T *const data_buffer, const size_t num_elements)