NL3D::CFastPtrList< T > Class Template Reference

Type Safe version of CFastPtrListBase. More...

#include <fast_ptr_list.h>

Inherits NL3D::CFastPtrListBase.

List of all members.

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

Detailed Description

template<class T>
class NL3D::CFastPtrList< T >

Type Safe version of CFastPtrListBase.

Author:
Lionel Berenguier
Nevrax France
Date:
2002

Definition at line 118 of file fast_ptr_list.h.


Constructor & Destructor Documentation

template<class T>
NL3D::CFastPtrList< T >::CFastPtrList (  )  [inline]

Constructor.

Definition at line 122 of file fast_ptr_list.h.

template<class T>
NL3D::CFastPtrList< T >::~CFastPtrList (  )  [inline]

Definition at line 123 of file fast_ptr_list.h.


Member Function Documentation

template<class T>
T** NL3D::CFastPtrList< T >::begin (  )  [inline]
template<class T>
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().

template<class T>
bool NL3D::CFastPtrList< T >::empty (  )  const [inline]
template<class T>
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().

template<class T>
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().

template<class T>
uint NL3D::CFastPtrList< T >::size (  )  const [inline]

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

Generated on Thu Jan 7 08:30:04 2010 for NeL by  doxygen 1.6.1