CTBmap. **.
More...
#include <CTBmapIterator.hxx>
Inheritance diagram for CTBmapBrowser:


Public Types | |
| typedef CTBmap< K, V, C > | Map |
| typedef CTBmapNode< K, V, C > | Node |
| typedef CTBmapBrowser< K, V, C > | Browser |
Public Methods | |
| CTBmapBrowser () | |
| CTBmapBrowser (const CTBmap< K, V, C > *p_map, const CTBmapNode< K, V, C > *p_node) | |
| bool | Next () |
| bool | Prev () |
| bool | Valid () const |
| bool | IsFirst () const |
| bool | IsLast () const |
| CTBint | Rank () const |
| bool | Equal (const CTBmapBrowser< K, V, C > &rhs) const |
| const CTBpair< const K, V > * | Current () const |
| const K & | Key () const |
| const V & | Value () const |
| CTBmapBrowser< K, V, C > & | operator++ () |
| CTBmapBrowser< K, V, C > | operator++ (int) |
| CTBmapBrowser< K, V, C > & | operator-- () |
| CTBmapBrowser< K, V, C > | operator-- (int) |
| const CTBpair< const K, V > & | operator[] (CTBint i_offset) |
| const CTBpair< const K, V > * | operator-> () |
| const CTBpair< const K, V > & | operator * () |
| CTBmapBrowser< K, V, C > & | operator+= (CTBint i_offset) |
| CTBmapBrowser< K, V, C > & | operator-= (CTBint i_offset) |
| operator const CTBpair () const | |
| operator bool () const | |
| operator const CTBmapNode () const | |
Protected Attributes | |
| Map * | mp_map |
| Node * | mp_node |
Related Functions | |
| (Note that these are not member functions.) | |
| CTBmapBrowser< K, V, C > | operator+ (const CTBmapBrowser< K, V, C > &lhs, CTBint i_offset) |
| CTBmapBrowser< K, V, C > | operator- (const CTBmapBrowser< K, V, C > &lhs, CTBint i_offset) |
| CTBint | operator- (const CTBmapBrowser< K, V, C > &lhs, const CTBmapBrowser< K, V, C > &rhs) |
| bool | operator== (const CTBmapBrowser< K, V, C > &lhs, const CTBmapBrowser< K, V, C > &rhs) |
| ostream & | operator<< (ostream &os, const CTBmapBrowser< K, V, C > &obj) |
CTBmap. **.
Definition at line 17 of file CTBmapIterator.hxx.
|
|||||
|
Definition at line 20 of file CTBmapIterator.hxx. |
|
|||||
|
Definition at line 21 of file CTBmapIterator.hxx. |
|
|||||
|
Definition at line 22 of file CTBmapIterator.hxx. |
|
|||||||||
|
Default constructor.
Definition at line 23 of file CTBmapIterator.icc. |
|
|||||||||||||||||||
|
Construct from map and node.
Definition at line 32 of file CTBmapIterator.icc. |
|
|||||||||
|
Advance to next entry.
Definition at line 42 of file CTBmapIterator.icc. |
|
|||||||||
|
Advance to previous entry.
Definition at line 53 of file CTBmapIterator.icc. |
|
|||||||||
|
Returns
Definition at line 64 of file CTBmapIterator.icc. |
|
|||||||||
|
Returns
Definition at line 73 of file CTBmapIterator.icc. |
|
|||||||||
|
Returns
Definition at line 82 of file CTBmapIterator.icc. |
|
|||||||||
|
Returns rank of entry.
Definition at line 91 of file CTBmapIterator.icc. Referenced by operator-(), and CTBgsetBrowser::operator-().
|
|
||||||||||
|
Returns
Definition at line 100 of file CTBmapIterator.icc. Referenced by operator==().
|
|
|||||||||
|
Access entry as pair.
Reimplemented in CTBmapIterator. Definition at line 109 of file CTBmapIterator.icc. |
|
|||||||||
|
Access key.
Definition at line 118 of file CTBmapIterator.icc. |
|
|||||||||
|
Access value.
Reimplemented in CTBmapIterator. Definition at line 127 of file CTBmapIterator.icc. |
|
|||||||||
|
Pre-increment browser.
Reimplemented in CTBmapIterator. Definition at line 136 of file CTBmapIterator.icc. |
|
||||||||||
|
Post-increment browser.
Reimplemented in CTBmapIterator. Definition at line 146 of file CTBmapIterator.icc. |
|
|||||||||
|
Pre-decrement browser.
Reimplemented in CTBmapIterator. Definition at line 157 of file CTBmapIterator.icc. |
|
||||||||||
|
Post-decrement browser.
Reimplemented in CTBmapIterator. Definition at line 167 of file CTBmapIterator.icc. |
|
||||||||||
|
Access entry at relative offset i_offset.
Reimplemented in CTBmapIterator. Definition at line 178 of file CTBmapIterator.icc. |
|
|||||||||
|
Dereference.
Reimplemented in CTBmapIterator. Definition at line 189 of file CTBmapIterator.icc. |
|
|||||||||
|
Dereference.
Reimplemented in CTBmapIterator. Definition at line 198 of file CTBmapIterator.icc. |
|
||||||||||
|
Advance toward higher keys by i_offset entries.
Reimplemented in CTBmapIterator. Definition at line 207 of file CTBmapIterator.icc. |
|
||||||||||
|
Advance toward lower keys by i_offset entries.
Reimplemented in CTBmapIterator. Definition at line 217 of file CTBmapIterator.icc. |
|
|||||||||
|
Convert brower to
Definition at line 227 of file CTBmapIterator.icc. |
|
|||||||||
|
Reimplemented in CTBmapIterator. Definition at line 236 of file CTBmapIterator.icc. |
|
|||||||||
|
Convert browser to
Definition at line 245 of file CTBmapIterator.icc. |
|
|||||||||||||||||||
|
Advance toward higher keys by i_offset entries.
Definition at line 257 of file CTBmapIterator.icc. |
|
|||||||||||||||||||
|
Advance toward lower keys by i_offset entries.
Definition at line 273 of file CTBmapIterator.icc. |
|
|||||||||||||||||||
|
Calculates rank difference of two browsers.
Definition at line 289 of file CTBmapIterator.icc. |
|
|||||||||||||||||||
|
Is
Definition at line 305 of file CTBmapIterator.icc. |
|
|||||||||||||||||||
|
ostream insertion.
Definition at line 318 of file CTBmapIterator.icc. |
|
|||||
|
map pointer.
Definition at line 64 of file CTBmapIterator.hxx. |
|
|||||
|
node pointer.
Definition at line 65 of file CTBmapIterator.hxx. |
1.2.9-20010812 written by Dimitri van Heesch,
© 1997-2001