Public Member Functions | Public Attributes

QHashNode< Key, T > Struct Template Reference

Search for all occurrences

Detailed Description

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

Definition at line 216 of file qhash.h.

#include <qhash.h>

List of all members.

Public Member Functions

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

Public Attributes

QHashNode next
uint  h
Key  key
value

Constructor & Destructor Documentation

QHashNode ( const Key &  key0 ) [inline]

Definition at line 223 of file qhash.h.

: key(key0) {} // ### remove in 5.0
QHashNode ( const Key &  key0,
const T &  value0 
) [inline]

Definition at line 224 of file qhash.h.

: key(key0), value(value0) {}

Member Function Documentation

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

Definition at line 225 of file qhash.h.

{ return h0 == h && key0 == key; }

Member Data Documentation

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: