Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 10:05:07

0001 // Created on: 2003-06-04
0002 // Created by: Galina KULIKOVA
0003 // Copyright (c) 2003-2014 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 _StepDimTol_GeometricToleranceWithDatumReference_HeaderFile
0017 #define _StepDimTol_GeometricToleranceWithDatumReference_HeaderFile
0018 
0019 #include <Standard.hxx>
0020 #include <Standard_Type.hxx>
0021 
0022 #include <StepDimTol_HArray1OfDatumReference.hxx>
0023 #include <StepDimTol_HArray1OfDatumSystemOrReference.hxx>
0024 #include <StepDimTol_GeometricTolerance.hxx>
0025 class TCollection_HAsciiString;
0026 class StepBasic_MeasureWithUnit;
0027 class StepDimTol_GeometricToleranceTarget;
0028 class StepRepr_ShapeAspect;
0029 
0030 
0031 class StepDimTol_GeometricToleranceWithDatumReference;
0032 DEFINE_STANDARD_HANDLE(StepDimTol_GeometricToleranceWithDatumReference, StepDimTol_GeometricTolerance)
0033 
0034 //! Representation of STEP entity GeometricToleranceWithDatumReference
0035 class StepDimTol_GeometricToleranceWithDatumReference : public StepDimTol_GeometricTolerance
0036 {
0037 
0038 public:
0039 
0040   
0041   //! Empty constructor
0042   Standard_EXPORT StepDimTol_GeometricToleranceWithDatumReference();
0043   
0044   //! Initialize all fields (own and inherited) AP214
0045   Standard_EXPORT void Init (const Handle(TCollection_HAsciiString)& theGeometricTolerance_Name, 
0046     const Handle(TCollection_HAsciiString)& theGeometricTolerance_Description, 
0047     const Handle(StepBasic_MeasureWithUnit)& theGeometricTolerance_Magnitude, 
0048     const Handle(StepRepr_ShapeAspect)& theGeometricTolerance_TolerancedShapeAspect, 
0049     const Handle(StepDimTol_HArray1OfDatumReference)& theDatumSystem);
0050 
0051   //! Initialize all fields (own and inherited) AP242
0052   Standard_EXPORT void Init (const Handle(TCollection_HAsciiString)& theGeometricTolerance_Name, 
0053     const Handle(TCollection_HAsciiString)& theGeometricTolerance_Description, 
0054     const Handle(StepBasic_MeasureWithUnit)& theGeometricTolerance_Magnitude, 
0055     const StepDimTol_GeometricToleranceTarget& theGeometricTolerance_TolerancedShapeAspect, 
0056     const Handle(StepDimTol_HArray1OfDatumSystemOrReference)& theDatumSystem);
0057   
0058   //! Returns field DatumSystem AP214
0059   Standard_EXPORT Handle(StepDimTol_HArray1OfDatumReference) DatumSystem() const;
0060 
0061   //! Returns field DatumSystem AP242
0062   Standard_EXPORT Handle(StepDimTol_HArray1OfDatumSystemOrReference) DatumSystemAP242() const;
0063   
0064   //! Set field DatumSystem AP214
0065   Standard_EXPORT void SetDatumSystem (const Handle(StepDimTol_HArray1OfDatumReference)& theDatumSystem);
0066   
0067   //! Set field DatumSystem AP242
0068   Standard_EXPORT void SetDatumSystem (const Handle(StepDimTol_HArray1OfDatumSystemOrReference)& theDatumSystem);
0069 
0070 
0071 
0072 
0073   DEFINE_STANDARD_RTTIEXT(StepDimTol_GeometricToleranceWithDatumReference,StepDimTol_GeometricTolerance)
0074 
0075 protected:
0076 
0077 
0078 
0079 
0080 private:
0081 
0082 
0083   Handle(StepDimTol_HArray1OfDatumSystemOrReference) myDatumSystem;
0084 
0085 
0086 };
0087 
0088 
0089 
0090 
0091 
0092 
0093 
0094 #endif // _StepDimTol_GeometricToleranceWithDatumReference_HeaderFile