![]() |
Qt 6.x
The Qt SDK
|
#include <qfreelist_p.h>
Collaboration diagram for QFreeListElement< T >:Public Types | |
| typedef const T & | ConstReferenceType |
| typedef T & | ReferenceType |
Public Member Functions | |
| ConstReferenceType | t () const |
| ReferenceType | t () |
Public Attributes | |
| T | _t |
| QAtomicInt | next |
Element in a QFreeList. ConstReferenceType and ReferenceType are used as the return values for QFreeList::at() and QFreeList::operator[](). Contains the real data storage (_t) and the id of the next free element (next).
Note: the t() functions should be used to access the data, not _t.
Definition at line 32 of file qfreelist_p.h.
| typedef const T& QFreeListElement< T >::ConstReferenceType |
Definition at line 34 of file qfreelist_p.h.
| typedef T& QFreeListElement< T >::ReferenceType |
Definition at line 35 of file qfreelist_p.h.
|
inline |
Definition at line 41 of file qfreelist_p.h.
References QFreeListElement< T >::_t.
|
inline |
Definition at line 40 of file qfreelist_p.h.
References QFreeListElement< T >::_t.
| T QFreeListElement< T >::_t |
Definition at line 37 of file qfreelist_p.h.
Referenced by QFreeListElement< T >::t(), and QFreeListElement< T >::t().
| QAtomicInt QFreeListElement< T >::next |
Definition at line 38 of file qfreelist_p.h.