7fd59977 |
1 | -- File: IGESGraph_ReadWriteModule.cdl |
2 | -- Created: Mon Sep 6 19:22:12 1993 |
3 | -- Author: Christian CAILLET |
4 | -- <cky@bravox> |
5 | ---Copyright: Matra Datavision 1993 |
6 | |
7 | |
8 | |
9 | class ReadWriteModule from IGESGraph inherits ReadWriteModule from IGESData |
10 | |
11 | ---Purpose : Defines Graph File Access Module for IGESGraph (specific parts) |
12 | -- Specific actions concern : Read and Write Own Parameters of |
13 | -- an IGESEntity. |
14 | |
15 | uses Transient, FileReaderData, |
16 | IGESEntity, DirPart, IGESReaderData, ParamReader, IGESWriter |
17 | |
18 | raises DomainError |
19 | |
20 | is |
21 | |
22 | Create returns mutable ReadWriteModule from IGESGraph; |
23 | ---Purpose : Creates a ReadWriteModule & puts it into ReaderLib & WriterLib |
24 | |
25 | CaseIGES (me; typenum, formnum : Integer) returns Integer; |
26 | ---Purpose : Defines Case Numbers for Entities of IGESGraph |
27 | |
28 | ReadOwnParams (me; CN : Integer; ent : mutable IGESEntity; |
29 | IR : IGESReaderData; PR : in out ParamReader) |
30 | raises DomainError; |
31 | ---Purpose : Reads own parameters from file for an Entity of IGESGraph |
32 | |
33 | WriteOwnParams (me; CN : Integer; ent : IGESEntity; |
34 | IW : in out IGESWriter); |
35 | ---Purpose : Writes own parameters to IGESWriter |
36 | |
37 | end ReadWriteModule; |