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_DatumReferenceModifierWithValue_HeaderFile
0017 #define _StepDimTol_DatumReferenceModifierWithValue_HeaderFile
0018 
0019 #include <Standard.hxx>
0020 #include <Standard_Handle.hxx>
0021 
0022 #include <Standard_Transient.hxx>
0023 #include <Standard_Integer.hxx>
0024 #include <StepBasic_LengthMeasureWithUnit.hxx>
0025 #include <StepDimTol_DatumReferenceModifierType.hxx>
0026 
0027 class StepDimTol_DatumReferenceModifierWithValue;
0028 DEFINE_STANDARD_HANDLE(StepDimTol_DatumReferenceModifierWithValue, Standard_Transient)
0029 //! Representation of STEP entity DatumReferenceModifierWithValue
0030 class StepDimTol_DatumReferenceModifierWithValue : public Standard_Transient
0031 {
0032 
0033 public:
0034   
0035   //! Empty constructor
0036   Standard_EXPORT StepDimTol_DatumReferenceModifierWithValue();
0037   
0038   //! Initialize all fields (own and inherited)
0039   Standard_EXPORT   void Init (const StepDimTol_DatumReferenceModifierType& theModifierType,
0040                                const Handle(StepBasic_LengthMeasureWithUnit)& theModifierValue);
0041   
0042   //! Returns field ModifierType
0043   inline StepDimTol_DatumReferenceModifierType ModifierType () const
0044   {
0045     return myModifierType;
0046   }
0047   
0048   //! Set field ModifierType
0049   inline void SetModifierType (const StepDimTol_DatumReferenceModifierType &theModifierType)
0050   {
0051     myModifierType = theModifierType;
0052   }
0053   
0054   //! Returns field ModifierValue
0055   inline Handle(StepBasic_LengthMeasureWithUnit) ModifierValue()
0056   {
0057     return myModifierValue;
0058   }
0059   
0060   //! Set field ModifierValue
0061   inline void SetModifierValue(const Handle(StepBasic_LengthMeasureWithUnit)& theModifierValue)
0062   {
0063     myModifierValue = theModifierValue;
0064   }
0065   
0066   DEFINE_STANDARD_RTTIEXT(StepDimTol_DatumReferenceModifierWithValue,Standard_Transient)
0067 
0068 private: 
0069   StepDimTol_DatumReferenceModifierType myModifierType;
0070   Handle(StepBasic_LengthMeasureWithUnit) myModifierValue;
0071 };
0072 #endif // _StepDimTol_DatumReferenceModifierWithValue_HeaderFile