1 // Created on: 2003-06-04
2 // Created by: Galina KULIKOVA
3 // Copyright (c) 2003-2014 OPEN CASCADE SAS
5 // This file is part of Open CASCADE Technology software library.
7 // This library is free software; you can redistribute it and/or modify it under
8 // the terms of the GNU Lesser General Public License version 2.1 as published
9 // by the Free Software Foundation, with special exception defined in the file
10 // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
11 // distribution for complete text of the license and disclaimer of any warranty.
13 // Alternatively, this file may be used under the terms of Open CASCADE
14 // commercial license or contractual agreement.
16 #ifndef _StepDimTol_GeometricToleranceWithDatumReference_HeaderFile
17 #define _StepDimTol_GeometricToleranceWithDatumReference_HeaderFile
19 #include <Standard.hxx>
20 #include <Standard_Type.hxx>
22 #include <StepDimTol_HArray1OfDatumReference.hxx>
23 #include <StepDimTol_HArray1OfDatumSystemOrReference.hxx>
24 #include <StepDimTol_GeometricTolerance.hxx>
25 class TCollection_HAsciiString;
26 class StepBasic_MeasureWithUnit;
27 class StepDimTol_GeometricToleranceTarget;
28 class StepRepr_ShapeAspect;
31 class StepDimTol_GeometricToleranceWithDatumReference;
32 DEFINE_STANDARD_HANDLE(StepDimTol_GeometricToleranceWithDatumReference, StepDimTol_GeometricTolerance)
34 //! Representation of STEP entity GeometricToleranceWithDatumReference
35 class StepDimTol_GeometricToleranceWithDatumReference : public StepDimTol_GeometricTolerance
42 Standard_EXPORT StepDimTol_GeometricToleranceWithDatumReference();
44 //! Initialize all fields (own and inherited) AP214
45 Standard_EXPORT void Init (const Handle(TCollection_HAsciiString)& theGeometricTolerance_Name,
46 const Handle(TCollection_HAsciiString)& theGeometricTolerance_Description,
47 const Handle(StepBasic_MeasureWithUnit)& theGeometricTolerance_Magnitude,
48 const Handle(StepRepr_ShapeAspect)& theGeometricTolerance_TolerancedShapeAspect,
49 const Handle(StepDimTol_HArray1OfDatumReference)& theDatumSystem);
51 //! Initialize all fields (own and inherited) AP242
52 Standard_EXPORT void Init (const Handle(TCollection_HAsciiString)& theGeometricTolerance_Name,
53 const Handle(TCollection_HAsciiString)& theGeometricTolerance_Description,
54 const Handle(StepBasic_MeasureWithUnit)& theGeometricTolerance_Magnitude,
55 const StepDimTol_GeometricToleranceTarget& theGeometricTolerance_TolerancedShapeAspect,
56 const Handle(StepDimTol_HArray1OfDatumSystemOrReference)& theDatumSystem);
58 //! Returns field DatumSystem AP214
59 Standard_EXPORT Handle(StepDimTol_HArray1OfDatumReference) DatumSystem() const;
61 //! Returns field DatumSystem AP242
62 Standard_EXPORT Handle(StepDimTol_HArray1OfDatumSystemOrReference) DatumSystemAP242() const;
64 //! Set field DatumSystem AP214
65 Standard_EXPORT void SetDatumSystem (const Handle(StepDimTol_HArray1OfDatumReference)& theDatumSystem);
67 //! Set field DatumSystem AP242
68 Standard_EXPORT void SetDatumSystem (const Handle(StepDimTol_HArray1OfDatumSystemOrReference)& theDatumSystem);
73 DEFINE_STANDARD_RTTI(StepDimTol_GeometricToleranceWithDatumReference,StepDimTol_GeometricTolerance)
83 Handle(StepDimTol_HArray1OfDatumSystemOrReference) myDatumSystem;
94 #endif // _StepDimTol_GeometricToleranceWithDatumReference_HeaderFile