#include <bdlc_indexclerk.h>
This class defines an in-core value-semantic iterator providing sequential read-only access to the decommissioned indices of a IndexClerk. The order of iteration is implementation dependent.
See bdlc_indexclerk
◆ IndexClerkIter() [1/3]
| bdlc::IndexClerkIter::IndexClerkIter |
( |
| ) |
|
|
inline |
◆ IndexClerkIter() [2/3]
| bdlc::IndexClerkIter::IndexClerkIter |
( |
const int * |
index | ) |
|
|
inline |
◆ IndexClerkIter() [3/3]
| bdlc::IndexClerkIter::IndexClerkIter |
( |
const IndexClerkIter & |
original | ) |
|
|
inline |
Create an iterator having the same value as the specified original iterator.
◆ BSLMF_NESTED_TRAIT_DECLARATION()
◆ operator*()
| int bdlc::IndexClerkIter::operator* |
( |
| ) |
const |
|
inline |
Return the value of the integer to which this iterator currently refers. The behavior is undefined unless the iterator is within the range [ begin() .. end() ).
◆ operator++()
Increment this iterator to refer to the next index in the corresponding sequence of decommissioned indices. Return a reference to this modifiable iterator. The behavior is undefined unless the current index is within the range [ begin() .. end() ).
◆ operator--()
Decrement this iterator to refer to the previous index in the corresponding sequence of decommissioned indices. Return a reference to this modifiable iterator. The behavior is undefined unless the current index is within the range ( begin() .. end() ].
◆ operator=()
Create an iterator having the same value as the specified rhs iterator.
◆ operator!=
Return true if lhs and rhs do not have the same value and false otherwise. Two iterators do not have the same value if they do not refer to the same element of the same container or if one has the end iterator value of a container and the other refers to an element (not the end) of the same container. The behavior is undefined unless lhs and rhs refer to the same container and are non-singular (i.e., are not default-constructed or copies of singular iterators).
◆ operator==
Return true if lhs and rhs have the same value and false otherwise. Two iterators have the same value if they refer to the same element of the same container or if they both have the end iterator value for the same container. The behavior is undefined unless lhs and rhs refer to the same container and are non-singular (i.e., are not default-constructed or copies of singular iterators).
The documentation for this class was generated from the following file: