#include <stx_Cache.h>


Definition at line 199 of file stx_Cache.h.
Public Member Functions | |
| stx_CacheElRef * | Get (stx_CacheKey_t a_key) |
| void | Insert (stx_CacheElRef *a_elem_p) |
| void | RemoveEl (stx_CacheElRef *a_elem_p) |
| stx_CacheElRef* stx_CacheArrayOfRefEl< _MaxCacheSize >::Get | ( | stx_CacheKey_t | a_key | ) | [inline] |
Reimplemented from stx_CacheArray< _MaxCacheSize >.
Definition at line 201 of file stx_Cache.h.
References stx_CacheArray< _MaxCacheSize >::Get(), stx_CacheElRef::IncRef(), and NULL.
Referenced by fsc_nsCreateDirectoryObj(), and fsc_nsCreateElementObj().
00201 { 00202 stx_CacheElRef* el = static_cast<stx_CacheElRef*>(stx_CacheArray<_MaxCacheSize>::Get(a_key)); 00203 if (el != NULL) { 00204 el->IncRef(); 00205 } 00206 return el; 00207 };


| void stx_CacheArrayOfRefEl< _MaxCacheSize >::Insert | ( | stx_CacheElRef * | a_elem_p | ) | [inline] |
Definition at line 209 of file stx_Cache.h.
References stx_CacheElRef::IncRef(), and stx_CacheArray< _MaxCacheSize >::Insert().
Referenced by fsc_nsCreateDirectoryObj(), and fsc_nsCreateElementObj().
00209 { 00210 a_elem_p->IncRef(); 00211 stx_CacheArray<_MaxCacheSize>::Insert(a_elem_p); 00212 };


| void stx_CacheArrayOfRefEl< _MaxCacheSize >::RemoveEl | ( | stx_CacheElRef * | a_elem_p | ) | [inline] |
Definition at line 218 of file stx_Cache.h.
References stx_CacheElRef::DecRef(), stx_CacheElRef::IsLast(), and stx_CacheArray< _MaxCacheSize >::RemoveEl().
Referenced by fsc_nsRemoveElementObj().
00218 { 00219 if (a_elem_p->IsLast()) { 00220 stx_CacheArray<_MaxCacheSize>::RemoveEl(a_elem_p); 00221 } 00222 a_elem_p->DecRef(); 00223 };


1.5.6