Richard Boegli's CnC_Generals_Zero_Hour Fork WIP
This is documentation of Richard Boegil's Zero Hour Fork
 
Loading...
Searching...
No Matches
NTreeLeafClass< T > Class Template Reference

#include <ntree.h>

Inherits RefCountClass.

Inherited by SortedNTreeLeafClass< T >.

Public Member Functions

 NTreeLeafClass (void)
 
virtual ~NTreeLeafClass (void)
 
virtual NTreeLeafClass< T > * Add_Child (const T &value)
 
virtual NTreeLeafClass< T > * Add (const T &value)
 
virtual void Remove (void)
 
virtual const T & Get_Value (void) const
 
virtual void Set_Value (const T &data)
 
NTreeLeafClass< T > * Peek_Parent (void)
 
NTreeLeafClass< T > * Peek_Child (void)
 
NTreeLeafClass< T > * Peek_Next (void)
 
NTreeLeafClass< T > * Peek_Prev (void)
 
- Public Member Functions inherited from RefCountClass
 RefCountClass (void)
 
 RefCountClass (const RefCountClass &)
 
void Add_Ref (void) const
 
WWINLINE void Release_Ref (void) const
 
int Num_Refs (void) const
 
virtual void Delete_This (void)
 

Protected Member Functions

void Set_Parent (NTreeLeafClass< T > *parent)
 
void Set_Child (NTreeLeafClass< T > *child)
 
void Set_Prev (NTreeLeafClass< T > *prev)
 
void Set_Next (NTreeLeafClass< T > *next)
 
- Protected Member Functions inherited from RefCountClass
virtual ~RefCountClass (void)
 

Protected Attributes

NTreeLeafClass< T > * m_Parent
 
NTreeLeafClass< T > * m_Child
 
NTreeLeafClass< T > * m_NextSibling
 
NTreeLeafClass< T > * m_PrevSibling
 
m_Data
 

Additional Inherited Members

- Static Public Member Functions inherited from RefCountClass
static int Total_Refs (void)
 
static RefCountClassAdd_Active_Ref (RefCountClass *obj)
 
static RefCountClassSet_Ref_Owner (RefCountClass *obj, char *file, int line)
 
static void Remove_Active_Ref (RefCountClass *obj)
 
static bool Validate_Active_Ref (RefCountClass *obj)
 
- Public Attributes inherited from RefCountClass
RefCountNodeClass ActiveRefNode
 
ActiveRefStruct ActiveRefInfo
 
- Static Public Attributes inherited from RefCountClass
static RefCountListClass ActiveRefList
 

Detailed Description

template<class T>
class NTreeLeafClass< T >

Definition at line 238 of file ntree.h.

Constructor & Destructor Documentation

◆ NTreeLeafClass()

template<class T>
NTreeLeafClass< T >::NTreeLeafClass ( void )
inline

Definition at line 245 of file ntree.h.

◆ ~NTreeLeafClass()

template<class T>
NTreeLeafClass< T >::~NTreeLeafClass ( void )
virtual

Definition at line 304 of file ntree.h.

Member Function Documentation

◆ Add()

template<class T>
NTreeLeafClass< T > * NTreeLeafClass< T >::Add ( const T & value)
virtual

Definition at line 342 of file ntree.h.

◆ Add_Child()

template<class T>
NTreeLeafClass< T > * NTreeLeafClass< T >::Add_Child ( const T & value)
virtual

Definition at line 317 of file ntree.h.

◆ Get_Value()

template<class T>
virtual const T & NTreeLeafClass< T >::Get_Value ( void ) const
inlinevirtual

Definition at line 267 of file ntree.h.

◆ Peek_Child()

template<class T>
NTreeLeafClass< T > * NTreeLeafClass< T >::Peek_Child ( void )
inline

Definition at line 274 of file ntree.h.

◆ Peek_Next()

template<class T>
NTreeLeafClass< T > * NTreeLeafClass< T >::Peek_Next ( void )
inline

Definition at line 275 of file ntree.h.

◆ Peek_Parent()

template<class T>
NTreeLeafClass< T > * NTreeLeafClass< T >::Peek_Parent ( void )
inline

Definition at line 273 of file ntree.h.

◆ Peek_Prev()

template<class T>
NTreeLeafClass< T > * NTreeLeafClass< T >::Peek_Prev ( void )
inline

Definition at line 276 of file ntree.h.

◆ Remove()

template<class T>
void NTreeLeafClass< T >::Remove ( void )
virtual

Definition at line 369 of file ntree.h.

◆ Set_Child()

template<class T>
void NTreeLeafClass< T >::Set_Child ( NTreeLeafClass< T > * child)
inlineprotected

Definition at line 284 of file ntree.h.

◆ Set_Next()

template<class T>
void NTreeLeafClass< T >::Set_Next ( NTreeLeafClass< T > * next)
inlineprotected

Definition at line 286 of file ntree.h.

◆ Set_Parent()

template<class T>
void NTreeLeafClass< T >::Set_Parent ( NTreeLeafClass< T > * parent)
inlineprotected

Definition at line 283 of file ntree.h.

◆ Set_Prev()

template<class T>
void NTreeLeafClass< T >::Set_Prev ( NTreeLeafClass< T > * prev)
inlineprotected

Definition at line 285 of file ntree.h.

◆ Set_Value()

template<class T>
virtual void NTreeLeafClass< T >::Set_Value ( const T & data)
inlinevirtual

Definition at line 268 of file ntree.h.

Member Data Documentation

◆ m_Child

template<class T>
NTreeLeafClass<T>* NTreeLeafClass< T >::m_Child
protected

Definition at line 292 of file ntree.h.

◆ m_Data

template<class T>
T NTreeLeafClass< T >::m_Data
protected

Definition at line 296 of file ntree.h.

◆ m_NextSibling

template<class T>
NTreeLeafClass<T>* NTreeLeafClass< T >::m_NextSibling
protected

Definition at line 293 of file ntree.h.

◆ m_Parent

template<class T>
NTreeLeafClass<T>* NTreeLeafClass< T >::m_Parent
protected

Definition at line 291 of file ntree.h.

◆ m_PrevSibling

template<class T>
NTreeLeafClass<T>* NTreeLeafClass< T >::m_PrevSibling
protected

Definition at line 294 of file ntree.h.


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