ACE 8.0.1
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Public Attributes | Protected Attributes | List of all members
ACE_Cache_Map_Iterator< KEY, VALUE, IMPLEMENTATION, CACHING_STRATEGY, ATTRIBUTES > Class Template Reference

Defines a iterator for the Cache_Map_Manager. More...

#include <Cache_Map_Manager_T.h>

Public Types

typedef ACE_Reference_Pair< KEY, VALUE > value_type
 
typedef std::pair< VALUE, ATTRIBUTESCACHE_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 ()=default
 
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
 Comparison operators.
 
bool operator!= (const ACE_Cache_Map_Iterator< KEY, VALUE, IMPLEMENTATION, CACHING_STRATEGY, ATTRIBUTES > &rhs) const
 
ACE_Reference_Pair< KEY, VALUE > operator* () const
 
ACE_Cache_Map_Iterator< KEY, VALUE, IMPLEMENTATION, CACHING_STRATEGY, ATTRIBUTES > & operator++ ()
 Prefix advance.
 
ACE_Cache_Map_Iterator< KEY, VALUE, IMPLEMENTATION, CACHING_STRATEGY, ATTRIBUTESoperator++ (int)
 Postfix advance.
 
ACE_Cache_Map_Iterator< KEY, VALUE, IMPLEMENTATION, CACHING_STRATEGY, ATTRIBUTES > & operator-- ()
 Prefix reverse.
 
ACE_Cache_Map_Iterator< KEY, VALUE, IMPLEMENTATION, CACHING_STRATEGY, ATTRIBUTESoperator-- (int)
 Postfix reverse.
 
IMPLEMENTATIONiterator_implementation ()
 
void dump () const
 Dump the state of an object.
 

Public Attributes

 ACE_ALLOC_HOOK_DECLARE
 Declare the dynamic allocation hooks.
 

Protected Attributes

IMPLEMENTATION iterator_implementation_
 

Detailed Description

template<class KEY, class VALUE, class IMPLEMENTATION, class CACHING_STRATEGY, class ATTRIBUTES>
class ACE_Cache_Map_Iterator< KEY, VALUE, IMPLEMENTATION, CACHING_STRATEGY, ATTRIBUTES >

Defines a iterator for the Cache_Map_Manager.

Implementation to be provided by the iterator of the map managed by the ACE_Cache_Map_Manager.

Member Typedef Documentation

◆ CACHE_VALUE

◆ value_type

The actual value mapped to the key in the cache. The <attributes> are used by the strategy and is transparent to the cache user.

Constructor & Destructor Documentation

◆ ACE_Cache_Map_Iterator() [1/2]

◆ ACE_Cache_Map_Iterator() [2/2]

Copy constructor.

◆ ~ACE_Cache_Map_Iterator()

Member Function Documentation

◆ dump()

Dump the state of an object.

◆ iterator_implementation()

IMPLEMENTATION & ACE_Cache_Map_Iterator< KEY, VALUE, IMPLEMENTATION, CACHING_STRATEGY, ATTRIBUTES >::iterator_implementation ( )
inline

Returns the iterator of the internal map in the custody of the Cache_Map_Manager.

◆ operator!=()

◆ operator*()

Returns a reference to the internal element this is pointing to.

◆ operator++() [1/2]

Prefix advance.

◆ operator++() [2/2]

Postfix advance.

◆ operator--() [1/2]

Prefix reverse.

◆ operator--() [2/2]

Postfix reverse.

◆ operator=()

assignment operator.

◆ operator==()

Comparison operators.

Member Data Documentation

◆ ACE_ALLOC_HOOK_DECLARE

Declare the dynamic allocation hooks.

◆ iterator_implementation_

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.


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