|
MeshKit
1.0
|
Class for storing, querying and modifying relations data. More...
#include <iRel.hpp>
Public Member Functions | |
| PairHandle (iRel *instance, iBase_Instance iface1=NULL, RelationType rtype1=ENTITY, IfaceType itype1=IREL_IFACE, RelationStatus status1=ACTIVE, iBase_Instance iface2=NULL, RelationType rtype2=ENTITY, IfaceType itype2=IREL_IFACE, RelationStatus status2=ACTIVE) | |
| PairHandle (iRel *instance, iRel_PairHandle ph) | |
| iRel_PairHandle | instance () |
| ~PairHandle () | |
| iBase_Instance | get_iface (int i) |
| IfaceType | get_iface_type (int i) |
| RelationType | get_rel_type (int i) |
| Error | changeType (RelationType ent_or_set1, RelationType ent_or_set2) |
| Error | setEntEntRelation (iBase_EntityHandle ent1, iBase_EntityHandle ent2) |
| Error | setEntSetRelation (iBase_EntityHandle ent1, iBase_EntitySetHandle entset2) |
| Error | setSetEntRelation (iBase_EntitySetHandle entset1, iBase_EntityHandle ent2) |
| Error | setSetSetRelation (iBase_EntitySetHandle entset1, iBase_EntitySetHandle entset2) |
| Error | setEntArrEntArrRelation (iBase_EntityHandle *ent_array_1, int num_ent1, iBase_EntityHandle *ent_array_2, int num_ent2) |
| Error | setSetArrEntArrRelation (iBase_EntitySetHandle *entset_array_1, int num_ent1, iBase_EntityHandle *ent_array_2, int num_ent2) |
| Error | setEntArrSetArrRelation (iBase_EntityHandle *ent_array_1, int num_ent1, iBase_EntitySetHandle *entset_array_2, int num_ent2) |
| Error | setSetArrSetArrRelation (iBase_EntitySetHandle *entset_array_1, int num_ent1, iBase_EntitySetHandle *entset_array_2, int num_ent2) |
| Error | getEntEntRelation (iBase_EntityHandle ent1, bool switch_order, iBase_EntityHandle &ent2) |
| Error | getEntSetRelation (iBase_EntityHandle ent1, bool switch_order, iBase_EntitySetHandle &entset2) |
| Error | getSetEntRelation (iBase_EntitySetHandle entset1, bool switch_order, iBase_EntityHandle &ent2) |
| Error | getSetSetRelation (iBase_EntitySetHandle entset1, bool switch_order, iBase_EntitySetHandle &entset2) |
| Error | getEntSetIterRelation (iBase_EntityHandle ent1, bool switch_order, iBase_EntityIterator &entset2) |
| Error | getEntArrEntArrRelation (iBase_EntityHandle *ent_array_1, int ent_array_1_size, bool switch_order, std::vector< iBase_EntityHandle > &ent_array_2) |
| Error | getEntArrSetArrRelation (iBase_EntityHandle *ent_array_1, int ent_array_1_size, bool switch_order, std::vector< iBase_EntitySetHandle > &entset_array_2) |
| Error | getSetArrEntArrRelation (iBase_EntitySetHandle *entset_array_1, int entset_array_1_size, bool switch_order, std::vector< iBase_EntityHandle > &ent_array_2) |
| Error | getSetArrSetArrRelation (iBase_EntitySetHandle *entset_array_1, int entset_array_1_size, bool switch_order, std::vector< iBase_EntitySetHandle > &entset_array_2) |
| Error | getEntArrSetIterArrRelation (iBase_EntityHandle *ent_array_1, int ent_array_1_size, bool switch_order, std::vector< iBase_EntityIterator > &entiter) |
| Error | inferAllRelations () |
| Error | inferAllRelationsAndType () |
| Error | inferEntRelations (iBase_EntityHandle entity, int iface_no) |
| Error | inferSetRelations (iBase_EntitySetHandle entity_set, int iface_no) |
| Error | inferEntArrRelations (iBase_EntityHandle *entities, int entities_size, int iface_no) |
| Error | inferSetArrRelations (iBase_EntitySetHandle *entity_sets, int entities_size, int iface_no) |
Private Attributes | |
| iRel * | irelInstance |
| iBase_Instance | iFaces [2] |
| IfaceType | iFaceTypes [2] |
| RelationType | relTypes [2] |
| RelationStatus | relStatuses [2] |
| iRel_PairHandle | irelPair |
| bool | pairOwner |
Friends | |
| class | iRel |
Class for storing, querying and modifying relations data.
This class encapsulates most of the functions for querying relations in the C++ version of iRel.
| PairHandle | ( | iRel * | instance, |
| iBase_Instance | iface1 = NULL, |
||
| RelationType | rtype1 = ENTITY, |
||
| IfaceType | itype1 = IREL_IFACE, |
||
| RelationStatus | status1 = ACTIVE, |
||
| iBase_Instance | iface2 = NULL, |
||
| RelationType | rtype2 = ENTITY, |
||
| IfaceType | itype2 = IREL_IFACE, |
||
| RelationStatus | status2 = ACTIVE |
||
| ) | [inline] |
| PairHandle | ( | iRel * | instance, |
| iRel_PairHandle | ph | ||
| ) | [inline] |
| ~PairHandle | ( | ) | [inline] |
| iRel::Error changeType | ( | RelationType | ent_or_set1, |
| RelationType | ent_or_set2 | ||
| ) | [inline] |
| iBase_Instance get_iface | ( | int | i | ) | [inline] |
| iRel::IfaceType get_iface_type | ( | int | i | ) | [inline] |
| iRel::RelationType get_rel_type | ( | int | i | ) | [inline] |
| iRel::Error getEntArrEntArrRelation | ( | iBase_EntityHandle * | ent_array_1, |
| int | ent_array_1_size, | ||
| bool | switch_order, | ||
| std::vector< iBase_EntityHandle > & | ent_array_2 | ||
| ) | [inline] |
| iRel::Error getEntArrSetArrRelation | ( | iBase_EntityHandle * | ent_array_1, |
| int | ent_array_1_size, | ||
| bool | switch_order, | ||
| std::vector< iBase_EntitySetHandle > & | entset_array_2 | ||
| ) | [inline] |
| iRel::Error getEntArrSetIterArrRelation | ( | iBase_EntityHandle * | ent_array_1, |
| int | ent_array_1_size, | ||
| bool | switch_order, | ||
| std::vector< iBase_EntityIterator > & | entiter | ||
| ) | [inline] |
| iRel::Error getEntEntRelation | ( | iBase_EntityHandle | ent1, |
| bool | switch_order, | ||
| iBase_EntityHandle & | ent2 | ||
| ) | [inline] |
| iRel::Error getEntSetIterRelation | ( | iBase_EntityHandle | ent1, |
| bool | switch_order, | ||
| iBase_EntityIterator & | entset2 | ||
| ) | [inline] |
| iRel::Error getEntSetRelation | ( | iBase_EntityHandle | ent1, |
| bool | switch_order, | ||
| iBase_EntitySetHandle & | entset2 | ||
| ) | [inline] |
| iRel::Error getSetArrEntArrRelation | ( | iBase_EntitySetHandle * | entset_array_1, |
| int | entset_array_1_size, | ||
| bool | switch_order, | ||
| std::vector< iBase_EntityHandle > & | ent_array_2 | ||
| ) | [inline] |
| iRel::Error getSetArrSetArrRelation | ( | iBase_EntitySetHandle * | entset_array_1, |
| int | entset_array_1_size, | ||
| bool | switch_order, | ||
| std::vector< iBase_EntitySetHandle > & | entset_array_2 | ||
| ) | [inline] |
| iRel::Error getSetEntRelation | ( | iBase_EntitySetHandle | entset1, |
| bool | switch_order, | ||
| iBase_EntityHandle & | ent2 | ||
| ) | [inline] |
| iRel::Error getSetSetRelation | ( | iBase_EntitySetHandle | entset1, |
| bool | switch_order, | ||
| iBase_EntitySetHandle & | entset2 | ||
| ) | [inline] |
| iRel::Error inferAllRelations | ( | ) | [inline] |
| iRel::Error inferAllRelationsAndType | ( | ) | [inline] |
| iRel::Error inferEntArrRelations | ( | iBase_EntityHandle * | entities, |
| int | entities_size, | ||
| int | iface_no | ||
| ) | [inline] |
| iRel::Error inferEntRelations | ( | iBase_EntityHandle | entity, |
| int | iface_no | ||
| ) | [inline] |
| iRel::Error inferSetArrRelations | ( | iBase_EntitySetHandle * | entity_sets, |
| int | entities_size, | ||
| int | iface_no | ||
| ) | [inline] |
| iRel::Error inferSetRelations | ( | iBase_EntitySetHandle | entity_set, |
| int | iface_no | ||
| ) | [inline] |
| iRel::Error setEntArrEntArrRelation | ( | iBase_EntityHandle * | ent_array_1, |
| int | num_ent1, | ||
| iBase_EntityHandle * | ent_array_2, | ||
| int | num_ent2 | ||
| ) | [inline] |
| iRel::Error setEntArrSetArrRelation | ( | iBase_EntityHandle * | ent_array_1, |
| int | num_ent1, | ||
| iBase_EntitySetHandle * | entset_array_2, | ||
| int | num_ent2 | ||
| ) | [inline] |
| iRel::Error setEntEntRelation | ( | iBase_EntityHandle | ent1, |
| iBase_EntityHandle | ent2 | ||
| ) | [inline] |
| iRel::Error setEntSetRelation | ( | iBase_EntityHandle | ent1, |
| iBase_EntitySetHandle | entset2 | ||
| ) | [inline] |
| iRel::Error setSetArrEntArrRelation | ( | iBase_EntitySetHandle * | entset_array_1, |
| int | num_ent1, | ||
| iBase_EntityHandle * | ent_array_2, | ||
| int | num_ent2 | ||
| ) | [inline] |
| iRel::Error setSetArrSetArrRelation | ( | iBase_EntitySetHandle * | entset_array_1, |
| int | num_ent1, | ||
| iBase_EntitySetHandle * | entset_array_2, | ||
| int | num_ent2 | ||
| ) | [inline] |
| iRel::Error setSetEntRelation | ( | iBase_EntitySetHandle | entset1, |
| iBase_EntityHandle | ent2 | ||
| ) | [inline] |
| iRel::Error setSetSetRelation | ( | iBase_EntitySetHandle | entset1, |
| iBase_EntitySetHandle | entset2 | ||
| ) | [inline] |
iBase_Instance iFaces[2] [private] |
IfaceType iFaceTypes[2] [private] |
iRel* irelInstance [private] |
RelationStatus relStatuses[2] [private] |
RelationType relTypes[2] [private] |