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_ToleranceZoneForm_HeaderFile |
17 | #define _StepDimTol_ToleranceZoneForm_HeaderFile |
18 | |
19 | #include <StepDimTol_ToleranceZoneForm.hxx> |
20 | |
21 | #include <MMgt_TShared.hxx> |
22 | #include <Standard.hxx> |
23 | #include <Standard_Type.hxx> |
24 | #include <TCollection_HAsciiString.hxx> |
25 | |
26 | class TCollection_HAsciiString; |
27 | |
28 | class StepDimTol_ToleranceZoneForm; |
29 | DEFINE_STANDARD_HANDLE(StepDimTol_ToleranceZoneForm, MMgt_TShared) |
30 | //! Added for Dimensional Tolerances |
31 | class StepDimTol_ToleranceZoneForm : public MMgt_TShared |
32 | { |
33 | |
34 | public: |
35 | |
36 | Standard_EXPORT StepDimTol_ToleranceZoneForm(); |
37 | |
38 | //! Init all field own and inherited |
39 | Standard_EXPORT virtual void Init (const Handle(TCollection_HAsciiString)& theName); |
40 | |
41 | //! Returns field Name |
42 | inline Handle(TCollection_HAsciiString) Name() |
43 | { |
2f220b97 |
44 | return myName; |
28a73c1f |
45 | } |
46 | |
47 | //! Set field Name |
48 | inline void SetName(const Handle(TCollection_HAsciiString) &theName) |
49 | { |
2f220b97 |
50 | myName = theName; |
28a73c1f |
51 | } |
52 | |
92efcf78 |
53 | DEFINE_STANDARD_RTTIEXT(StepDimTol_ToleranceZoneForm,MMgt_TShared) |
28a73c1f |
54 | |
55 | private: |
2f220b97 |
56 | Handle(TCollection_HAsciiString) myName; |
28a73c1f |
57 | |
58 | }; |
59 | #endif // _StepDimTol_ToleranceZoneForm_HeaderFile |