doom3-gpl
Doom 3 GPL source release
|
#include <StaticList.h>
Public Member Functions | |
idStaticList () | |
idStaticList (const idStaticList< type, size > &other) | |
~idStaticList (void) | |
void | Clear (void) |
int | Num (void) const |
int | Max (void) const |
void | SetNum (int newnum) |
size_t | Allocated (void) const |
size_t | Size (void) const |
size_t | MemoryUsed (void) const |
const type & | operator[] (int index) const |
type & | operator[] (int index) |
type * | Ptr (void) |
const type * | Ptr (void) const |
type * | Alloc (void) |
int | Append (const type &obj) |
int | Append (const idStaticList< type, size > &other) |
int | AddUnique (const type &obj) |
int | Insert (const type &obj, int index) |
int | FindIndex (const type &obj) const |
type * | Find (type const &obj) const |
int | FindNull (void) const |
int | IndexOf (const type *obj) const |
bool | RemoveIndex (int index) |
bool | Remove (const type &obj) |
void | Swap (idStaticList< type, size > &other) |
void | DeleteContents (bool clear) |
Private Attributes | |
int | num |
type | list [size] |
Definition at line 42 of file StaticList.h.
ID_INLINE idStaticList< type, size >::idStaticList | ( | ) |
Definition at line 88 of file StaticList.h.
ID_INLINE idStaticList< type, size >::idStaticList | ( | const idStaticList< type, size > & | other | ) |
Definition at line 98 of file StaticList.h.
ID_INLINE idStaticList< type, size >::~idStaticList | ( | void | ) |
Definition at line 108 of file StaticList.h.
ID_INLINE int idStaticList< type, size >::AddUnique | ( | const type & | obj | ) |
Definition at line 388 of file StaticList.h.
ID_INLINE type * idStaticList< type, size >::Alloc | ( | void | ) |
Definition at line 291 of file StaticList.h.
ID_INLINE size_t idStaticList< type, size >::Allocated | ( | void | ) | const |
Definition at line 181 of file StaticList.h.
Definition at line 309 of file StaticList.h.
ID_INLINE int idStaticList< type, size >::Append | ( | const idStaticList< type, size > & | other | ) |
Definition at line 366 of file StaticList.h.
ID_INLINE void idStaticList< type, size >::Clear | ( | void | ) |
Definition at line 119 of file StaticList.h.
ID_INLINE void idStaticList< type, size >::DeleteContents | ( | bool | clear | ) |
Definition at line 136 of file StaticList.h.
ID_INLINE type * idStaticList< type, size >::Find | ( | type const & | obj | ) | const |
Definition at line 428 of file StaticList.h.
ID_INLINE int idStaticList< type, size >::FindIndex | ( | const type & | obj | ) | const |
Definition at line 407 of file StaticList.h.
ID_INLINE int idStaticList< type, size >::FindNull | ( | void | ) | const |
Definition at line 450 of file StaticList.h.
ID_INLINE int idStaticList< type, size >::IndexOf | ( | const type * | obj | ) | const |
Definition at line 474 of file StaticList.h.
ID_INLINE int idStaticList< type, size >::Insert | ( | const type & | obj, |
int | index | ||
) |
Definition at line 332 of file StaticList.h.
ID_INLINE int idStaticList< type, size >::Max | ( | void | ) | const |
Definition at line 171 of file StaticList.h.
ID_INLINE size_t idStaticList< type, size >::MemoryUsed | ( | void | ) | const |
Definition at line 201 of file StaticList.h.
ID_INLINE int idStaticList< type, size >::Num | ( | void | ) | const |
Definition at line 159 of file StaticList.h.
ID_INLINE const type & idStaticList< type, size >::operator[] | ( | int | index | ) | const |
Definition at line 228 of file StaticList.h.
ID_INLINE type & idStaticList< type, size >::operator[] | ( | int | index | ) |
Definition at line 244 of file StaticList.h.
ID_INLINE type * idStaticList< type, size >::Ptr | ( | void | ) |
Definition at line 263 of file StaticList.h.
ID_INLINE const type * idStaticList< type, size >::Ptr | ( | void | ) | const |
Definition at line 279 of file StaticList.h.
ID_INLINE bool idStaticList< type, size >::Remove | ( | const type & | obj | ) |
Definition at line 523 of file StaticList.h.
ID_INLINE bool idStaticList< type, size >::RemoveIndex | ( | int | index | ) |
Definition at line 495 of file StaticList.h.
ID_INLINE void idStaticList< type, size >::SetNum | ( | int | newnum | ) |
Definition at line 213 of file StaticList.h.
ID_INLINE size_t idStaticList< type, size >::Size | ( | void | ) | const |
Definition at line 191 of file StaticList.h.
ID_INLINE void idStaticList< type, size >::Swap | ( | idStaticList< type, size > & | other | ) |
Definition at line 542 of file StaticList.h.
|
private |
Definition at line 79 of file StaticList.h.
|
private |
Definition at line 78 of file StaticList.h.