HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
UT_LRUCache< K, V, SizeFunc, InUseFunc, L >::iterator_base< PROXIED, TYPE > Class Template Reference

#include <UT_LRUCache.h>

+ Inheritance diagram for UT_LRUCache< K, V, SizeFunc, InUseFunc, L >::iterator_base< PROXIED, TYPE >:

Public Member Functions

 iterator_base ()
 
 iterator_base (const iterator_base &other)
 
 iterator_base (iterator_base &&other)
 
iterator_baseoperator= (const iterator_base &other)
 
iterator_baseoperator= (iterator_base &&other)
 
 ~iterator_base ()
 
iterator_baseoperator++ ()
 
iterator_baseoperator-- ()
 
pointer operator-> () const
 
reference operator* () const
 
bool operator== (const iterator_base &other) const
 
bool operator!= (const iterator_base &other) const
 

Protected Member Functions

 iterator_base (proxied_iterator it, L *lock)
 

Friends

class UT_LRUCache< K, V, SizeFunc, InUseFunc, L >
 

Detailed Description

template<typename K, typename V, exint(*)(const V &) SizeFunc = UTlruGetItemSize<V>, bool(*)(const V &) InUseFunc = UTlruGetItemInUse<V>, typename L = UT::RWNullLock>
template<typename PROXIED, typename TYPE>
class UT_LRUCache< K, V, SizeFunc, InUseFunc, L >::iterator_base< PROXIED, TYPE >

This iterator is just a simple proxy around either the regular iterator or the const_iterator on the internal list.

Definition at line 93 of file UT_LRUCache.h.

Constructor & Destructor Documentation

template<typename K, typename V, exint(*)(const V &) SizeFunc = UTlruGetItemSize<V>, bool(*)(const V &) InUseFunc = UTlruGetItemInUse<V>, typename L = UT::RWNullLock>
template<typename PROXIED , typename TYPE >
UT_LRUCache< K, V, SizeFunc, InUseFunc, L >::iterator_base< PROXIED, TYPE >::iterator_base ( )
inline

Definition at line 103 of file UT_LRUCache.h.

template<typename K, typename V, exint(*)(const V &) SizeFunc = UTlruGetItemSize<V>, bool(*)(const V &) InUseFunc = UTlruGetItemInUse<V>, typename L = UT::RWNullLock>
template<typename PROXIED , typename TYPE >
UT_LRUCache< K, V, SizeFunc, InUseFunc, L >::iterator_base< PROXIED, TYPE >::iterator_base ( const iterator_base< PROXIED, TYPE > &  other)
inline

Definition at line 105 of file UT_LRUCache.h.

template<typename K, typename V, exint(*)(const V &) SizeFunc = UTlruGetItemSize<V>, bool(*)(const V &) InUseFunc = UTlruGetItemInUse<V>, typename L = UT::RWNullLock>
template<typename PROXIED , typename TYPE >
UT_LRUCache< K, V, SizeFunc, InUseFunc, L >::iterator_base< PROXIED, TYPE >::iterator_base ( iterator_base< PROXIED, TYPE > &&  other)
inline

Definition at line 112 of file UT_LRUCache.h.

template<typename K, typename V, exint(*)(const V &) SizeFunc = UTlruGetItemSize<V>, bool(*)(const V &) InUseFunc = UTlruGetItemInUse<V>, typename L = UT::RWNullLock>
template<typename PROXIED , typename TYPE >
UT_LRUCache< K, V, SizeFunc, InUseFunc, L >::iterator_base< PROXIED, TYPE >::~iterator_base ( )
inline

Definition at line 137 of file UT_LRUCache.h.

template<typename K, typename V, exint(*)(const V &) SizeFunc = UTlruGetItemSize<V>, bool(*)(const V &) InUseFunc = UTlruGetItemInUse<V>, typename L = UT::RWNullLock>
template<typename PROXIED , typename TYPE >
UT_LRUCache< K, V, SizeFunc, InUseFunc, L >::iterator_base< PROXIED, TYPE >::iterator_base ( proxied_iterator  it,
L *  lock 
)
inlineprotected

Definition at line 162 of file UT_LRUCache.h.

Member Function Documentation

