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

#include <ntree.h>

Inherits NTreeLeafClass< T >.

Public Member Functions

 SortedNTreeLeafClass (void)
 
 ~SortedNTreeLeafClass (void)
 
SortedNTreeLeafClass< T > * Add_Sorted (const T &value, const char *name)
 
SortedNTreeLeafClass< T > * Add_Child_Sorted (const T &value, const char *name)
 
const StringClassGet_Name (void) const
 
void Set_Name (const char *name)
 
- Public Member Functions inherited from NTreeLeafClass< T >
 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 Insertion_Sort (SortedNTreeLeafClass< T > *start, SortedNTreeLeafClass< T > *new_sibling)
 
- Protected Member Functions inherited from NTreeLeafClass< T >
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

StringClass m_Name
 
- Protected Attributes inherited from NTreeLeafClass< T >
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 SortedNTreeLeafClass< T >

Definition at line 414 of file ntree.h.

Constructor & Destructor Documentation

◆ SortedNTreeLeafClass()

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

Definition at line 421 of file ntree.h.

◆ ~SortedNTreeLeafClass()

template<class T>
SortedNTreeLeafClass< T >::~SortedNTreeLeafClass ( void )
inline

Definition at line 422 of file ntree.h.

Member Function Documentation

◆ Add_Child_Sorted()

template<class T>
SortedNTreeLeafClass< T > * SortedNTreeLeafClass< T >::Add_Child_Sorted ( const T & value,
const char * name )

Definition at line 484 of file ntree.h.

◆ Add_Sorted()

template<class T>
SortedNTreeLeafClass< T > * SortedNTreeLeafClass< T >::Add_Sorted ( const T & value,
const char * name )

Definition at line 451 of file ntree.h.

◆ Get_Name()

template<class T>
const StringClass & SortedNTreeLeafClass< T >::Get_Name ( void ) const
inline

Definition at line 430 of file ntree.h.

◆ Insertion_Sort()

template<class T>
void SortedNTreeLeafClass< T >::Insertion_Sort ( SortedNTreeLeafClass< T > * start,
SortedNTreeLeafClass< T > * new_sibling )
protected

Definition at line 524 of file ntree.h.

◆ Set_Name()

template<class T>
void SortedNTreeLeafClass< T >::Set_Name ( const char * name)
inline

Definition at line 431 of file ntree.h.

Member Data Documentation

◆ m_Name

template<class T>
StringClass SortedNTreeLeafClass< T >::m_Name
protected

Definition at line 443 of file ntree.h.


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