Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-09-15 09:17:10

0001 // Created on: 2003-06-04
0002 // Created by: Galina KULIKOVA
0003 // Copyright (c) 2003-2014 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_ModifiedGeometricTolerance_HeaderFile
0017 #define _StepDimTol_ModifiedGeometricTolerance_HeaderFile
0018 
0019 #include <Standard.hxx>
0020 #include <Standard_Type.hxx>
0021 
0022 #include <StepDimTol_LimitCondition.hxx>
0023 #include <StepDimTol_GeometricTolerance.hxx>
0024 class TCollection_HAsciiString;
0025 class StepDimTol_GeometricToleranceTarget;
0026 class StepRepr_ShapeAspect;
0027 
0028 //! Representation of STEP entity ModifiedGeometricTolerance
0029 class StepDimTol_ModifiedGeometricTolerance : public StepDimTol_GeometricTolerance
0030 {
0031 
0032 public:
0033   //! Empty constructor
0034   Standard_EXPORT StepDimTol_ModifiedGeometricTolerance();
0035 
0036   //! Initialize all fields (own and inherited) AP214
0037   Standard_EXPORT void Init(
0038     const occ::handle<TCollection_HAsciiString>& theGeometricTolerance_Name,
0039     const occ::handle<TCollection_HAsciiString>& theGeometricTolerance_Description,
0040     const occ::handle<Standard_Transient>&       theGeometricTolerance_Magnitude,
0041     const occ::handle<StepRepr_ShapeAspect>&     theGeometricTolerance_TolerancedShapeAspect,
0042     const StepDimTol_LimitCondition              theModifier);
0043 
0044   //! Initialize all fields (own and inherited) AP242
0045   Standard_EXPORT void Init(
0046     const occ::handle<TCollection_HAsciiString>& theGeometricTolerance_Name,
0047     const occ::handle<TCollection_HAsciiString>& theGeometricTolerance_Description,
0048     const occ::handle<Standard_Transient>&       theGeometricTolerance_Magnitude,
0049     const StepDimTol_GeometricToleranceTarget&   theGeometricTolerance_TolerancedShapeAspect,
0050     const StepDimTol_LimitCondition              theModifier);
0051 
0052   //! Returns field Modifier
0053   Standard_EXPORT StepDimTol_LimitCondition Modifier() const;
0054 
0055   //! Set field Modifier
0056   Standard_EXPORT void SetModifier(const StepDimTol_LimitCondition theModifier);
0057 
0058   DEFINE_STANDARD_RTTIEXT(StepDimTol_ModifiedGeometricTolerance, StepDimTol_GeometricTolerance)
0059 
0060 private:
0061   StepDimTol_LimitCondition myModifier;
0062 };
0063 
0064 #endif // _StepDimTol_ModifiedGeometricTolerance_HeaderFile