blob: b4a5638626d889713585861fac865a18cde15d0d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
-- File: ReadWriteModule.cdl
-- Created: Thu Jun 16 18:05:55 1994
-- Author: EXPRESS->CDL V0.2 Translator
-- Copyright: Matra-Datavision 1993
class ReadWriteModule from RWHeaderSection inherits ReadWriteModule from StepData
---Purpose : General module to read and write HeaderSection entities
uses Transient,
SequenceOfAsciiString from TColStd,
AsciiString from TCollection,
Check from Interface,
StepReaderData from StepData,
StepWriter from StepData
is
Create returns mutable ReadWriteModule from RWHeaderSection;
CaseStep (me; atype : AsciiString from TCollection) returns Integer;
---Purpose : associates a positive Case Number to each type of HeaderSection entity,
-- given as a String defined in the EXPRESS form
CaseStep(me; types : SequenceOfAsciiString from TColStd) returns Integer is redefined;
---Purpose : associates a positive Case Number to each type of HeaderSection Complex entity,
-- given as a String defined in the EXPRESS form
IsComplex (me; CN : Integer) returns Boolean is redefined;
---Purpose : returns True if the Case Number corresponds to a Complex Type
StepType (me; CN : Integer) returns AsciiString from TCollection;
---Purpose : returns a StepType (defined in EXPRESS form which belongs to a
-- Type of Entity, identified by its CaseNumber determined by Protocol
---C++ : return const &
ReadStep (me; CN : Integer; data : StepReaderData; num : Integer;
ach : in out Check; ent : mutable Transient);
WriteStep (me; CN : Integer; SW : in out StepWriter; ent : Transient);
end ReadWriteModule;
|