#include <RSCache.h>
Public Member Functions | |
virtual mpq_class * | getValue (int32_t *query) |
virtual std::pair< const int32_t, mpq_class * > * | getHighValue (int32_t *query) |
virtual std::pair< const int32_t, mpq_class * > * | getLowValue (int32_t *query) |
virtual void | setValue (int32_t *query, mpq_class &value) |
virtual | ~RSCacheNode () |
RSCacheNode (int32_t depth) |
This class represents a Node in a RSCache.
RSCacheNode::~RSCacheNode | ( | ) | [virtual] |
destructor.
VDRIVE::RSCacheNode::RSCacheNode | ( | int32_t | depth ) | [inline] |
Create a new node (A SubCache of given depth). Should not be used by users of a RSCache. The instanciation of a cache sould be done using RSCache::createInstance(int32_t depth).
depth | the depth of the SubCache |
std::pair< const int32_t, mpq_class * > * RSCacheNode::getHighValue | ( | int32_t * | query ) | [virtual] |
Implements VDRIVE::RSCache.
std::pair< const int32_t, mpq_class * > * RSCacheNode::getLowValue | ( | int32_t * | query ) | [virtual] |
Implements VDRIVE::RSCache.
mpq_class * RSCacheNode::getValue | ( | int32_t * | query ) | [virtual] |
Implements VDRIVE::RSCache.
void RSCacheNode::setValue | ( | int32_t * | query, |
mpq_class & | value | ||
) | [virtual] |
Implements VDRIVE::RSCache.