OpenMoHAA 0.82.0
Loading...
Searching...
No Matches
ContainerClass< Type > Class Template Reference
Inheritance diagram for ContainerClass< Type >:
Class LightClass

Public Member Functions

 ContainerClass (const Container< Type > &container)
 
ContainerClass< Type > & operator= (const Container< Type > &container)
 
 ContainerClass (Container< Type > &&container)
 
ContainerClass< Type > & operator= (Container< Type > &&container)
 
void Archive (Archiver &arc) override
 
int AddObject (const Type &obj)
 
int AddUniqueObject (const Type &obj)
 
void AddObjectAt (int index, const Type &obj)
 
Type * AddressOfObjectAt (int index)
 
void ClearObjectList (void)
 
void FreeObjectList (void)
 
int IndexOfObject (const Type &obj)
 
void InsertObjectAt (int index, const Type &obj)
 
int NumObjects (void) const
 
Type & ObjectAt (const size_t index) const
 
bool ObjectInList (const Type &obj)
 
void RemoveObjectAt (int index)
 
void RemoveObject (const Type &obj)
 
void Reset (void)
 
void Resize (int maxelements)
 
void SetObjectAt (int index, const Type &obj)
 
void Sort (int(*compare)(const void *elem1, const void *elem2))
 
Type & operator[] (const int index) const
 
- Public Member Functions inherited from Class
virtual ClassDefclassinfo (void) const
 
void warning (const char *function, const char *format,...) const
 
void error (const char *function, const char *format,...) const
 
qboolean inheritsFrom (ClassDef *c) const
 
qboolean inheritsFrom (const char *name) const
 
qboolean isInheritedBy (const char *name) const
 
qboolean isInheritedBy (ClassDef *c) const
 
const char * getClassname (void) const
 
const char * getClassID (void) const
 
const char * getSuperclass (void) const
 
- Public Member Functions inherited from LightClass
void * operator new (size_t s)
 
void operator delete (void *ptr)
 
void * operator new (size_t size, void *placement)
 
void operator delete (void *ptr, void *placement)
 
template<typename T>
void * operator new (size_t size, T &placement)
 
template<typename T>
void operator delete (void *ptr, T &placement)
 

Additional Inherited Members

- Static Public Member Functions inherited from Class
static void * _newInstance (void)
 
static ClassDefclassinfostatic (void)
 
- Static Public Attributes inherited from Class
static ClassDef ClassInfo
 
static ClassDefHook _ClassInfo_
 
static ResponseDef< ClassResponses []
 
- Protected Member Functions inherited from Class
void ClearSafePointers ()
 

Member Function Documentation

◆ Archive()

template<class Type>
void ContainerClass< Type >::Archive ( Archiver & arc)
overridevirtual

Reimplemented from Class.


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