template<typename K, typename V, exint(*)(const V &) SizeFunc = UTlruGetItemSize<V>, bool(*)(const V &) InUseFunc = UTlruGetItemInUse<V>, typename L = UT::RWNullLock>
template<typename PROXIED , typename TYPE >
bool UT_LRUCache< K, V, SizeFunc, InUseFunc, L >::iterator_base< PROXIED, TYPE >::operator!= ( const iterator_base< PROXIED, TYPE > &  other) const
inline

Definition at line 154 of file UT_LRUCache.h.

template<typename K, typename V, exint(*)(const V &) SizeFunc = UTlruGetItemSize<V>, bool(*)(const V &) InUseFunc = UTlruGetItemInUse<V>, typename L = UT::RWNullLock>
template<typename PROXIED , typename TYPE >
reference UT_LRUCache< K, V, SizeFunc, InUseFunc, L >::iterator_base< PROXIED, TYPE >::operator* ( void  ) const
inline

Definition at line 148 of file UT_LRUCache.h.

template<typename K, typename V, exint(*)(const V &) SizeFunc = UTlruGetItemSize<V>, bool(*)(const V &) InUseFunc = UTlruGetItemInUse<V>, typename L = UT::RWNullLock>
template<typename PROXIED , typename TYPE >
iterator_base& UT_LRUCache< K, V, SizeFunc, InUseFunc, L >::iterator_base< PROXIED, TYPE >::operator++ ( )
inline

Definition at line 144 of file UT_LRUCache.h.

template<typename K, typename V, exint(*)(const V &) SizeFunc = UTlruGetItemSize<V>, bool(*)(const V &) InUseFunc = UTlruGetItemInUse<V>, typename L = UT::RWNullLock>
template<typename PROXIED , typename TYPE >
iterator_base& UT_LRUCache< K, V, SizeFunc, InUseFunc, L >::iterator_base< PROXIED, TYPE >::operator-- ( )
inline

Definition at line 145 of file UT_LRUCache.h.

template<typename K, typename V, exint(*)(const V &) SizeFunc = UTlruGetItemSize<V>, bool(*)(const V &) InUseFunc = UTlruGetItemInUse<V>, typename L = UT::RWNullLock>
template<typename PROXIED , typename TYPE >
pointer UT_LRUCache< K, V, SizeFunc, InUseFunc, L >::iterator_base< PROXIED, TYPE >::operator-> ( void  ) const
inline

Definition at line 147 of file UT_LRUCache.h.

template<typename K, typename V, exint(*)(const V &) SizeFunc = UTlruGetItemSize<V>, bool(*)(const V &) InUseFunc = UTlruGetItemInUse<V>, typename L = UT::RWNullLock>
template<typename PROXIED , typename TYPE >
iterator_base& UT_LRUCache< K, V, SizeFunc, InUseFunc, L >::iterator_base< PROXIED, TYPE >::operator= ( const iterator_base< PROXIED, TYPE > &  other)
inline

Definition at line 120 of file UT_LRUCache.h.

template<typename K, typename V, exint(*)(const V &) SizeFunc = UTlruGetItemSize<V>, bool(*)(const V &) InUseFunc = UTlruGetItemInUse<V>, typename L = UT::RWNullLock>
template<typename PROXIED , typename TYPE >
iterator_base& UT_LRUCache< K, V, SizeFunc, InUseFunc, L >::iterator_base< PROXIED, TYPE >::operator= ( iterator_base< PROXIED, TYPE > &&  other)
inline

Definition at line 128 of file UT_LRUCache.h.

template<typename K, typename V, exint(*)(const V &) SizeFunc = UTlruGetItemSize<V>, bool(*)(const V &) InUseFunc = UTlruGetItemInUse<V>, typename L = UT::RWNullLock>
template<typename PROXIED , typename TYPE >
bool UT_LRUCache< K, V, SizeFunc, InUseFunc, L >::iterator_base< PROXIED, TYPE >::operator== ( const iterator_base< PROXIED, TYPE > &  other) const
inline

Definition at line 150 of file UT_LRUCache.h.

Friends And Related Function Documentation

template<typename K, typename V, exint(*)(const V &) SizeFunc = UTlruGetItemSize<V>, bool(*)(const V &) InUseFunc = UTlruGetItemInUse<V>, typename L = UT::RWNullLock>
template<typename PROXIED , typename TYPE >
friend class UT_LRUCache< K, V, SizeFunc, InUseFunc, L >
friend

Definition at line 160 of file UT_LRUCache.h.


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