Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 10:04:45

0001 // Created on: 2015-07-16
0002 // Created by: Irina KRYLOVA
0003 // Copyright (c) 2015 OPEN CASCADE SAS
0004 //
0005 // This file is part of Open CASCADE Technology software library.
0006 //
0007 // This library is free software; you can redistribute it and/or modify it under
0008 // the terms of the GNU Lesser General Public License version 2.1 as published
0009 // by the Free Software Foundation, with special exception defined in the file
0010 // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
0011 // distribution for complete text of the license and disclaimer of any warranty.
0012 //
0013 // Alternatively, this file may be used under the terms of Open CASCADE
0014 // commercial license or contractual agreement.
0015 
0016 #ifndef _RWStepDimTol_RWDatumReferenceCompartment_HeaderFile
0017 #define _RWStepDimTol_RWDatumReferenceCompartment_HeaderFile
0018 
0019 #include <Standard.hxx>
0020 #include <Standard_DefineAlloc.hxx>
0021 #include <Standard_Handle.hxx>
0022 
0023 #include <Standard_Integer.hxx>
0024 
0025 class StepData_StepReaderData;
0026 class Interface_Check;
0027 class StepDimTol_DatumReferenceCompartment;
0028 class StepData_StepWriter;
0029 class Interface_EntityIterator;
0030 
0031 
0032 //! Read & Write tool for DatumReferenceElement
0033 class RWStepDimTol_RWDatumReferenceCompartment
0034 {
0035 public:
0036 
0037   DEFINE_STANDARD_ALLOC
0038 
0039   
0040   //! Empty constructor
0041   Standard_EXPORT RWStepDimTol_RWDatumReferenceCompartment();
0042   
0043   //! Reads DatumReferenceElement
0044   Standard_EXPORT   void ReadStep (const Handle(StepData_StepReaderData)& data, const Standard_Integer num, Handle(Interface_Check)& ach, const Handle(StepDimTol_DatumReferenceCompartment)& ent)  const;
0045   
0046   //! Writes DatumReferenceElement
0047   Standard_EXPORT   void WriteStep (StepData_StepWriter& SW, const Handle(StepDimTol_DatumReferenceCompartment)& ent)  const;
0048   
0049   //! Fills data for graph (shared items)
0050   Standard_EXPORT   void Share (const Handle(StepDimTol_DatumReferenceCompartment)& ent, Interface_EntityIterator& iter)  const;
0051 };
0052 #endif // _RWStepDimTol_RWDatumReferenceCompartment_HeaderFile