#include <Cache_Map_Manager_T.h>
Public Types | |
typedef ACE_Reference_Pair < KEY, VALUE > | value_type |
typedef ACE_Pair< VALUE, ATTRIBUTES > | CACHE_VALUE |
Public Member Functions | |
ACE_Cache_Map_Iterator (const IMPLEMENTATION &iterator_impl) | |
ACE_Cache_Map_Iterator (const ACE_Cache_Map_Iterator< KEY, VALUE, IMPLEMENTATION, CACHING_STRATEGY, ATTRIBUTES > &rhs) | |
Copy constructor. | |
virtual | ~ACE_Cache_Map_Iterator (void) |
ACE_Cache_Map_Iterator< KEY, VALUE, IMPLEMENTATION, CACHING_STRATEGY, ATTRIBUTES > & | operator= (const ACE_Cache_Map_Iterator< KEY, VALUE, IMPLEMENTATION, CACHING_STRATEGY, ATTRIBUTES > &rhs) |
assignment operator. | |
bool | operator== (const ACE_Cache_Map_Iterator< KEY, VALUE, IMPLEMENTATION, CACHING_STRATEGY, ATTRIBUTES > &rhs) const |
Comparision operators. | |
bool | operator!= (const ACE_Cache_Map_Iterator< KEY, VALUE, IMPLEMENTATION, CACHING_STRATEGY, ATTRIBUTES > &rhs) const |
ACE_Reference_Pair< KEY, VALUE > | operator* (void) const |
ACE_Cache_Map_Iterator< KEY, VALUE, IMPLEMENTATION, CACHING_STRATEGY, ATTRIBUTES > & | operator++ (void) |
Prefix advance. | |
ACE_Cache_Map_Iterator< KEY, VALUE, IMPLEMENTATION, CACHING_STRATEGY, ATTRIBUTES > | operator++ (int) |
Postfix advance. | |
ACE_Cache_Map_Iterator< KEY, VALUE, IMPLEMENTATION, CACHING_STRATEGY, ATTRIBUTES > & | operator-- (void) |
Prefix reverse. | |
ACE_Cache_Map_Iterator< KEY, VALUE, IMPLEMENTATION, CACHING_STRATEGY, ATTRIBUTES > | operator-- (int) |
Postfix reverse. | |
IMPLEMENTATION & | iterator_implementation (void) |
void | dump (void) const |
Dump the state of an object. | |
Public Attributes | |
ACE_ALLOC_HOOK_DECLARE | |
Declare the dynamic allocation hooks. | |
Protected Attributes | |
IMPLEMENTATION | iterator_implementation_ |
Implementation to be provided by the iterator of the map managed by the ACE_Cache_Map_Manager.
typedef ACE_Reference_Pair<KEY, VALUE> ACE_Cache_Map_Iterator< KEY, VALUE, IMPLEMENTATION, CACHING_STRATEGY, ATTRIBUTES >::value_type |
The actual value mapped to the key in the cache. The <attributes> are used by the strategy and is transperant to the cache user.
typedef ACE_Pair<VALUE, ATTRIBUTES> ACE_Cache_Map_Iterator< KEY, VALUE, IMPLEMENTATION, CACHING_STRATEGY, ATTRIBUTES >::CACHE_VALUE |
ACE_INLINE ACE_Cache_Map_Iterator< KEY, VALUE, IMPLEMENTATION, CACHING_STRATEGY, ATTRIBUTES >::ACE_Cache_Map_Iterator | ( | const IMPLEMENTATION & | iterator_impl | ) | [inline] |
ACE_INLINE ACE_Cache_Map_Iterator< KEY, VALUE, IMPLEMENTATION, CACHING_STRATEGY, ATTRIBUTES >::ACE_Cache_Map_Iterator | ( | const ACE_Cache_Map_Iterator< KEY, VALUE, IMPLEMENTATION, CACHING_STRATEGY, ATTRIBUTES > & | rhs | ) | [inline] |
Copy constructor.
ACE_Cache_Map_Iterator< KEY, VALUE, IMPLEMENTATION, CACHING_STRATEGY, ATTRIBUTES >::~ACE_Cache_Map_Iterator | ( | void | ) | [inline, virtual] |
ACE_INLINE ACE_Cache_Map_Iterator< KEY, VALUE, IMPLEMENTATION, CACHING_STRATEGY, ATTRIBUTES > & ACE_Cache_Map_Iterator< KEY, VALUE, IMPLEMENTATION, CACHING_STRATEGY, ATTRIBUTES >::operator= | ( | const ACE_Cache_Map_Iterator< KEY, VALUE, IMPLEMENTATION, CACHING_STRATEGY, ATTRIBUTES > & | rhs | ) | [inline] |
assignment operator.
ACE_INLINE bool ACE_Cache_Map_Iterator< KEY, VALUE, IMPLEMENTATION, CACHING_STRATEGY, ATTRIBUTES >::operator== | ( | const ACE_Cache_Map_Iterator< KEY, VALUE, IMPLEMENTATION, CACHING_STRATEGY, ATTRIBUTES > & | rhs | ) | const [inline] |
Comparision operators.
ACE_INLINE bool ACE_Cache_Map_Iterator< KEY, VALUE, IMPLEMENTATION, CACHING_STRATEGY, ATTRIBUTES >::operator!= | ( | const ACE_Cache_Map_Iterator< KEY, VALUE, IMPLEMENTATION, CACHING_STRATEGY, ATTRIBUTES > & | rhs | ) | const [inline] |
ACE_INLINE ACE_Reference_Pair< KEY, VALUE > ACE_Cache_Map_Iterator< KEY, VALUE, IMPLEMENTATION, CACHING_STRATEGY, ATTRIBUTES >::operator* | ( | void | ) | const [inline] |
Returns a reference to the internal element this
is pointing to.
ACE_INLINE ACE_Cache_Map_Iterator< KEY, VALUE, IMPLEMENTATION, CACHING_STRATEGY, ATTRIBUTES > & ACE_Cache_Map_Iterator< KEY, VALUE, IMPLEMENTATION, CACHING_STRATEGY, ATTRIBUTES >::operator++ | ( | void | ) | [inline] |
Prefix advance.
ACE_INLINE ACE_Cache_Map_Iterator< KEY, VALUE, IMPLEMENTATION, CACHING_STRATEGY, ATTRIBUTES > ACE_Cache_Map_Iterator< KEY, VALUE, IMPLEMENTATION, CACHING_STRATEGY, ATTRIBUTES >::operator++ | ( | int | ) | [inline] |
Postfix advance.
ACE_INLINE ACE_Cache_Map_Iterator< KEY, VALUE, IMPLEMENTATION, CACHING_STRATEGY, ATTRIBUTES > & ACE_Cache_Map_Iterator< KEY, VALUE, IMPLEMENTATION, CACHING_STRATEGY, ATTRIBUTES >::operator-- | ( | void | ) | [inline] |
Prefix reverse.
ACE_INLINE ACE_Cache_Map_Iterator< KEY, VALUE, IMPLEMENTATION, CACHING_STRATEGY, ATTRIBUTES > ACE_Cache_Map_Iterator< KEY, VALUE, IMPLEMENTATION, CACHING_STRATEGY, ATTRIBUTES >::operator-- | ( | int | ) | [inline] |
Postfix reverse.
ACE_INLINE IMPLEMENTATION & ACE_Cache_Map_Iterator< KEY, VALUE, IMPLEMENTATION, CACHING_STRATEGY, ATTRIBUTES >::iterator_implementation | ( | void | ) | [inline] |
Returns the iterator of the internal map in the custody of the Cache_Map_Manager.
ACE_INLINE void ACE_Cache_Map_Iterator< KEY, VALUE, IMPLEMENTATION, CACHING_STRATEGY, ATTRIBUTES >::dump | ( | void | ) | const [inline] |
Dump the state of an object.
ACE_Cache_Map_Iterator< KEY, VALUE, IMPLEMENTATION, CACHING_STRATEGY, ATTRIBUTES >::ACE_ALLOC_HOOK_DECLARE |
Declare the dynamic allocation hooks.
IMPLEMENTATION ACE_Cache_Map_Iterator< KEY, VALUE, IMPLEMENTATION, CACHING_STRATEGY, ATTRIBUTES >::iterator_implementation_ [protected] |
The actual iterator which iterates internally on the map belonging to the Cache_Map_Manager.