42cf5bc1 |
1 | // Created on: 2003-06-04 |
2 | // Created by: Galina KULIKOVA |
3 | // Copyright (c) 2003-2014 OPEN CASCADE SAS |
4 | // |
5 | // This file is part of Open CASCADE Technology software library. |
6 | // |
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. |
12 | // |
13 | // Alternatively, this file may be used under the terms of Open CASCADE |
14 | // commercial license or contractual agreement. |
15 | |
16 | #ifndef _StepDimTol_GeometricToleranceWithDatumReference_HeaderFile |
17 | #define _StepDimTol_GeometricToleranceWithDatumReference_HeaderFile |
18 | |
19 | #include <Standard.hxx> |
20 | #include <Standard_Type.hxx> |
21 | |
22 | #include <StepDimTol_HArray1OfDatumReference.hxx> |
28a73c1f |
23 | #include <StepDimTol_HArray1OfDatumSystemOrReference.hxx> |
42cf5bc1 |
24 | #include <StepDimTol_GeometricTolerance.hxx> |
25 | class TCollection_HAsciiString; |
26 | class StepBasic_MeasureWithUnit; |
28a73c1f |
27 | class StepDimTol_GeometricToleranceTarget; |
42cf5bc1 |
28 | class StepRepr_ShapeAspect; |
29 | |
30 | |
31 | class StepDimTol_GeometricToleranceWithDatumReference; |
32 | DEFINE_STANDARD_HANDLE(StepDimTol_GeometricToleranceWithDatumReference, StepDimTol_GeometricTolerance) |
33 | |
34 | //! Representation of STEP entity GeometricToleranceWithDatumReference |
35 | class StepDimTol_GeometricToleranceWithDatumReference : public StepDimTol_GeometricTolerance |
36 | { |
37 | |
38 | public: |
39 | |
40 | |
41 | //! Empty constructor |
42 | Standard_EXPORT StepDimTol_GeometricToleranceWithDatumReference(); |
43 | |
28a73c1f |
44 | //! Initialize all fields (own and inherited) AP214 |
2f220b97 |
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); |
28a73c1f |
50 | |
51 | //! Initialize all fields (own and inherited) AP242 |
2f220b97 |
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); |
42cf5bc1 |
57 | |
28a73c1f |
58 | //! Returns field DatumSystem AP214 |
42cf5bc1 |
59 | Standard_EXPORT Handle(StepDimTol_HArray1OfDatumReference) DatumSystem() const; |
28a73c1f |
60 | |
61 | //! Returns field DatumSystem AP242 |
62 | Standard_EXPORT Handle(StepDimTol_HArray1OfDatumSystemOrReference) DatumSystemAP242() const; |
42cf5bc1 |
63 | |
28a73c1f |
64 | //! Set field DatumSystem AP214 |
2f220b97 |
65 | Standard_EXPORT void SetDatumSystem (const Handle(StepDimTol_HArray1OfDatumReference)& theDatumSystem); |
28a73c1f |
66 | |
67 | //! Set field DatumSystem AP242 |
2f220b97 |
68 | Standard_EXPORT void SetDatumSystem (const Handle(StepDimTol_HArray1OfDatumSystemOrReference)& theDatumSystem); |
42cf5bc1 |
69 | |
70 | |
71 | |
72 | |
73 | DEFINE_STANDARD_RTTI(StepDimTol_GeometricToleranceWithDatumReference,StepDimTol_GeometricTolerance) |
74 | |
75 | protected: |
76 | |
77 | |
78 | |
79 | |
80 | private: |
81 | |
82 | |
2f220b97 |
83 | Handle(StepDimTol_HArray1OfDatumSystemOrReference) myDatumSystem; |
42cf5bc1 |
84 | |
85 | |
86 | }; |
87 | |
88 | |
89 | |
90 | |
91 | |
92 | |
93 | |
94 | #endif // _StepDimTol_GeometricToleranceWithDatumReference_HeaderFile |