Type Safe version of CFastPtrListBase. More...
#include <fast_ptr_list.h>
Inherits NL3D::CFastPtrListBase.
Public Member Functions | |
| CFastPtrList () | |
| Constructor. | |
| ~CFastPtrList () | |
| void | insert (T *element, CFastPtrListNode *node) |
| insert an element in the list through its Node, unlinking older if necessary | |
| void | erase (CFastPtrListNode *node) |
| erase an element in the list through its Node, unlinking older if necessary | |
| T ** | begin () |
| Get the head on the array of elements. NULL if none. | |
| uint | size () const |
| get the number of elements | |
| bool | empty () const |
| void | clear () |
| clear the list | |
Type Safe version of CFastPtrListBase.
Definition at line 118 of file fast_ptr_list.h.
| NL3D::CFastPtrList< T >::CFastPtrList | ( | ) | [inline] |
Constructor.
Definition at line 122 of file fast_ptr_list.h.
| NL3D::CFastPtrList< T >::~CFastPtrList | ( | ) | [inline] |
Definition at line 123 of file fast_ptr_list.h.
| T** NL3D::CFastPtrList< T >::begin | ( | ) | [inline] |
Get the head on the array of elements. NULL if none.
Reimplemented from NL3D::CFastPtrListBase.
Definition at line 131 of file fast_ptr_list.h.
Referenced by NL3D::CFastPtrList< CTransform >::begin(), NL3D::CTransform::clipGetChild(), NL3D::CTransform::hrcGetChild(), NL3D::CLightTrav::traverse(), and NL3D::CQuadGridClipManager::traverseClip().
| void NL3D::CFastPtrList< T >::clear | ( | ) | [inline] |
clear the list
Reimplemented from NL3D::CFastPtrListBase.
Definition at line 137 of file fast_ptr_list.h.
Referenced by NL3D::CFastPtrList< CTransform >::clear().
| bool NL3D::CFastPtrList< T >::empty | ( | ) | const [inline] |
Reimplemented from NL3D::CFastPtrListBase.
Definition at line 134 of file fast_ptr_list.h.
Referenced by NL3D::CFastPtrList< CTransform >::empty(), and NL3D::CTransform::~CTransform().
| void NL3D::CFastPtrList< T >::erase | ( | CFastPtrListNode * | node | ) | [inline] |
erase an element in the list through its Node, unlinking older if necessary
Reimplemented from NL3D::CFastPtrListBase.
Definition at line 128 of file fast_ptr_list.h.
Referenced by NL3D::CFastPtrList< CTransform >::erase().
| void NL3D::CFastPtrList< T >::insert | ( | T * | element, | |
| CFastPtrListNode * | node | |||
| ) | [inline] |
insert an element in the list through its Node, unlinking older if necessary
Definition at line 126 of file fast_ptr_list.h.
Referenced by NL3D::CLightTrav::addPointLightModel(), NL3D::CTransform::clipAddChild(), NL3D::CTransform::hrcLinkSon(), NL3D::CFastPtrList< CTransform >::insert(), and NL3D::CQuadGridClipManager::linkModel().
| uint NL3D::CFastPtrList< T >::size | ( | ) | const [inline] |
get the number of elements
Reimplemented from NL3D::CFastPtrListBase.
Definition at line 133 of file fast_ptr_list.h.
Referenced by NL3D::CTransform::clipGetChild(), NL3D::CTransform::clipGetNumChildren(), NL3D::CTransform::hrcGetChild(), NL3D::CTransform::hrcGetNumChildren(), NL3D::CFastPtrList< CTransform >::size(), NL3D::CLightTrav::traverse(), and NL3D::CQuadGridClipManager::traverseClip().
1.6.1