#include <qhash.h>
Public Types |
|
|
typedef std::bidirectional_iterator_tag |
iterator_category |
| typedef qptrdiff | difference_type |
| typedef T | value_type |
| typedef T * | pointer |
| typedef T & | reference |
Public Member Functions |
|
| operator Node * () const | |
| iterator () | |
| iterator (void *node) | |
| const Key & | key () const |
| T & | value () const |
| T & | operator* () const |
| T * | operator-> () const |
| bool | operator== (const iterator &o) const |
| bool | operator!= (const iterator &o) const |
| iterator & | operator++ () |
| iterator | operator++ (int) |
| iterator & | operator-- () |
| iterator | operator-- (int) |
| iterator | operator+ (int j) const |
| iterator | operator- (int j) const |
| iterator & | operator+= (int j) |
| iterator & | operator-= (int j) |
| bool | operator== (const const_iterator &o) const |
| bool | operator!= (const const_iterator &o) const |
Friends |
|
| class | const_iterator |
| typedef std::bidirectional_iterator_tag iterator_category |
| typedef qptrdiff difference_type |
| typedef T value_type |
| typedef T* pointer |
| typedef T& reference |
| iterator | ( | void * | node | ) | [inline, explicit] |
| const Key& key | ( | ) | const [inline] |
| T& value | ( | ) | const [inline] |
| T& operator* | ( | ) | const [inline] |
| T* operator-> | ( | void | ) | const [inline] |
| bool operator== | ( | const iterator & | o | ) | const [inline] |
| bool operator!= | ( | const iterator & | o | ) | const [inline] |
| iterator& operator++ | ( | ) | [inline] |
Definition at line 350 of file qhash.h.
{
i = QHashData::nextNode(i);
return *this;
}
| iterator operator++ | ( | int | ) | [inline] |
Definition at line 354 of file qhash.h.
{
iterator r = *this;
i = QHashData::nextNode(i);
return r;
}
| iterator& operator-- | ( | ) | [inline] |
Definition at line 359 of file qhash.h.
{
i = QHashData::previousNode(i);
return *this;
}
| iterator operator-- | ( | int | ) | [inline] |
Definition at line 363 of file qhash.h.
{
iterator r = *this;
i = QHashData::previousNode(i);
return r;
}
| iterator operator+ | ( | int | j | ) | const [inline] |
| iterator operator- | ( | int | j | ) | const [inline] |
| iterator& operator+= | ( | int | j | ) | [inline] |
| iterator& operator-= | ( | int | j | ) | [inline] |
| bool operator== | ( | const const_iterator & | o | ) | const [inline] |
| bool operator!= | ( | const const_iterator & | o | ) | const [inline] |
friend class const_iterator
[friend] |