Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 10:05:07

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 class StepDimTol_SimpleDatumReferenceModifierMember;
0029 DEFINE_STANDARD_HANDLE(StepDimTol_SimpleDatumReferenceModifierMember, StepData_SelectInt)
0030 //! Defines SimpleDatumReferenceModifier as unique member of DatumReferenceModifier
0031 //! Works with an EnumTool
0032 class StepDimTol_SimpleDatumReferenceModifierMember : public StepData_SelectInt
0033 {
0034 
0035 public:
0036   
0037   Standard_EXPORT StepDimTol_SimpleDatumReferenceModifierMember();
0038   
0039   virtual Standard_Boolean HasName() const Standard_OVERRIDE
0040     {  return Standard_True;  }
0041 
0042   virtual Standard_CString Name() const Standard_OVERRIDE
0043     {  return "SIMPLE_DATUM_REFERENCE_MODIFIER";  }
0044 
0045   virtual Standard_Boolean SetName(const Standard_CString /*theName*/) Standard_OVERRIDE
0046     {  return Standard_True;  }
0047 
0048   Standard_Integer Kind() const Standard_OVERRIDE
0049     {return 4;}
0050   
0051   Standard_EXPORT virtual   Standard_CString EnumText()  const Standard_OVERRIDE;
0052   
0053   Standard_EXPORT virtual   void SetEnumText (const Standard_Integer theValue, const Standard_CString theText)  Standard_OVERRIDE;
0054   
0055   Standard_EXPORT   void SetValue (const StepDimTol_SimpleDatumReferenceModifier theValue) ;
0056   
0057   Standard_EXPORT   StepDimTol_SimpleDatumReferenceModifier Value()  const;
0058 
0059   DEFINE_STANDARD_RTTIEXT(StepDimTol_SimpleDatumReferenceModifierMember,StepData_SelectInt)
0060 };
0061 #endif // _StepDimTol_SimpleDatumReferenceModifierMember_HeaderFile