7fd59977 |
1 | -- File: BRepLib_Command.cdl |
2 | -- Created: Wed Jul 21 19:53:17 1993 |
3 | -- Author: Remi LEQUETTE |
4 | -- <rle@nonox> |
5 | ---Copyright: Matra Datavision 1993 |
6 | |
7 | |
8 | |
9 | |
10 | deferred class Command from BRepLib |
11 | |
12 | ---Purpose: Root class for all commands in BRepLib. |
13 | -- |
14 | -- Provides : |
15 | -- |
16 | -- * Managements of the notDone flag. |
17 | -- |
18 | -- * Catching of exceptions (not implemented). |
19 | -- |
20 | -- * Logging (not implemented). |
21 | |
22 | raises |
23 | NotDone from StdFail |
24 | |
25 | is |
26 | Delete(me:out) is virtual; |
27 | ---C++: alias "Standard_EXPORT virtual ~BRepLib_Command(){Delete() ; }" |
28 | |
29 | Initialize; |
30 | ---Purpose: Set done to False. |
31 | |
32 | IsDone(me) returns Boolean |
33 | ---Level: Public |
34 | is static; |
35 | |
36 | Done(me : in out) |
37 | ---Purpose: Set done to true. |
38 | ---Level: Public |
39 | is static protected; |
40 | |
41 | NotDone(me : in out) |
42 | ---Purpose: Set done to false. |
43 | ---Level: Public |
44 | is static protected; |
45 | |
46 | |
47 | |
48 | Check(me) |
49 | ---Purpose: Raises NotDone if done is false. |
50 | ---Level: Public |
51 | raises NotDone from StdFail |
52 | is static; |
53 | |
54 | fields |
55 | myDone : Boolean; |
56 | |
57 | end Command; |