#include <Cache.h>
Collaboration diagram for Impala::Util::Cache< IdxT, ElemT >:

Public Member Functions | |
| Cache (int maxCacheSize=0, bool elemIsPointer=true) | |
| virtual | ~Cache () |
| void | SetSize (int maxCacheSize) |
| void | AddElement (IdxT idx, ElemT elem) |
| bool | GetElement (IdxT idx, ElemT &elem) |
| void | RemoveElement (IdxT idx) |
| void | Dump (String name) const |
| void | Clear () |
| bool | Empty () |
Private Types | |
| typedef std::deque< CacheElem< IdxT, ElemT > > | CacheQueue |
| typedef CacheQueue::iterator | CacheIterator |
| typedef CacheQueue::const_iterator | CacheConstIterator |
Private Member Functions | |
| void | PopBack () |
| Cache (const Cache &) | |
| Cache & | operator= (const Cache &) |
Private Attributes | |
| CacheQueue | mQueue |
| int | mMaxCacheSize |
| bool | mElemIsPointer |
| ILOG_VAR_DECL | |
Classes | |
| class | CacheElem |
Definition at line 15 of file Cache.h.
1.5.1