#include <Cache_Map_Manager_T.h>
Collaboration diagram for ACE_Cache_Map_Reverse_Iterator< KEY, VALUE, REVERSE_IMPLEMENTATION, CACHING_STRATEGY, ATTRIBUTES >:
Public Types | |
typedef ACE_Reference_Pair< KEY, VALUE > | value_type |
typedef ACE_Pair< VALUE, ATTRIBUTES > | CACHE_VALUE |
Public Member Functions | |
ACE_Cache_Map_Reverse_Iterator (const REVERSE_IMPLEMENTATION &iterator_impl) | |
ACE_Cache_Map_Reverse_Iterator (const ACE_Cache_Map_Reverse_Iterator< KEY, VALUE, REVERSE_IMPLEMENTATION, CACHING_STRATEGY, ATTRIBUTES > &rhs) | |
Copy constructor. | |
~ACE_Cache_Map_Reverse_Iterator (void) | |
ACE_Cache_Map_Reverse_Iterator< KEY, VALUE, REVERSE_IMPLEMENTATION, CACHING_STRATEGY, ATTRIBUTES > & | operator= (const ACE_Cache_Map_Reverse_Iterator< KEY, VALUE, REVERSE_IMPLEMENTATION, CACHING_STRATEGY, ATTRIBUTES > &rhs) |
Assignment operator. | |
bool | operator== (const ACE_Cache_Map_Reverse_Iterator< KEY, VALUE, REVERSE_IMPLEMENTATION, CACHING_STRATEGY, ATTRIBUTES > &rhs) const |
Comparision operators. | |
bool | operator!= (const ACE_Cache_Map_Reverse_Iterator< KEY, VALUE, REVERSE_IMPLEMENTATION, CACHING_STRATEGY, ATTRIBUTES > &rhs) const |
ACE_Reference_Pair< KEY, VALUE > | operator * (void) const |
ACE_Cache_Map_Reverse_Iterator< KEY, VALUE, REVERSE_IMPLEMENTATION, CACHING_STRATEGY, ATTRIBUTES > & | operator++ (void) |
Prefix advance. | |
ACE_Cache_Map_Reverse_Iterator< KEY, VALUE, REVERSE_IMPLEMENTATION, CACHING_STRATEGY, ATTRIBUTES > | operator++ (int) |
Postfix advance. | |
ACE_Cache_Map_Reverse_Iterator< KEY, VALUE, REVERSE_IMPLEMENTATION, CACHING_STRATEGY, ATTRIBUTES > & | operator-- (void) |
Prefix reverse. | |
ACE_Cache_Map_Reverse_Iterator< KEY, VALUE, REVERSE_IMPLEMENTATION, CACHING_STRATEGY, ATTRIBUTES > | operator-- (int) |
Postfix reverse. | |
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 | |
REVERSE_IMPLEMENTATION | reverse_iterator_implementation_ |
Implementation to be provided by the reverse iterator of the map managed by thr Cache_Map_manager.
Definition at line 324 of file Cache_Map_Manager_T.h.
|
Definition at line 332 of file Cache_Map_Manager_T.h. |
|
The actual value mapped to the key in the cache. The are used by the strategy and is transperant to the cache user. Definition at line 331 of file Cache_Map_Manager_T.h. |
|
Definition at line 234 of file Cache_Map_Manager_T.inl.
00235 : reverse_iterator_implementation_(iterator_impl) 00236 { 00237 } |
|
Copy constructor.
Definition at line 153 of file Cache_Map_Manager_T.inl.
00154 : reverse_iterator_implementation_ (rhs.reverse_iterator_implementation_) 00155 { 00156 } |
|
Definition at line 159 of file Cache_Map_Manager_T.inl.
00160 { 00161 } |
|
Dump the state of an object.
Definition at line 226 of file Cache_Map_Manager_T.inl.
00227 { 00228 #if defined (ACE_HAS_DUMP) 00229 this->reverse_iterator_implementation_.dump (); 00230 #endif /* ACE_HAS_DUMP */ 00231 } |
|
Returns the iterator of the internal map in the custody of the Cache_Map_Manager. Definition at line 240 of file Cache_Map_Manager_T.inl.
00241 { 00242 return this->reverse_iterator_implementation_; 00243 } |
|
Returns a reference to the internal element is pointing to. Definition at line 183 of file Cache_Map_Manager_T.inl.
00184 { 00185 value_type retv ((*this->reverse_iterator_implementation_).ext_id_, 00186 (*this->reverse_iterator_implementation_).int_id_.first ()); 00187 return retv; 00188 } |
|
Definition at line 177 of file Cache_Map_Manager_T.inl.
00178 { 00179 return this->reverse_iterator_implementation_ != rhs.reverse_iterator_implementation_; 00180 } |
|
Postfix advance.
Definition at line 200 of file Cache_Map_Manager_T.inl.
00201 { 00202 ACE_Cache_Map_Reverse_Iterator<KEY, VALUE, REVERSE_IMPLEMENTATION, CACHING_STRATEGY, ATTRIBUTES> retn = *this; 00203 ++this->reverse_iterator_implementation_; 00204 return retn; 00205 } |
|
Prefix advance.
Definition at line 192 of file Cache_Map_Manager_T.inl.
00193 { 00194 ++this->reverse_iterator_implementation_; 00195 return *this; 00196 } |
|
Postfix reverse.
Definition at line 217 of file Cache_Map_Manager_T.inl.
00218 { 00219 ACE_Cache_Map_Reverse_Iterator<KEY, VALUE, REVERSE_IMPLEMENTATION, CACHING_STRATEGY, ATTRIBUTES> retn = *this; 00220 --this->reverse_iterator_implementation_; 00221 return retn; 00222 } |
|
Prefix reverse.
Definition at line 209 of file Cache_Map_Manager_T.inl.
00210 { 00211 --this->reverse_iterator_implementation_; 00212 return *this; 00213 } |
|
Assignment operator.
Definition at line 164 of file Cache_Map_Manager_T.inl.
00165 { 00166 this->reverse_iterator_implementation_ = rhs.reverse_iterator_implementation_; 00167 return *this; 00168 } |
|
Comparision operators.
Definition at line 171 of file Cache_Map_Manager_T.inl.
00172 { 00173 return this->reverse_iterator_implementation_ == rhs.reverse_iterator_implementation_; 00174 } |
|
Declare the dynamic allocation hooks.
Definition at line 381 of file Cache_Map_Manager_T.h. |
|