0026988: Fresh compiler warnings (VC++ 14, GCC 5.2.1, CLang 3.6.2)
[occt.git] / src / StepDimTol / StepDimTol_ModifiedGeometricTolerance.hxx
CommitLineData
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>
24class TCollection_HAsciiString;
25class StepBasic_MeasureWithUnit;
28a73c1f 26class StepDimTol_GeometricToleranceTarget;
42cf5bc1 27class StepRepr_ShapeAspect;
28
29
30class StepDimTol_ModifiedGeometricTolerance;
31DEFINE_STANDARD_HANDLE(StepDimTol_ModifiedGeometricTolerance, StepDimTol_GeometricTolerance)
32
33//! Representation of STEP entity ModifiedGeometricTolerance
34class StepDimTol_ModifiedGeometricTolerance : public StepDimTol_GeometricTolerance
35{
36
37public:
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
92efcf78 66 DEFINE_STANDARD_RTTIEXT(StepDimTol_ModifiedGeometricTolerance,StepDimTol_GeometricTolerance)
42cf5bc1 67
68protected:
69
70
71
72
73private:
74
75
2f220b97 76 StepDimTol_LimitCondition myModifier;
42cf5bc1 77
78
79};
80
81
82
83
84
85
86
87#endif // _StepDimTol_ModifiedGeometricTolerance_HeaderFile