0027566: Configuration - define Handle_ as non-template class for compatibility with...
[occt.git] / src / StepDimTol / StepDimTol_RunoutZoneOrientation.hxx
CommitLineData
28a73c1f 1// Created on: 2015-07-13
2// Created by: Irina KRYLOVA
3// Copyright (c) 2015 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_RunoutZoneOrientation_HeaderFile
17#define _StepDimTol_RunoutZoneOrientation_HeaderFile
18
19#include <StepDimTol_RunoutZoneOrientation.hxx>
20
21#include <MMgt_TShared.hxx>
22#include <Standard.hxx>
23#include <Standard_Type.hxx>
24#include <StepBasic_PlaneAngleMeasureWithUnit.hxx>
25
26class StepDimTol_RunoutZoneOrientation;
27DEFINE_STANDARD_HANDLE(StepDimTol_RunoutZoneOrientation, MMgt_TShared)
28//! Added for Dimensional Tolerances
29class StepDimTol_RunoutZoneOrientation : public MMgt_TShared
30{
31
32public:
33
34 Standard_EXPORT StepDimTol_RunoutZoneOrientation();
35
36 //! Init all field own and inherited
18f7c9a5 37 Standard_EXPORT void Init (const Handle(StepBasic_PlaneAngleMeasureWithUnit)& theAngle);
28a73c1f 38
39 //! Returns field Angle
40 inline Handle(StepBasic_PlaneAngleMeasureWithUnit) Angle()
41 {
2f220b97 42 return myAngle;
28a73c1f 43 }
44
45 //! Set field Angle
46 inline void SetAngle(const Handle(StepBasic_PlaneAngleMeasureWithUnit) &theAngle)
47 {
2f220b97 48 myAngle = theAngle;
28a73c1f 49 }
50
92efcf78 51 DEFINE_STANDARD_RTTIEXT(StepDimTol_RunoutZoneOrientation,MMgt_TShared)
28a73c1f 52
53private:
2f220b97 54 Handle(StepBasic_PlaneAngleMeasureWithUnit) myAngle;
28a73c1f 55
56};
57#endif // _StepDimTol_RunoutZoneOrientation_HeaderFile