Tkrzw
|
Const iterator of records. More...
#include <tkrzw_containers.h>
Public Member Functions | |
ConstIterator (const ConstIterator &rhs) | |
Copy constructor. More... | |
const Record & | operator* () const |
Gets the reference to the current record. More... | |
const Record * | operator-> () const |
Accesses a member of the current record. More... | |
ConstIterator & | operator= (const ConstIterator &rhs) |
Assignment operator from the self type. More... | |
bool | operator== (const ConstIterator &rhs) const |
Equality operator with the self type. More... | |
bool | operator!= (const ConstIterator &rhs) const |
Non-equality operator with the self type. More... | |
ConstIterator & | operator++ () |
Preposting increment operator. More... | |
ConstIterator | operator++ (int) |
Postpositive increment operator. More... | |
ConstIterator & | operator-- () |
Preposting decrement operator. More... | |
ConstIterator | operator-- (int) |
Postpositive decrement operator. More... | |
Friends | |
class | LinkedHashMap |
Const iterator of records.
The iterator is invalidated when the current record is removed.
tkrzw::LinkedHashMap< KEYTYPE, VALUETYPE, HASHTYPE, EQUALTOTYPE >::ConstIterator::ConstIterator | ( | const ConstIterator & | rhs | ) |
Copy constructor.
rhs | The right-hand-side object. |
const Record& tkrzw::LinkedHashMap< KEYTYPE, VALUETYPE, HASHTYPE, EQUALTOTYPE >::ConstIterator::operator* | ( | ) | const |
Gets the reference to the current record.
const Record* tkrzw::LinkedHashMap< KEYTYPE, VALUETYPE, HASHTYPE, EQUALTOTYPE >::ConstIterator::operator-> | ( | ) | const |
Accesses a member of the current record.
ConstIterator& tkrzw::LinkedHashMap< KEYTYPE, VALUETYPE, HASHTYPE, EQUALTOTYPE >::ConstIterator::operator= | ( | const ConstIterator & | rhs | ) |
Assignment operator from the self type.
rhs | The right-hand-side object. |
bool tkrzw::LinkedHashMap< KEYTYPE, VALUETYPE, HASHTYPE, EQUALTOTYPE >::ConstIterator::operator== | ( | const ConstIterator & | rhs | ) | const |
Equality operator with the self type.
rhs | The right-hand-side object. |
bool tkrzw::LinkedHashMap< KEYTYPE, VALUETYPE, HASHTYPE, EQUALTOTYPE >::ConstIterator::operator!= | ( | const ConstIterator & | rhs | ) | const |
Non-equality operator with the self type.
rhs | The right-hand-side object. |
ConstIterator& tkrzw::LinkedHashMap< KEYTYPE, VALUETYPE, HASHTYPE, EQUALTOTYPE >::ConstIterator::operator++ | ( | ) |
Preposting increment operator.
ConstIterator tkrzw::LinkedHashMap< KEYTYPE, VALUETYPE, HASHTYPE, EQUALTOTYPE >::ConstIterator::operator++ | ( | int | ) |
Postpositive increment operator.
ConstIterator& tkrzw::LinkedHashMap< KEYTYPE, VALUETYPE, HASHTYPE, EQUALTOTYPE >::ConstIterator::operator-- | ( | ) |
Preposting decrement operator.
ConstIterator tkrzw::LinkedHashMap< KEYTYPE, VALUETYPE, HASHTYPE, EQUALTOTYPE >::ConstIterator::operator-- | ( | int | ) |
Postpositive decrement operator.