HDK
|
Holds pointers to a number of const SIM_Object objects. More...
#include <SIM_ObjectArray.h>
Static Public Member Functions | |
static int | compareConstObjectId (const SIM_Object *const *, const SIM_Object *const *) |
Holds pointers to a number of const SIM_Object objects.
Definition at line 56 of file SIM_ObjectArray.h.
|
inline |
Definition at line 60 of file SIM_ObjectArray.h.
|
inlineoverride |
Definition at line 63 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_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.
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.