Qt 4.8
Public Functions | Public Variables | List of all members
QCache< Key, T >::Node Struct Reference

Public Functions

 Node ()
 
 Node (T *data, int cost)
 

Public Variables

int c
 
const Key * keyPtr
 
Noden
 
Nodep
 
T * t
 

Detailed Description

template<class Key, class T>
struct QCache< Key, T >::Node

Definition at line 56 of file qcache.h.

Constructors and Destructors

◆ Node() [1/2]

template<class Key, class T>
QCache< Key, T >::Node::Node ( )
inline

Definition at line 57 of file qcache.h.

57 : keyPtr(0) {}
const Key * keyPtr
Definition: qcache.h:60

◆ Node() [2/2]

template<class Key, class T>
QCache< Key, T >::Node::Node ( T *  data,
int  cost 
)
inline

Definition at line 58 of file qcache.h.

59  : keyPtr(0), t(data), c(cost), p(0), n(0) {}
Node * p
Definition: qcache.h:60
const Key * keyPtr
Definition: qcache.h:60
static const char * data(const QByteArray &arr)
Node * n
Definition: qcache.h:60

Properties

◆ c

template<class Key, class T>
int QCache< Key, T >::Node::c

Definition at line 60 of file qcache.h.

◆ keyPtr

template<class Key, class T>
const Key* QCache< Key, T >::Node::keyPtr

Definition at line 60 of file qcache.h.

◆ n

template<class Key, class T>
Node * QCache< Key, T >::Node::n

◆ p

template<class Key, class T>
Node* QCache< Key, T >::Node::p

Definition at line 60 of file qcache.h.

Referenced by QCache< QPixmapCache::Key, QPixmapCacheEntry >::insert().

◆ t

template<class Key, class T>
T* QCache< Key, T >::Node::t

Definition at line 60 of file qcache.h.

Referenced by QCache< QPixmapCache::Key, QPixmapCacheEntry >::clear().


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