| Open CASCADE Technology
    7.4.0
    | 
This class provides basic services for the iterators on Maps. The iterators are inherited from this one. More...
#include <TCollection_BasicMapIterator.hxx>

| Public Member Functions | |
| void | Reset () | 
| Resets the iterator to the first node.  More... | |
| Standard_Boolean | More () const | 
| Returns true if there is a current entry for this iterator in the map. Use the function Next to set this iterator to the position of the next entry, if it exists.  More... | |
| void | Next () | 
| Sets this iterator to the position of the next entry of the map. Nothing is changed if there is no more entry to explore in the map: this iterator is always positioned on the last entry of the map but the function More returns false.  More... | |
| Protected Member Functions | |
| TCollection_BasicMapIterator () | |
| Creates an empty iterator.  More... | |
| TCollection_BasicMapIterator (const TCollection_BasicMap &M) | |
| Initialize on the first node in the buckets.  More... | |
| void | Initialize (const TCollection_BasicMap &M) | 
| Initialize on the first node in the buckets.  More... | |
| Protected Attributes | |
| Standard_Address | myNode | 
This class provides basic services for the iterators on Maps. The iterators are inherited from this one.
The iterator contains an array of pointers (buckets). Each bucket is a pointer on a node. A node contains a pointer on the next node.
This class provides also basic services for the implementation of Maps. A map iterator provides a step by step exploration of all entries of a map. After initialization of a concrete derived iterator, use in a loop:
| 
 | protected | 
Creates an empty iterator.
| 
 | protected | 
Initialize on the first node in the buckets.
| 
 | protected | 
Initialize on the first node in the buckets.
| Standard_Boolean TCollection_BasicMapIterator::More | ( | ) | const | 
Returns true if there is a current entry for this iterator in the map. Use the function Next to set this iterator to the position of the next entry, if it exists.
| void TCollection_BasicMapIterator::Next | ( | ) | 
Sets this iterator to the position of the next entry of the map. Nothing is changed if there is no more entry to explore in the map: this iterator is always positioned on the last entry of the map but the function More returns false.
| void TCollection_BasicMapIterator::Reset | ( | ) | 
Resets the iterator to the first node.
| 
 | protected | 
 1.8.13
 1.8.13