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

#include <PriorityVector.h>

Inherits DynamicVectorClass< T >.

Public Member Functions

virtual bool Process_Head (T &object)
 
virtual bool Add_Low (T const &object)
 
virtual bool Add_High (T const &object)
 
- Public Member Functions inherited from DynamicVectorClass< T >
 DynamicVectorClass (unsigned size=0, T const *array=0)
 
bool operator== (const DynamicVectorClass &src)
 
bool operator!= (const DynamicVectorClass &src)
 
virtual bool Resize (int newsize, T const *array=0)
 
virtual void Clear (void)
 
void Reset_Active (void)
 
void Set_Active (int count)
 
int Count (void) const
 
bool Add (T const &object)
 
bool Add_Head (T const &object)
 
bool Insert (int index, T const &object)
 
bool Delete (T const &object)
 
bool Delete (int index)
 
bool Delete_Index (int index)
 
void Delete_All (void)
 
int Set_Growth_Step (int step)
 
int Growth_Step (void)
 
virtual int ID (T const *ptr)
 
virtual int ID (T const &ptr)
 
DynamicVectorClass< T > & operator= (DynamicVectorClass< T > const &rvalue)
 
T * Uninitialized_Add (void)
 
 DynamicVectorClass (unsigned size=0, T const *array=0)
 
virtual bool Resize (int newsize, T const *array=0)
 
virtual void Clear (void)
 
int Count (void) const
 
bool Add (T const &object)
 
bool Add_Head (T const &object)
 
bool Delete (T const &object)
 
bool Delete (int index)
 
void Delete_All (void)
 
int Set_Growth_Step (int step)
 
int Growth_Step (void)
 
virtual int ID (T const *ptr)
 
virtual int ID (T const &ptr)
 
DynamicVectorClass< T > & operator= (DynamicVectorClass< T > const &rvalue)
 
T * Uninitialized_Add (void)
 
- Public Member Functions inherited from VectorClass< T >
WWINLINE VectorClass (NoInitClass const &)
 
 VectorClass (int size=0, T const *array=0)
 
 VectorClass (VectorClass< T > const &)
 
virtual ~VectorClass (void)
 
WWINLINE T & operator[] (int index)
 
WWINLINE T const & operator[] (int index) const
 
VectorClass< T > & operator= (VectorClass< T > const &)
 
virtual bool operator== (VectorClass< T > const &) const
 
WWINLINE int Length (void) const
 
 VectorClass (NoInitClass const &)
 
 VectorClass (int size=0, T const *array=0)
 
 VectorClass (VectorClass< T > const &)
 
virtual ~VectorClass (void)
 
T & operator[] (int index)
 
T const & operator[] (int index) const
 
VectorClass< T > & operator= (VectorClass< T > const &)
 
virtual bool operator== (VectorClass< T > const &) const
 
int Length (void) const
 

Additional Inherited Members

- Protected Attributes inherited from DynamicVectorClass< T >
int ActiveCount
 
int GrowthStep
 
- Protected Attributes inherited from VectorClass< T >
T * Vector
 
int VectorMax
 
bool IsValid
 
bool IsAllocated
 
bool VectorClassPad [2]
 

Detailed Description

template<class T>
class PriorityVectorClass< T >

Definition at line 48 of file PriorityVector.h.

Member Function Documentation

◆ Add_High()

template<class T>
__inline bool PriorityVectorClass< T >::Add_High ( T const & object)
virtual

Definition at line 111 of file PriorityVector.h.

◆ Add_Low()

template<class T>
__inline bool PriorityVectorClass< T >::Add_Low ( T const & object)
virtual

Definition at line 99 of file PriorityVector.h.

◆ Process_Head()

template<class T>
__inline bool PriorityVectorClass< T >::Process_Head ( T & object)
virtual

Definition at line 69 of file PriorityVector.h.


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