Default behavior of the collection adds only reference.
More...
#include <ICollection.h>
|
typedef map< int, T * > | CollectionMap_type |
|
|
T * | GetAt (int index) |
|
const T * | GetAt (int index) const |
|
int | CopyInsert (T *obj, int index) |
|
int | Insert (T *obj, int index) |
|
void | Clear () |
|
int | Remove (int index) |
|
int | Remove () |
|
void | CopyAdd (const T *obj) |
|
void | Add (T *obj) |
|
int | CopySetAt (const T *obj, int index) |
|
int | SetAt (T *obj, int index) |
|
int | IndexOf (const T *obj) const |
|
int | Size () const |
|
int | Resize (int newsize) |
|
|
CollectionMap_type | m_items |
|
int | m_nSize |
|
template<class T>
class ParaEngine::Collection_Map< T >
Default behavior of the collection adds only reference.
But you can use the CopyXXX methods to add a copy to the collection. Template class T must inherited from IObject
The documentation for this class was generated from the following file: