|
virtual std::vector< std::string > | GetClassHierarchy () const override |
|
virtual const char * | GetClassName () const |
|
Pointer | Clone () const |
|
RuleIDType | GetRuleID () const override |
|
bool | IsAbstract () const override |
|
std::string | GetDisplayName () const override |
|
std::string | GetSourceRoleName () const override |
|
std::string | GetDestinationRoleName () const override |
|
RelationUIDType | Connect (IPropertyOwner *source, const IPropertyProvider *destination) const |
|
Pointer | Clone () const |
|
| itkCreateAnotherMacro (Self) |
|
virtual bool | IsSourceCandidate (const IPropertyProvider *owner) const |
|
virtual bool | IsDestinationCandidate (const IPropertyProvider *owner) const |
|
bool | IsSource (const IPropertyProvider *owner) const |
|
RelationVectorType | GetRelationTypes (const IPropertyProvider *source, const IPropertyProvider *destination) const |
|
bool | HasRelation (const IPropertyProvider *source, const IPropertyProvider *destination, RelationType requiredRelation=RelationType::None) const |
|
RelationUIDVectorType | GetExistingRelations (const IPropertyProvider *source, RelationType layer=RelationType::None) const |
|
RelationUIDVectorType | GetRelationUIDs (const IPropertyProvider *source, const IPropertyProvider *destination) const |
|
RelationUIDType | GetRelationUID (const IPropertyProvider *source, const IPropertyProvider *destination) const |
|
NodePredicateBase::ConstPointer | GetSourceCandidateIndicator () const |
|
NodePredicateBase::ConstPointer | GetDestinationCandidateIndicator () const |
|
NodePredicateBase::ConstPointer | GetConnectedSourcesDetector () const |
|
NodePredicateBase::ConstPointer | GetSourcesDetector (const IPropertyProvider *destination, RelationType exclusiveRelation=RelationType::None) const |
|
NodePredicateBase::ConstPointer | GetDestinationsDetector (const IPropertyProvider *source, RelationType exclusiveRelation=RelationType::None) const |
|
NodePredicateBase::ConstPointer | GetDestinationDetector (const IPropertyProvider *source, RelationUIDType relationUID) const |
|
void | Disconnect (IPropertyOwner *source, const IPropertyProvider *destination, RelationType layer=RelationType::Complete) const |
|
void | Disconnect (IPropertyOwner *source, RelationUIDType relationUID, RelationType layer=RelationType::Complete) const |
|
std::vector< PropertyKeyPath > | GetRelationPropertyPaths (const IPropertyProvider *source, RelationUIDType relationUID, RelationType layer=RelationType::Data) const |
|
|
| GenericIDRelationRule (const RuleIDType &ruleIDTag) |
|
| GenericIDRelationRule (const RuleIDType &ruleIDTag, const std::string &displayName) |
|
| GenericIDRelationRule (const RuleIDType &ruleIDTag, const std::string &displayName, const std::string &sourceRole, const std::string &destinationRole) |
|
| ~GenericIDRelationRule () override=default |
|
DataRelationUIDVectorType | GetRelationUIDs_DataLayer (const IPropertyProvider *source, const IPropertyProvider *destination, const InstanceIDVectorType &instances_IDLayer) const override |
|
void | Connect_datalayer (IPropertyOwner *source, const IPropertyProvider *destination, const InstanceIDType &instanceID) const override |
|
void | Disconnect_datalayer (IPropertyOwner *source, const RelationUIDType &relationUID) const override |
|
bool | IsSupportedRuleID (const RuleIDType &ruleID) const override |
|
itk::LightObject::Pointer | InternalClone () const override |
|
| PropertyRelationRuleBase ()=default |
|
| ~PropertyRelationRuleBase () override=default |
|
InstanceIDVectorType | GetInstanceID_IDLayer (const IPropertyProvider *source, const IPropertyProvider *destination) const |
|
RelationUIDType | GetRelationUIDByInstanceID (const IPropertyProvider *source, const InstanceIDType &instanceID) const |
|
InstanceIDType | GetInstanceIDByRelationUID (const IPropertyProvider *source, const RelationUIDType &relationUID) const |
|
RelationUIDType | Connect (IPropertyOwner *source, const IPropertyProvider *destination) const |
|
std::string | GetRIIPropertyRegEx (const std::string propName="", const InstanceIDType &instanceID="") const |
|
RuleIDType | GetRuleIDByInstanceID (const IPropertyProvider *source, const InstanceIDType &instanceID) const |
|
std::string | GetDestinationUIDByInstanceID (const IPropertyProvider *source, const InstanceIDType &instanceID) const |
|
itk::LightObject::Pointer | InternalClone () const override |
|
const Identifiable * | CastProviderAsIdentifiable (const mitk::IPropertyProvider *provider) const |
|
This rule class can be used for relations that are only defined on the ID-layer and where no connection on the Data-layer can be defined or deduced. So it can be used for all ID based relations between PropertyProviders that also implement the interface identifiable. In order to be able to use this class for different relation types based on ID, the ruleIDTag is used. It must be specified when creating a rule instance. The ruleIDTag will be used as suffix for the rule ID of the instance and therefore allows to create specific and distinguishable rules instances based on this class. One may also specify the display name and the role names of the instance. If not specified, the default values are used (display name: "<ruleIDTag> relation", source role name: "source of <ruleIDTag> relation", destination role name: "destination <ruleIDTag> of relation")
Definition at line 32 of file mitkGenericIDRelationRule.h.