#include <SIM_RelationshipArray.h>

Public Member Functions | |
| SIM_RelationshipArray () | |
| virtual | ~SIM_RelationshipArray () |
| void | forceUniqueRelationshipName (UT_String &name) const |
| SIM_Relationship * | findRelationshipByName (const char *name) const |
| Find the relationship with the specified name. | |
| int | findRelationshipPosByName (const char *name) const |
| Find the position of the relationship with the specified name. | |
| void | filter (const SIM_DataFilter &filter, SIM_DataArray &rels) const |
| void | filterConst (const SIM_DataFilter &filter, SIM_ConstDataArray &rels) const |
Static Public Member Functions | |
| static int | compareRelationshipNames (SIM_Relationship *const *, SIM_Relationship *const *) |
| Function for sorting pointers according to the relationship name. | |
Definition at line 25 of file SIM_RelationshipArray.h.
| SIM_RelationshipArray::SIM_RelationshipArray | ( | ) |
| virtual SIM_RelationshipArray::~SIM_RelationshipArray | ( | ) | [virtual] |
| static int SIM_RelationshipArray::compareRelationshipNames | ( | SIM_Relationship *const * | , | |
| SIM_Relationship *const * | ||||
| ) | [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.
| void SIM_RelationshipArray::forceUniqueRelationshipName | ( | UT_String & | name | ) | const |
Change the supplied name to make it different from any other relationship in this array.
1.5.9