|
casacore
|
OrderedMap iterator "letter". More...
#include <OrderedMap.h>
Public Types | |
| enum | { OrderedMapIterRepVersion } |
Public Member Functions | |
| Bool | isValid () const |
| Checks to see if the iterator is in a valid state. More... | |
| Bool | atEnd () const |
| Checks to see if the iterator is at one of the map extremes, "atEnd()" or "atStart()". More... | |
| Bool | atStart () const |
| void | toStart () |
| Move the iterator to the beginning of the Map. More... | |
| void | operator++ () |
| Advance the iterator to the next key. More... | |
| void | operator++ (int) |
| const key & | getKey () const |
| Retrieve the key at the current iterator position. More... | |
| const key & | getKey (uInt inx) const |
| value & | getVal (uInt inx) |
| Retrieve the value at the given index in the internal block which stores the representation of the OrderedMap. More... | |
| const value & | getVal () const |
| Retrieve the value at the current iterator position. More... | |
| const value & | getVal (uInt inx) const |
| value & | getVal () |
| MapIterRep< key, value > * | Clone () |
| void | notify (const Notice &) |
| OrderedMapIterRep (OrderedMap< key, value > *st) | |
| These constructors allow a ListMapIter to be constructed from a ListMap. More... | |
| OrderedMapIterRep (OrderedMap< key, value > &st) | |
Protected Member Functions | |
| void | thrownext () const |
| void | throwInvalidIter () const |
Protected Attributes | |
| OrderedMap< key, value > * | container |
| uInt | CurIndex |
OrderedMap iterator "letter".
This is the "letter" which when paired (Const)MapIter "envelope" allows traversal of "OrderedMap"s.
Definition at line 48 of file OrderedMap.h.
| anonymous enum |
| Enumerator | |
|---|---|
| OrderedMapIterRepVersion | |
Definition at line 422 of file OrderedMap.h.
|
inline |
These constructors allow a ListMapIter to be constructed from a ListMap.
Definition at line 407 of file OrderedMap.h.
|
inline |
Definition at line 414 of file OrderedMap.h.
| Bool casacore::OrderedMapIterRep< key, value >::atEnd | ( | ) | const |
Checks to see if the iterator is at one of the map extremes, "atEnd()" or "atStart()".
| Bool casacore::OrderedMapIterRep< key, value >::atStart | ( | ) | const |
|
inline |
Definition at line 388 of file OrderedMap.h.
References casacore::OrderedMapIterRep< key, value >::container.
| const key& casacore::OrderedMapIterRep< key, value >::getKey | ( | ) | const |
Retrieve the key at the current iterator position.
|
inline |
Definition at line 352 of file OrderedMap.h.
References casacore::OrderedMapIterRep< key, value >::container, casacore::OrderedMapIterRep< key, value >::isValid(), and casacore::OrderedMapIterRep< key, value >::throwInvalidIter().
|
inline |
Definition at line 384 of file OrderedMap.h.
References casacore::OrderedMapIterRep< key, value >::CurIndex, and casacore::OrderedMapIterRep< key, value >::getVal().
Referenced by casacore::OrderedMapIterRep< key, value >::getVal().
| const value& casacore::OrderedMapIterRep< key, value >::getVal | ( | ) | const |
Retrieve the value at the current iterator position.
|
inline |
Retrieve the value at the given index in the internal block which stores the representation of the OrderedMap.
Note: This should typically not be used;
Definition at line 366 of file OrderedMap.h.
References casacore::OrderedMapIterRep< key, value >::container, casacore::OrderedMapIterRep< key, value >::isValid(), and casacore::OrderedMapIterRep< key, value >::throwInvalidIter().
|
inline |
Definition at line 378 of file OrderedMap.h.
References casacore::OrderedMapIterRep< key, value >::container, casacore::OrderedMapIterRep< key, value >::isValid(), and casacore::OrderedMapIterRep< key, value >::throwInvalidIter().
| Bool casacore::OrderedMapIterRep< key, value >::isValid | ( | ) | const |
Checks to see if the iterator is in a valid state.
Referenced by casacore::OrderedMapIterRep< key, value >::getKey(), and casacore::OrderedMapIterRep< key, value >::getVal().
| void casacore::OrderedMapIterRep< key, value >::notify | ( | const Notice & | ) |
| void casacore::OrderedMapIterRep< key, value >::operator++ | ( | ) |
Advance the iterator to the next key.
| void casacore::OrderedMapIterRep< key, value >::operator++ | ( | int | ) |
|
protected |
|
protected |
| void casacore::OrderedMapIterRep< key, value >::toStart | ( | ) |
Move the iterator to the beginning of the Map.
|
protected |
Definition at line 314 of file OrderedMap.h.
Referenced by casacore::OrderedMapIterRep< key, value >::Clone(), casacore::OrderedMapIterRep< key, value >::getKey(), and casacore::OrderedMapIterRep< key, value >::getVal().
|
protected |
Definition at line 316 of file OrderedMap.h.
Referenced by casacore::OrderedMapIterRep< key, value >::getVal().
1.8.18