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_ModifiedGeometricTolerance_HeaderFile |
17 | #define _StepDimTol_ModifiedGeometricTolerance_HeaderFile |
18 | |
19 | #include <Standard.hxx> |
20 | #include <Standard_Type.hxx> |
21 | |
22 | #include <StepDimTol_LimitCondition.hxx> |
23 | #include <StepDimTol_GeometricTolerance.hxx> |
24 | class TCollection_HAsciiString; |
25 | class StepBasic_MeasureWithUnit; |
28a73c1f |
26 | class StepDimTol_GeometricToleranceTarget; |
42cf5bc1 |
27 | class StepRepr_ShapeAspect; |
28 | |
29 | |
30 | class StepDimTol_ModifiedGeometricTolerance; |
31 | DEFINE_STANDARD_HANDLE(StepDimTol_ModifiedGeometricTolerance, StepDimTol_GeometricTolerance) |
32 | |
33 | //! Representation of STEP entity ModifiedGeometricTolerance |
34 | class StepDimTol_ModifiedGeometricTolerance : public StepDimTol_GeometricTolerance |
35 | { |
36 | |
37 | public: |
38 | |
39 | |
40 | //! Empty constructor |
41 | Standard_EXPORT StepDimTol_ModifiedGeometricTolerance(); |
42 | |
28a73c1f |
43 | //! Initialize all fields (own and inherited) AP214 |
2f220b97 |
44 | Standard_EXPORT void Init (const Handle(TCollection_HAsciiString)& theGeometricTolerance_Name, |
45 | const Handle(TCollection_HAsciiString)& theGeometricTolerance_Description, |
46 | const Handle(StepBasic_MeasureWithUnit)& theGeometricTolerance_Magnitude, |
47 | const Handle(StepRepr_ShapeAspect)& theGeometricTolerance_TolerancedShapeAspect, |
48 | const StepDimTol_LimitCondition theModifier); |
28a73c1f |
49 | |
50 | //! Initialize all fields (own and inherited) AP242 |
2f220b97 |
51 | Standard_EXPORT void Init (const Handle(TCollection_HAsciiString)& theGeometricTolerance_Name, |
52 | const Handle(TCollection_HAsciiString)& theGeometricTolerance_Description, |
53 | const Handle(StepBasic_MeasureWithUnit)& theGeometricTolerance_Magnitude, |
54 | const StepDimTol_GeometricToleranceTarget& theGeometricTolerance_TolerancedShapeAspect, |
55 | const StepDimTol_LimitCondition theModifier); |
28a73c1f |
56 | |
42cf5bc1 |
57 | //! Returns field Modifier |
58 | Standard_EXPORT StepDimTol_LimitCondition Modifier() const; |
59 | |
60 | //! Set field Modifier |
2f220b97 |
61 | Standard_EXPORT void SetModifier (const StepDimTol_LimitCondition theModifier); |
42cf5bc1 |
62 | |
63 | |
64 | |
65 | |
66 | DEFINE_STANDARD_RTTI(StepDimTol_ModifiedGeometricTolerance,StepDimTol_GeometricTolerance) |
67 | |
68 | protected: |
69 | |
70 | |
71 | |
72 | |
73 | private: |
74 | |
75 | |
2f220b97 |
76 | StepDimTol_LimitCondition myModifier; |
42cf5bc1 |
77 | |
78 | |
79 | }; |
80 | |
81 | |
82 | |
83 | |
84 | |
85 | |
86 | |
87 | #endif // _StepDimTol_ModifiedGeometricTolerance_HeaderFile |