Ptex
|
One item in a cache, typically an open file or a block of memory. More...
#include <PtexCache.h>
Public Member Functions | |
bool | inuse () |
void | orphan () |
Static Public Member Functions | |
template<typename T > | |
static void | orphanList (T &list) |
Protected Member Functions | |
PtexLruItem (void **parent=0) | |
virtual | ~PtexLruItem () |
Private Attributes | |
void ** | _parent |
PtexLruItem * | _prev |
PtexLruItem * | _next |
Friends | |
class | PtexLruList |
One item in a cache, typically an open file or a block of memory.
Definition at line 104 of file PtexCache.h.
|
inlineprotected |
Definition at line 128 of file PtexCache.h.
|
inlineprotectedvirtual |
Definition at line 130 of file PtexCache.h.
|
inline |
Definition at line 106 of file PtexCache.h.
|
inline |
Definition at line 107 of file PtexCache.h.
Referenced by PtexReader::MetaData::Entry::clear(), PtexReaderCache::get(), orphanList(), PtexReaderCache::purge(), PtexReaderCache::purgeAll(), and PtexReader::~PtexReader().
|
inlinestatic |
Definition at line 116 of file PtexCache.h.
References _parent, and orphan().
Referenced by PtexReader::~PtexReader().
|
friend |
Definition at line 142 of file PtexCache.h.
|
private |
Definition at line 145 of file PtexCache.h.
Referenced by PtexLruList::extract(), and PtexLruList::push().
|
private |
Definition at line 143 of file PtexCache.h.
Referenced by orphanList(), and PtexLruList::push().
|
private |
Definition at line 144 of file PtexCache.h.
Referenced by PtexLruList::extract(), and PtexLruList::push().