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