HDK
|
Holds pointers to a number of SIM_Relationships. More...
#include <SIM_RelationshipArray.h>
Static Public Member Functions | |
static int | compareRelationshipNames (SIM_Relationship *const *, SIM_Relationship *const *) |
Function for sorting pointers according to the relationship name. More... | |
Holds pointers to a number of SIM_Relationships.
Definition at line 19 of file SIM_RelationshipArray.h.
SIM_RelationshipArray::SIM_RelationshipArray | ( | ) |
|
override |
|
static |
Function for sorting pointers according to the relationship name.
void SIM_RelationshipArray::filter | ( | const SIM_DataFilter & | filter, |
SIM_DataArray & | rels | ||
) | const |
Get all relationships of a particular type. Note that the filter is applied to the SIM_RelationshipData subdata of the SIM_Relationship, not to the SIM_Relationship itself.
void SIM_RelationshipArray::filterConst | ( | const SIM_DataFilter & | filter, |
SIM_ConstDataArray & | rels | ||
) | const |
Get const pointers to all relationships of a particular type. As with filter(), the SIM_DataFilter is applied to the SIM_RelationshipData subdata, not the SIM_Relationship itself.
SIM_Relationship* SIM_RelationshipArray::findRelationshipByName | ( | const char * | name | ) | const |
Find the relationship with the specified name.
int SIM_RelationshipArray::findRelationshipPosByName | ( | const char * | name | ) | const |
Find the position of the relationship with the specified name.
Change the supplied name to make it different from any other relationship in this array.