Public Member Functions

VDRIVE::RSCacheLeaf Class Reference

#include <RSCache.h>

Inheritance diagram for VDRIVE::RSCacheLeaf:
Inheritance graph
[legend]
Collaboration diagram for VDRIVE::RSCacheLeaf:
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 ~RSCacheLeaf ()
 RSCacheLeaf ()

Detailed Description

This class represents a Leaf in a RSCache.

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

Constructor & Destructor Documentation

RSCacheLeaf::~RSCacheLeaf (  ) [virtual]

destructor.

VDRIVE::RSCacheLeaf::RSCacheLeaf (  ) [inline]

Create a new Leaf (A SubCache of depth 1). Should not be used by users of a RSCache. The instanciation of a cache sould be done using RSCache::createInstance(int32_t depth).

See also:
RSCache::createInstance

Member Function Documentation

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

Implements VDRIVE::RSCache.

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

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