Integration of OCCT 6.5.0 from SVN
[occt.git] / src / RWHeaderSection / RWHeaderSection_GeneralModule.cdl
1 -- File:        GeneralModule.cdl
2 -- Created:     Thu Jun 16 18:05:55 1994
3 -- Author:      EXPRESS->CDL V0.2 Translator
4 -- Copyright:   Matra-Datavision 1993
5
6
7
8
9 class GeneralModule from RWHeaderSection  inherits GeneralModule from StepData
10         ---Purpose : Defines General Services for HeaderSection Entities
11         --           (Share,Check,Copy; Trace already inherited)
12         --           Depends (for case numbers) of Protocol from HeaderSection
13
14 uses Transient,
15      EntityIterator from Interface,
16      ShareTool      from Interface,
17      Check          from Interface,
18      CopyTool       from Interface
19
20 is
21
22         Create returns mutable GeneralModule from RWHeaderSection;
23         ---Purpose : Creates a GeneralModule
24
25         FillSharedCase (me; CN : Integer; ent : Transient;
26         iter : in out EntityIterator);
27         ---Purpose : Specific filling of the list of Entities shared by an Entity
28         --           <ent>, according to a Case Number <CN> (provided by HeaderSection
29         --           Protocol).
30
31         CheckCase (me; CN : Integer; ent : Transient; shares : ShareTool; ach : in out Check);
32         ---Purpose : Specific Checking of an Entity <ent>
33
34         CopyCase (me; CN : Integer; entfrom : Transient; entto : mutable Transient; TC : in out CopyTool);
35         ---Purpose : Specific Copy ("Deep") from <entfrom> to <entto> (same type)
36         --           by using a CopyTool which provides its working Map.
37         --           Use method Transferred from CopyTool to work
38
39
40         NewVoid (me; CN : Integer; ent : out mutable Transient) returns Boolean;
41
42 end GeneralModule;