Value Class Reference

Class representing objects that are stored in the cache. More...

#include <Value.h>

List of all members.

Public Member Functions

 Value (void *memoryPointer=NULL, unsigned size=0, unsigned flag=0, unsigned long long cas_id=0)
 Constructs value with the given data.
 Value (const std::string &s)
 Constructor for debug purposes only.
virtual ~Value ()
 Does nothing.
bool isNull ()
 Returns memoryPointer == NULL.
std::string toString ()
 Used in conjunction with Value(comst std::string &s) for debug purposes.

Public Attributes

void * memoryPointer
 pointer to the stored object
unsigned size
 size of the stored objects
unsigned flag
 flag stored along with the object
unsigned long long cas_id
 CAS ID associated with the object.


Detailed Description

Class representing objects that are stored in the cache.

Definition at line 14 of file Value.h.


Member Function Documentation

bool Value::isNull (  ) 

Returns memoryPointer == NULL.

Returns:
memoryPointer == NULL

Definition at line 23 of file Value.cpp.


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

Generated on Fri Jan 8 10:38:13 2010 for dreamcache by  doxygen 1.5.5