#include <Cache_Map_Manager_T.h>
Collaboration diagram for ACE_Cache_Map_Reverse_Iterator:

Public Types | |
| typedef ACE_Reference_Pair< KEY, VALUE > | 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. More... | |
| typedef ACE_Pair< VALUE, ATTRIBUTES > | CACHE_VALUE |
Public Methods | |
| 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. More... | |
| ~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. More... | |
| int | operator== (const ACE_Cache_Map_Reverse_Iterator< KEY, VALUE, REVERSE_IMPLEMENTATION, CACHING_STRATEGY, ATTRIBUTES > &rhs) const |
| Comparision operators. More... | |
| int | operator!= (const ACE_Cache_Map_Reverse_Iterator< KEY, VALUE, REVERSE_IMPLEMENTATION, CACHING_STRATEGY, ATTRIBUTES > &rhs) const |
| ACE_Reference_Pair< KEY, VALUE > | operator * (void) const |
| Returns a reference to the internal element <this> is pointing to. More... | |
| ACE_Cache_Map_Reverse_Iterator< KEY, VALUE, REVERSE_IMPLEMENTATION, CACHING_STRATEGY, ATTRIBUTES > & | operator++ (void) |
| Prefix advance. More... | |
| ACE_Cache_Map_Reverse_Iterator< KEY, VALUE, REVERSE_IMPLEMENTATION, CACHING_STRATEGY, ATTRIBUTES > | operator++ (int) |
| Postfix advance. More... | |
| ACE_Cache_Map_Reverse_Iterator< KEY, VALUE, REVERSE_IMPLEMENTATION, CACHING_STRATEGY, ATTRIBUTES > & | operator-- (void) |
| Prefix reverse. More... | |
| ACE_Cache_Map_Reverse_Iterator< KEY, VALUE, REVERSE_IMPLEMENTATION, CACHING_STRATEGY, ATTRIBUTES > | operator-- (int) |
| Postfix reverse. More... | |
| REVERSE_IMPLEMENTATION & | iterator_implementation (void) |
| Returns the iterator of the internal map in the custody of the Cache_Map_Manager. More... | |
| void | dump (void) const |
| Dump the state of an object. More... | |
Public Attributes | |
| ACE_ALLOC_HOOK_DECLARE | |
| Declare the dynamic allocation hooks. More... | |
Protected Attributes | |
| REVERSE_IMPLEMENTATION | reverse_iterator_implementation_ |
| The actual iterator which iterates internally on the map belonging to the Cache_Map_Manager. More... | |
Implementation to be provided by the reverse iterator of the map managed by thr Cache_Map_manager.
Definition at line 344 of file Cache_Map_Manager_T.h.
|
|||||
|
Definition at line 352 of file Cache_Map_Manager_T.h. |
|
|||||
|
The actual value mapped to the key in the cache. The <attributes> are used by the strategy and is transperant to the cache user.
Definition at line 351 of file Cache_Map_Manager_T.h. |
|
||||||||||
|
Definition at line 259 of file Cache_Map_Manager_T.i.
00260 : reverse_iterator_implementation_(iterator_impl) 00261 { 00262 } |
|
||||||||||
|
Copy constructor.
|
|
||||||||||
|
Definition at line 186 of file Cache_Map_Manager_T.i.
00187 {
00188 }
|
|
||||||||||
|
Dump the state of an object.
Definition at line 253 of file Cache_Map_Manager_T.i. References reverse_iterator_implementation_.
00254 {
00255 this->reverse_iterator_implementation_.dump ();
00256 }
|
|
||||||||||
|
Returns the iterator of the internal map in the custody of the Cache_Map_Manager.
Definition at line 265 of file Cache_Map_Manager_T.i. References reverse_iterator_implementation_.
00266 {
00267 return this->reverse_iterator_implementation_;
00268 }
|
|
||||||||||
|
Returns a reference to the internal element <this> is pointing to.
Definition at line 210 of file Cache_Map_Manager_T.i.
00211 {
00212 value_type retv ((*this->reverse_iterator_implementation_).ext_id_,
00213 (*this->reverse_iterator_implementation_).int_id_.first ());
00214 return retv;
00215 }
|
|
||||||||||
|
|
|
||||||||||
|
Postfix advance.
Definition at line 227 of file Cache_Map_Manager_T.i. References reverse_iterator_implementation_.
00228 {
00229 ACE_Cache_Map_Reverse_Iterator<ACE_T2> retn = *this;
00230 ++this->reverse_iterator_implementation_;
00231 return retn;
00232 }
|
|
||||||||||
|
Prefix advance.
Definition at line 219 of file Cache_Map_Manager_T.i. References reverse_iterator_implementation_.
00220 {
00221 ++this->reverse_iterator_implementation_;
00222 return *this;
00223 }
|
|
||||||||||
|
Postfix reverse.
Definition at line 244 of file Cache_Map_Manager_T.i. References reverse_iterator_implementation_.
00245 {
00246 ACE_Cache_Map_Reverse_Iterator<ACE_T2> retn = *this;
00247 --this->reverse_iterator_implementation_;
00248 return retn;
00249 }
|
|
||||||||||
|
Prefix reverse.
Definition at line 236 of file Cache_Map_Manager_T.i. References reverse_iterator_implementation_.
00237 {
00238 --this->reverse_iterator_implementation_;
00239 return *this;
00240 }
|
|
||||||||||
|
Assignment operator.
|
|
||||||||||
|
Comparision operators.
|
|
|||||
|
Declare the dynamic allocation hooks.
Definition at line 401 of file Cache_Map_Manager_T.h. |
|
|||||
|
The actual iterator which iterates internally on the map belonging to the Cache_Map_Manager.
Definition at line 406 of file Cache_Map_Manager_T.h. Referenced by dump, iterator_implementation, operator++, and operator--. |
1.2.14 written by Dimitri van Heesch,
© 1997-2002