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