-- File: ReadWriteModule.cdl -- Created: Thu Dec 7 14:30:12 1995 -- Author: EXPRESS->CDL V0.2 Translator -- Copyright: Matra-Datavision 1993 class ReadWriteModule from RWStepAP214 inherits ReadWriteModule from StepData ---Purpose : General module to read and write StepAP214 entities uses Transient, SequenceOfAsciiString from TColStd, AsciiString from TCollection, Check from Interface, StepReaderData from StepData, StepWriter from StepData is Create returns mutable ReadWriteModule from RWStepAP214; CaseStep (me; atype : AsciiString from TCollection) returns Integer; ---Purpose : associates a positive Case Number to each type of StepAP214 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 StepAP214 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 & ComplexType (me; CN : Integer; types : in out SequenceOfAsciiString from TColStd) returns Boolean is redefined; 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;