1 -- Created on: 1999-11-26
2 -- Created by: Andrey BETENEV
3 -- Copyright (c) 1999 Matra Datavision
4 -- Copyright (c) 1999-2014 OPEN CASCADE SAS
6 -- This file is part of Open CASCADE Technology software library.
8 -- This library is free software; you can redistribute it and/or modify it under
9 -- the terms of the GNU Lesser General Public License version 2.1 as published
10 -- by the Free Software Foundation, with special exception defined in the file
11 -- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
12 -- distribution for complete text of the license and disclaimer of any warranty.
14 -- Alternatively, this file may be used under the terms of Open CASCADE
15 -- commercial license or contractual agreement.
17 -- Generator: ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.0
19 class RWContract from RWStepBasic
21 ---Purpose: Read & Write tool for Contract
25 StepWriter from StepData,
26 StepReaderData from StepData,
27 EntityIterator from Interface,
28 Contract from StepBasic
31 Create returns RWContract from RWStepBasic;
32 ---Purpose: Empty constructor
34 ReadStep (me; data: StepReaderData from StepData; num: Integer;
35 ach : in out Check from Interface;
36 ent : Contract from StepBasic);
37 ---Purpose: Reads Contract
39 WriteStep (me; SW: in out StepWriter from StepData;
40 ent: Contract from StepBasic);
41 ---Purpose: Writes Contract
43 Share (me; ent : Contract from StepBasic;
44 iter: in out EntityIterator from Interface);
45 ---Purpose: Fills data for graph (shared items)