HDK
|
Holds pointers to a number of SIM_Object objects. More...
#include <SIM_ObjectArray.h>
Static Public Member Functions | |
static int | compareObjectId (SIM_Object *const *, SIM_Object *const *) |
Holds pointers to a number of SIM_Object objects.
Definition at line 20 of file SIM_ObjectArray.h.
|
inline |
Definition at line 24 of file SIM_ObjectArray.h.
|
inlineoverride |
Definition at line 28 of file SIM_ObjectArray.h.
|
static |
This function is used for sorting the objects in the array. It compares objects using the object id values.
void SIM_ObjectArray::filter | ( | const SIM_DataFilter & | filter, |
SIM_ObjectArray & | filtered | ||
) | const |
Fills an array with all the objects in this array that match the supplied filter.
void SIM_ObjectArray::filterConst | ( | const SIM_DataFilter & | filter, |
SIM_ConstObjectArray & | filtered | ||
) | const |
Fills an array with all the objects in this array that match the supplied filter.
SIM_Object* SIM_ObjectArray::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.
This function returns the index within the array of the object with the specified id. Returns -1 if objectid doesn't occur in the array.