0022627: Change OCCT memory management defaults
[occt.git] / src / DNaming / DNaming_SelectionDriver.cdl
1 -- File:        DNaming_SelectionDriver.cdl
2 -- Created:     Tue May  5 10:29:43 2009
3 -- Author:      Sergey ZARITCHNY <sergey.zaritchny@opencascade.com> 
4 ---Copyright:   Open CasCade SA 2009
5
6
7 class SelectionDriver from DNaming inherits Driver from TFunction
8
9         ---Purpose: 
10
11 uses
12      Label            from TDF, 
13      Logbook          from TFunction,
14      Function         from TFunction,
15      ExtendedString   from TCollection
16
17 is
18     Create returns mutable SelectionDriver from DNaming;
19     ---Purpose: Constructor
20
21     ---Purpose: validation
22     --          ==========
23
24     Validate(me; theLog : in out Logbook from TFunction)
25     is redefined;
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.
30
31     ---Purpose: execution of function
32     --          ======================
33
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
38     --          be executed.
39     returns Boolean from Standard
40     is redefined;
41
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
46     is redefined;  
47
48 end SelectionDriver;