7fd59977 |
1 | -- File: IGESBasic_GeneralModule.cdl |
2 | -- Created: Mon May 10 15:00:51 1993 |
3 | -- Author: Christian CAILLET |
4 | -- <cky@bravox> |
5 | ---Copyright: Matra Datavision 1993 |
6 | |
7 | |
8 | class GeneralModule from IGESBasic inherits GeneralModule from IGESData |
9 | |
10 | ---Purpose : Definition of General Services for IGESBasic (specific part) |
11 | -- This Services comprise : Shared & Implied Lists, Copy, Check |
12 | |
13 | uses OStream, |
14 | Check, ShareTool, EntityIterator, CopyTool, |
15 | IGESEntity, DirChecker |
16 | |
17 | is |
18 | |
19 | Create returns mutable GeneralModule from IGESBasic; |
20 | ---Purpose : Creates a GeneralModule from IGESBasic and puts it into GeneralLib |
21 | |
22 | OwnSharedCase (me; CN : Integer; ent : IGESEntity; |
23 | iter : in out EntityIterator); |
24 | ---Purpose : Lists the Entities shared by a given IGESEntity <ent>, from |
25 | -- its specific parameters : specific for each type |
26 | |
27 | DirChecker (me; CN : Integer; ent : IGESEntity) returns DirChecker; |
28 | ---Purpose : Returns a DirChecker, specific for each type of Entity |
29 | -- (identified by its Case Number) : this DirChecker defines |
30 | -- constraints which must be respected by the DirectoryPart |
31 | |
32 | OwnCheckCase (me; CN : Integer; ent : IGESEntity; shares : ShareTool; |
33 | ach : in out Check); |
34 | ---Purpose : Performs Specific Semantic Check for each type of Entity |
35 | |
36 | |
37 | NewVoid (me; CN : Integer; entto : out mutable Transient) |
38 | returns Boolean; |
39 | ---Purpose : Specific creation of a new void entity |
40 | |
41 | OwnCopyCase (me; CN : Integer; |
42 | entfrom : IGESEntity; entto : mutable IGESEntity; |
43 | TC : in out CopyTool); |
44 | ---Purpose : Copies parameters which are specific of each Type of Entity |
45 | |
46 | CategoryNumber (me; CN : Integer; ent : Transient; shares : ShareTool) |
47 | returns Integer is redefined; |
48 | ---Purpose : Returns a category number which characterizes an entity |
49 | -- Structure for Groups, Figures & Co |
50 | -- Description for External Refs |
51 | -- Auxiliary for other |
52 | |
53 | end GeneralModule; |