#include <BasicClassGroupArray.h>
Collaboration diagram for BasicClassGroupArray:
Public Member Functions | |
unsigned int | create () |
Add a new BasicClassGroup to the end of the array. | |
void | destroy (const unsigned int id) |
Destroy an instance of a class group. | |
void | registerClass (BasicClassAccessorBase *accessor) |
Register a class with the group factory. | |
BasicClassGroup * | get (const unsigned int id) const |
If the id is invalid unexpected behavior may occur. | |
BasicClassGroup * | operator[] (const unsigned int id) const |
See BasicClassGroupArray::get(). | |
unsigned int | getSize () const |
See BasicArray::getSize(). | |
Private Attributes | |
BasicArray< BasicClassGroup * > | groups |
BasicClassGroupFactory | factory |
Allocated BasicClassGroups are kept in an array. They can then be accessed or deleted using an id which is simply an array index.
|
Add a new BasicClassGroup to the end of the array.
|
|
Destroy an instance of a class group. If the id is invalid unexpected behavior may occur.
|
|
If the id is invalid unexpected behavior may occur. See BasicClassGroupAccessor for information on how to access a class with in the group.
|
|
|
|
See BasicClassGroupArray::get().
|
|
Register a class with the group factory. See BasicClassGroupFactory::registerClass().
|
|
|
|
|