All Frameworks Class Hierarchy This Framework Indexes
typedef int (*conflictingImportFunctionPtr) (CATBaseUnknown_var, CATBaseUnknown_var)Function pointer dedicated to the management of conflict when importing a rulebase into another one.
int forceImport(CATBaseUnknown_var aRBComp, CATBaseUnknown_var aComp) { CATIRuleSet_var aTrueRS (aRBComp); if (aTrueRS != NULL_var) { CATIRuleSet_var aTrueRSComp (aComp); if (aTrueRSComp != NULL_var) { aTrueRS->RemoveRuleSet(aTrueRSComp); return 1; } else { CATIRuleBaseComponent_var aTrueRBComp (aComp); if (aTrueRBComp != NULL_var) { aTrueRS->RemoveRuleBaseComponent(aTrueRS); return 1; } } } return 0; }
Copyright © 2003, Dassault Systèmes. All rights reserved.