QHashNode< Key, T > Struct Template Reference

QHashNode< Key, T > Struct Template Reference

#include <qhash.h>

Class Description

template<class Key, class T>
struct QHashNode< Key, T >

Definition at line 216 of file qhash.h.

Public Member Functions

 QHashNode (const Key &key0)
 
 QHashNode (const Key &key0, const T &value0)
 
bool same_key (uint h0, const Key &key0)
 

Public Attributes

QHashNodenext
 
uint h
 
Key key
 
value
 

Constructor & Destructor Documentation

QHashNode ( const Key &  key0)
inline

Definition at line 223 of file qhash.h.

223 : key(key0) {} // ### remove in 5.0
Key key
Definition: qhash.h:220
QHashNode ( const Key &  key0,
const T &  value0 
)
inline

Definition at line 224 of file qhash.h.

224 : key(key0), value(value0) {}
Key key
Definition: qhash.h:220
T value
Definition: qhash.h:221

Member Function Documentation

bool same_key ( uint  h0,
const Key &  key0 
)
inline

Definition at line 225 of file qhash.h.

225 { return h0 == h && key0 == key; }
Key key
Definition: qhash.h:220
int int int int int int h
Definition: GLee.h:10534

Member Data Documentation

QHashNode* next

Definition at line 218 of file qhash.h.

uint h

Definition at line 219 of file qhash.h.

Key key

Definition at line 220 of file qhash.h.

T value

Definition at line 221 of file qhash.h.


The documentation for this struct was generated from the following file: