#include <SIM_ObjectArray.h>

Public Member Functions | |
| SIM_ConstObjectArray () | |
| virtual | ~SIM_ConstObjectArray () |
| const SIM_ConstObjectArray & | operator= (const SIM_ObjectArray &src) |
| const SIM_Object * | findObjectById (int objectid) const |
| int | findPositionById (int objectid) const |
| void | filterConst (const SIM_DataFilter &filter, SIM_ConstObjectArray &filtered) const |
Static Public Member Functions | |
| static int | compareConstObjectId (const SIM_Object *const *, const SIM_Object *const *) |
Definition at line 58 of file SIM_ObjectArray.h.
| SIM_ConstObjectArray::SIM_ConstObjectArray | ( | ) |
| virtual SIM_ConstObjectArray::~SIM_ConstObjectArray | ( | ) | [virtual] |
| static int SIM_ConstObjectArray::compareConstObjectId | ( | const SIM_Object *const * | , | |
| const SIM_Object *const * | ||||
| ) | [static] |
This function is used for sorting the objects in the array. It compares objects using the object id values.
| void SIM_ConstObjectArray::filterConst | ( | const SIM_DataFilter & | filter, | |
| SIM_ConstObjectArray & | filtered | |||
| ) | const |
Fills an array with all the objects in this array that match the supplied filter.
| const SIM_Object* SIM_ConstObjectArray::findObjectById | ( | int | objectid | ) | const |
This function returns a pointer the the SIM_Object with the specified object id. If the object id is not found, it returns null.
| int SIM_ConstObjectArray::findPositionById | ( | int | objectid | ) | const |
This function returns the index within the array of the object with the specified id.
| const SIM_ConstObjectArray& SIM_ConstObjectArray::operator= | ( | const SIM_ObjectArray & | src | ) |
An assignment operator to copy a SIM_ObjectArray into a SIM_ConstObjectArray.
1.5.9