HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
OP_Cache Class Reference

#include <OP_Cache.h>

+ Inheritance diagram for OP_Cache:

Public Member Functions

 OP_Cache (OP_Node *client, const char *cop_name, const char *cache_name)
 
virtual ~OP_Cache ()
 
void setSize (int size)
 
int getSize () const
 
voidgetData (OP_Context &context)
 
void putData (void *data, OP_Context &c)
 
void updateContextDeps (const DEP_ContextOptionDeps &deps)
 
bool ownsData (void *)
 
void clear ()
 
void print (FILE *)
 
const voidgetDataPtr (int idx)
 
const OP_ContextgetContextPtr (int idx)
 
virtual int64 getMemoryUsage (bool inclusive) const
 

Additional Inherited Members

- Protected Member Functions inherited from UT_NonCopyableNS::UT_NonCopyable
 UT_NonCopyable ()=default
 
 ~UT_NonCopyable ()=default
 
 UT_NonCopyable (const UT_NonCopyable &)=delete
 
UT_NonCopyableoperator= (const UT_NonCopyable &)=delete
 

Detailed Description

Definition at line 14 of file OP_Cache.h.

Constructor & Destructor Documentation

OP_Cache::OP_Cache ( OP_Node client,
const char *  cop_name,
const char *  cache_name 
)
virtual OP_Cache::~OP_Cache ( )
virtual

Member Function Documentation

void OP_Cache::clear ( )
const OP_Context* OP_Cache::getContextPtr ( int  idx)
void* OP_Cache::getData ( OP_Context context)
const void* OP_Cache::getDataPtr ( int  idx)
virtual int64 OP_Cache::getMemoryUsage ( bool  inclusive) const
inlinevirtual

Definition at line 39 of file OP_Cache.h.

int OP_Cache::getSize ( ) const
inline

Definition at line 23 of file OP_Cache.h.

bool OP_Cache::ownsData ( void )
void OP_Cache::print ( FILE *  )
void OP_Cache::putData ( void data,
OP_Context c 
)
void OP_Cache::setSize ( int  size)
void OP_Cache::updateContextDeps ( const DEP_ContextOptionDeps deps)

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