0024002: Overall code and build procedure refactoring -- automatic
[occt.git] / src / StepDimTol / StepDimTol_GeoTolAndGeoTolWthDatRefAndModGeoTolAndPosTol.hxx
CommitLineData
42cf5bc1 1// Created on: 2003-08-22
2// Created by: Sergey KUUL
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_GeoTolAndGeoTolWthDatRefAndModGeoTolAndPosTol_HeaderFile
17#define _StepDimTol_GeoTolAndGeoTolWthDatRefAndModGeoTolAndPosTol_HeaderFile
18
19#include <Standard.hxx>
20#include <Standard_Type.hxx>
21
22#include <StepDimTol_GeometricTolerance.hxx>
23class StepDimTol_GeometricToleranceWithDatumReference;
24class StepDimTol_ModifiedGeometricTolerance;
25class StepDimTol_PositionTolerance;
26class TCollection_HAsciiString;
27class StepBasic_MeasureWithUnit;
28class StepRepr_ShapeAspect;
29
30
31class StepDimTol_GeoTolAndGeoTolWthDatRefAndModGeoTolAndPosTol;
32DEFINE_STANDARD_HANDLE(StepDimTol_GeoTolAndGeoTolWthDatRefAndModGeoTolAndPosTol, StepDimTol_GeometricTolerance)
33
34
35class StepDimTol_GeoTolAndGeoTolWthDatRefAndModGeoTolAndPosTol : public StepDimTol_GeometricTolerance
36{
37
38public:
39
40
41 Standard_EXPORT StepDimTol_GeoTolAndGeoTolWthDatRefAndModGeoTolAndPosTol();
42
43 Standard_EXPORT void Init (const Handle(TCollection_HAsciiString)& aName, const Handle(TCollection_HAsciiString)& aDescription, const Handle(StepBasic_MeasureWithUnit)& aMagnitude, const Handle(StepRepr_ShapeAspect)& aTolerancedShapeAspect, const Handle(StepDimTol_GeometricToleranceWithDatumReference)& aGTWDR, const Handle(StepDimTol_ModifiedGeometricTolerance)& aMGT);
44
45 Standard_EXPORT void SetGeometricToleranceWithDatumReference (const Handle(StepDimTol_GeometricToleranceWithDatumReference)& aGTWDR);
46
47 Standard_EXPORT Handle(StepDimTol_GeometricToleranceWithDatumReference) GetGeometricToleranceWithDatumReference() const;
48
49 Standard_EXPORT void SetModifiedGeometricTolerance (const Handle(StepDimTol_ModifiedGeometricTolerance)& aMGT);
50
51 Standard_EXPORT Handle(StepDimTol_ModifiedGeometricTolerance) GetModifiedGeometricTolerance() const;
52
53 Standard_EXPORT void SetPositionTolerance (const Handle(StepDimTol_PositionTolerance)& aPT);
54
55 Standard_EXPORT Handle(StepDimTol_PositionTolerance) GetPositionTolerance() const;
56
57
58
59
60 DEFINE_STANDARD_RTTI(StepDimTol_GeoTolAndGeoTolWthDatRefAndModGeoTolAndPosTol,StepDimTol_GeometricTolerance)
61
62protected:
63
64
65
66
67private:
68
69
70 Handle(StepDimTol_GeometricToleranceWithDatumReference) myGeometricToleranceWithDatumReference;
71 Handle(StepDimTol_ModifiedGeometricTolerance) myModifiedGeometricTolerance;
72 Handle(StepDimTol_PositionTolerance) myPositionTolerance;
73
74
75};
76
77
78
79
80
81
82
83#endif // _StepDimTol_GeoTolAndGeoTolWthDatRefAndModGeoTolAndPosTol_HeaderFile