QHash< Key, T >::iterator Class Reference
#include <qhash.h>
template<class Key, class T>
class QHash< Key, T >::iterator
Definition at line 330 of file qhash.h.
Definition at line 345 of file qhash.h.
345 : i(reinterpret_cast<QHashData::Node *>(node)) { }
operator Node * |
( |
| ) |
const |
|
inline |
Definition at line 343 of file qhash.h.
343 {
return concrete(i); }
Definition at line 347 of file qhash.h.
347 {
return concrete(i)->key; }
Definition at line 348 of file qhash.h.
348 {
return concrete(i)->value; }
Definition at line 349 of file qhash.h.
349 {
return concrete(i)->value; }
T* operator-> |
( |
void |
| ) |
const |
|
inline |
Definition at line 350 of file qhash.h.
350 {
return &concrete(i)->value; }
bool operator== |
( |
const iterator & |
o | ) |
const |
|
inline |
bool operator!= |
( |
const iterator & |
o | ) |
const |
|
inline |
Definition at line 354 of file qhash.h.
static Node * nextNode(Node *node)
Definition at line 358 of file qhash.h.
GLdouble GLdouble GLdouble r
static Node * nextNode(Node *node)
Definition at line 363 of file qhash.h.
static Node * previousNode(Node *node)
Definition at line 367 of file qhash.h.
GLdouble GLdouble GLdouble r
static Node * previousNode(Node *node)
Definition at line 372 of file qhash.h.
373 {
iterator r = *
this;
if (j > 0)
while (j--) ++
r;
else while (j++) --
r;
return r; }
GLdouble GLdouble GLdouble r
Definition at line 374 of file qhash.h.
iterator operator+(int j) const
Definition at line 375 of file qhash.h.
375 {
return *
this = *
this + j; }
Definition at line 376 of file qhash.h.
376 {
return *
this = *
this - j; }
The documentation for this class was generated from the following file: