Proud::CListNode< T >::CListOwner Class Reference

Public Member Functions

void UnlinkAll ()
 
bool IsEmpty () const
 
void Erase (T *node)
 
void Insert (T *prevNode, T *node)
 
void PushBack (T *node)
 
void Replace (T *node, T *newNode)
 
T * GetFirst () const
 
T * GetLast () const
 
int GetCount () const
 

Public Attributes

bool m_enableAssertInThis
 

Member Function Documentation

template<typename T >
int Proud::CListNode< T >::CListOwner::GetCount ( ) const
inline

Get the count of the connected node

template<typename T >
T* Proud::CListNode< T >::CListOwner::GetFirst ( ) const
inline

Get the first node returned

template<typename T >
T* Proud::CListNode< T >::CListOwner::GetLast ( ) const
inline

Get the last node returned

template<typename T >
bool Proud::CListNode< T >::CListOwner::IsEmpty ( ) const
inline

Check to see if the node is empty.

Returns
Return true if empty, false if not.
template<typename T >
void Proud::CListNode< T >::CListOwner::UnlinkAll ( )
inline

Removed the connected link