28a73c1f |
1 | // Created on: 2015-07-16 |
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 | |
b0cef606 |
16 | #ifndef _StepDimTol_SimpleDatumReferenceModifierMember_HeaderFile |
17 | #define _StepDimTol_SimpleDatumReferenceModifierMember_HeaderFile |
28a73c1f |
18 | |
19 | #include <Standard.hxx> |
20 | #include <Standard_Type.hxx> |
21 | |
22 | #include <StepData_SelectInt.hxx> |
23 | #include <Standard_Boolean.hxx> |
24 | #include <Standard_CString.hxx> |
25 | #include <Standard_Integer.hxx> |
26 | #include <StepDimTol_SimpleDatumReferenceModifier.hxx> |
27 | |
28 | class StepDimTol_SimpleDatumReferenceModifierMember; |
29 | DEFINE_STANDARD_HANDLE(StepDimTol_SimpleDatumReferenceModifierMember, StepData_SelectInt) |
30 | //! Defines SimpleDatumReferenceModifier as unique member of DatumReferenceModifier |
31 | //! Works with an EnumTool |
32 | class StepDimTol_SimpleDatumReferenceModifierMember : public StepData_SelectInt |
33 | { |
34 | |
35 | public: |
36 | |
37 | Standard_EXPORT StepDimTol_SimpleDatumReferenceModifierMember(); |
38 | |
79104795 |
39 | virtual Standard_Boolean HasName() const Standard_OVERRIDE |
28a73c1f |
40 | { return Standard_True; } |
41 | |
79104795 |
42 | virtual Standard_CString Name() const Standard_OVERRIDE |
28a73c1f |
43 | { return "SIMPLE_DATUM_REFERENCE_MODIFIER"; } |
44 | |
79104795 |
45 | virtual Standard_Boolean SetName(const Standard_CString /*theName*/) Standard_OVERRIDE |
28a73c1f |
46 | { return Standard_True; } |
6595eee7 |
47 | |
c7854818 |
48 | Standard_Integer Kind() const Standard_OVERRIDE |
6595eee7 |
49 | {return 4;} |
28a73c1f |
50 | |
79104795 |
51 | Standard_EXPORT virtual Standard_CString EnumText() const Standard_OVERRIDE; |
28a73c1f |
52 | |
79104795 |
53 | Standard_EXPORT virtual void SetEnumText (const Standard_Integer theValue, const Standard_CString theText) Standard_OVERRIDE; |
28a73c1f |
54 | |
55 | Standard_EXPORT void SetValue (const StepDimTol_SimpleDatumReferenceModifier theValue) ; |
56 | |
57 | Standard_EXPORT StepDimTol_SimpleDatumReferenceModifier Value() const; |
58 | |
92efcf78 |
59 | DEFINE_STANDARD_RTTIEXT(StepDimTol_SimpleDatumReferenceModifierMember,StepData_SelectInt) |
28a73c1f |
60 | }; |
61 | #endif // _StepDimTol_SimpleDatumReferenceModifierMember_HeaderFile |