#include <stx_Cache.h>


Definition at line 48 of file stx_Cache.h.
Public Member Functions | |
| stx_CacheElRef (stx_CacheKey_t a_key) | |
| void | IncRef () |
| void | DecRef () |
| bool | IsLast () |
| int | GetRefNumber () |
Private Attributes | |
| int | m_refNumber |
| stx_CacheElRef::stx_CacheElRef | ( | stx_CacheKey_t | a_key | ) | [inline] |
| void stx_CacheElRef::IncRef | ( | ) | [inline] |
Definition at line 52 of file stx_Cache.h.
Referenced by stx_CacheArrayOfRefEl< _MaxCacheSize >::Get(), and stx_CacheArrayOfRefEl< _MaxCacheSize >::Insert().
00052 { m_refNumber++; };

| void stx_CacheElRef::DecRef | ( | ) | [inline] |
Definition at line 54 of file stx_Cache.h.
References stx_CacheEl::RemoveNotification().
Referenced by stx_CacheArrayOfRefEl< _MaxCacheSize >::RemoveEl().
00054 { 00055 if (--m_refNumber == 0) { 00056 RemoveNotification(); 00057 delete this; 00058 } 00059 };


| bool stx_CacheElRef::IsLast | ( | ) | [inline] |
Definition at line 61 of file stx_Cache.h.
Referenced by stx_CacheArrayOfRefEl< _MaxCacheSize >::RemoveEl().
00061 { return m_refNumber == 1; };

| int stx_CacheElRef::GetRefNumber | ( | ) | [inline] |
int stx_CacheElRef::m_refNumber [private] |
1.5.6