Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-09-20 09:19:08

0001 // Created on: 2015-07-16
0002 // Created by: Irina KRYLOVA
0003 // Copyright (c) 2015 OPEN CASCADE SAS
0004 //
0005 // This file is part of Open CASCADE Technology software library.
0006 //
0007 // This library is free software; you can redistribute it and/or modify it under
0008 // the terms of the GNU Lesser General Public License version 2.1 as published
0009 // by the Free Software Foundation, with special exception defined in the file
0010 // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
0011 // distribution for complete text of the license and disclaimer of any warranty.
0012 //
0013 // Alternatively, this file may be used under the terms of Open CASCADE
0014 // commercial license or contractual agreement.
0015 
0016 #ifndef _StepDimTol_SimpleDatumReferenceModifierMember_HeaderFile
0017 #define _StepDimTol_SimpleDatumReferenceModifierMember_HeaderFile
0018 
0019 #include <Standard.hxx>
0020 #include <Standard_Type.hxx>
0021 
0022 #include <StepData_SelectInt.hxx>
0023 #include <Standard_Boolean.hxx>
0024 #include <Standard_CString.hxx>
0025 #include <Standard_Integer.hxx>
0026 #include <StepDimTol_SimpleDatumReferenceModifier.hxx>
0027 
0028 //! Defines SimpleDatumReferenceModifier as unique member of DatumReferenceModifier
0029 //! Works with an EnumTool
0030 class StepDimTol_SimpleDatumReferenceModifierMember : public StepData_SelectInt
0031 {
0032 
0033 public:
0034   Standard_EXPORT StepDimTol_SimpleDatumReferenceModifierMember();
0035 
0036   bool HasName() const override { return true; }
0037 
0038   const char* Name() const override { return "SIMPLE_DATUM_REFERENCE_MODIFIER"; }
0039 
0040   bool SetName(const char* const /*theName*/) override { return true; }
0041 
0042   int Kind() const override { return 4; }
0043 
0044   Standard_EXPORT const char* EnumText() const override;
0045 
0046   Standard_EXPORT void SetEnumText(const int theValue, const char* const theText) override;
0047 
0048   Standard_EXPORT void SetValue(const StepDimTol_SimpleDatumReferenceModifier theValue);
0049 
0050   Standard_EXPORT StepDimTol_SimpleDatumReferenceModifier Value() const;
0051 
0052   DEFINE_STANDARD_RTTIEXT(StepDimTol_SimpleDatumReferenceModifierMember, StepData_SelectInt)
0053 };
0054 #endif // _StepDimTol_SimpleDatumReferenceModifierMember_HeaderFile