Public Member Functions

VDRIVE::RSCacheNode Class Reference

#include <RSCache.h>

Inheritance diagram for VDRIVE::RSCacheNode:
Inheritance graph
[legend]
Collaboration diagram for VDRIVE::RSCacheNode:
Collaboration graph
[legend]

List of all members.

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)

Detailed Description

This class represents a Node in a RSCache.

Author:
Sascha Effert <fermat@uni-paderborn.de>

Constructor & Destructor Documentation

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).

Parameters:
depththe depth of the SubCache
See also:
RSCache::createInstance

Member Function Documentation

std::pair< const int32_t, mpq_class * > * RSCacheNode::getHighValue ( int32_t *  query ) [virtual]
std::pair< const int32_t, mpq_class * > * RSCacheNode::getLowValue ( int32_t *  query ) [virtual]
mpq_class * RSCacheNode::getValue ( int32_t *  query ) [virtual]
See also:
RSCache::getValue

Implements VDRIVE::RSCache.

void RSCacheNode::setValue ( int32_t *  query,
mpq_class &  value 
) [virtual]

The documentation for this class was generated from the following files: