1 // Created on : Sat May 02 12:41:14 2020
2 // Created by: Irina KRYLOVA
3 // Generator:	Express (EXPRESS -> CASCADE/XSTEP Translator) V3.0
4 // Copyright (c) Open CASCADE 2020
5 //
6 // This file is part of Open CASCADE Technology software library.
7 //
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.
13 //
14 // Alternatively, this file may be used under the terms of Open CASCADE
15 // commercial license or contractual agreement.
16 
17 #ifndef _RWStepRepr_RWRepresentationContextReference_HeaderFile_
18 #define _RWStepRepr_RWRepresentationContextReference_HeaderFile_
19 
20 #include <Standard.hxx>
21 #include <Standard_DefineAlloc.hxx>
22 #include <Standard_Handle.hxx>
23 
24 class StepData_StepReaderData;
25 class Interface_Check;
26 class StepData_StepWriter;
27 class Interface_EntityIterator;
28 class StepRepr_RepresentationContextReference;
29 
30 //! Read & Write tool for RepresentationContextReference
31 class RWStepRepr_RWRepresentationContextReference
32 {
33 public:
34 
35   DEFINE_STANDARD_ALLOC
36 
37   Standard_EXPORT RWStepRepr_RWRepresentationContextReference();
38 
39   Standard_EXPORT void ReadStep(const Handle(StepData_StepReaderData)& theData, const Standard_Integer theNum, Handle(Interface_Check)& theAch, const Handle(StepRepr_RepresentationContextReference)& theEnt) const;
40 
41   Standard_EXPORT void WriteStep(StepData_StepWriter& SW, const Handle(StepRepr_RepresentationContextReference)& theEnt) const;
42 
43   Standard_EXPORT void Share(const Handle(StepRepr_RepresentationContextReference)& theEnt, Interface_EntityIterator& iter) const;
44 
45 };
46 #endif // _RWStepRepr_RWRepresentationContextReference_HeaderFile_
47