1 -- File: DNaming_BooleanOperationDriver.cdl
2 -- Created: Tue May 5 17:00:16 2009
3 -- Author: Sergey ZARITCHNY <sergey.zaritchny@opencascade.com>
4 ---Copyright: Open CasCade SA 2009
7 class BooleanOperationDriver from DNaming inherits Driver from TFunction
9 ---Purpose: Driver for Fuse, Cut, Common
12 Logbook from TFunction,
13 Function from TFunction,
14 ExtendedString from TCollection,
15 BooleanOperation from BRepAlgoAPI
18 Create returns mutable BooleanOperationDriver from DNaming;
19 ---Purpose: Constructor
21 ---Purpose: validation
24 Validate(me; theLog : in out Logbook from TFunction)
26 ---Purpose: Validates labels of a function in <log>.
27 -- In regeneration mode this method must be called (by the
28 -- solver) even if the function is not executed, to build
29 -- the valid label scope.
31 ---Purpose: execution of function
32 -- ======================
34 MustExecute (me; theLog : Logbook from TFunction)
35 ---Purpose: Analyse in <log> if the loaded function must be executed
36 -- (i.e.arguments are modified) or not.
37 -- If the Function label itself is modified, the function must
39 returns Boolean from Standard
42 Execute (me; theLog : in out Logbook from TFunction)
43 ---Purpose: Execute the function and push in <log> the impacted
44 -- labels (see method SetImpacted).
45 returns Integer from Standard
48 LoadNamingDS(me; theResultLabel : Label from TDF; MS : in out BooleanOperation from BRepAlgoAPI)
51 CheckAndLoad(me; theMkOpe : in out BooleanOperation from BRepAlgoAPI;
52 theFunction : Function from TFunction)
53 returns Boolean from Standard is private;
55 end BooleanOperationDriver;