OP_Cache Class Reference

#include <OP_Cache.h>

Inheritance diagram for OP_Cache:

UT_Pointers

List of all members.

Public Member Functions

 OP_Cache ()
 OP_Cache (void *client, const char *cop_name, const char *cache_name, OP_Cache_Del_Func del_func)
 OP_Cache (const OP_Cache &source)
 ~OP_Cache ()
void setName (const char *copname, const char *cachename)
void setFunctions (void *client, OP_Cache_Del_Func del_func)
void setSize (short size)
short getSize (void) const
void * getData (OP_Context &)
void * getDataEval (OP_Context &, OP_Cache_Eval_Func)
void putData (void *data, OP_Context &c, OP_CacheOptions o=OP_CACHE_KEEP)
void * stealData (void *, OP_Cache_Copy_Func)
int ownsData (void *)
void clear ()
void print (FILE *)
OP_CacheInfogetInfo ()
const void * getDataPtr (int slot)
const OP_ContextgetContextPtr (int slot)


Detailed Description

Definition at line 34 of file OP_Cache.h.


Constructor & Destructor Documentation

OP_Cache::OP_Cache (  ) 

OP_Cache::OP_Cache ( void *  client,
const char *  cop_name,
const char *  cache_name,
OP_Cache_Del_Func  del_func 
)

OP_Cache::OP_Cache ( const OP_Cache source  ) 

OP_Cache::~OP_Cache (  ) 


Member Function Documentation

void OP_Cache::clear (  ) 

Reimplemented from UT_Pointers.

const OP_Context* OP_Cache::getContextPtr ( int  slot  ) 

void* OP_Cache::getData ( OP_Context  ) 

void* OP_Cache::getDataEval ( OP_Context ,
OP_Cache_Eval_Func   
)

const void* OP_Cache::getDataPtr ( int  slot  ) 

OP_CacheInfo* OP_Cache::getInfo (  ) 

short OP_Cache::getSize ( void   )  const [inline]

Reimplemented from UT_Pointers.

Definition at line 50 of file OP_Cache.h.

int OP_Cache::ownsData ( void *   ) 

void OP_Cache::print ( FILE *   ) 

void OP_Cache::putData ( void *  data,
OP_Context c,
OP_CacheOptions  o = OP_CACHE_KEEP 
)

void OP_Cache::setFunctions ( void *  client,
OP_Cache_Del_Func  del_func 
)

void OP_Cache::setName ( const char *  copname,
const char *  cachename 
)

void OP_Cache::setSize ( short  size  ) 

void* OP_Cache::stealData ( void *  ,
OP_Cache_Copy_Func   
)


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

Generated on Fri May 25 00:10:32 2012 for HDK by  doxygen 1.5.9