Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-09-10 09:18:12

0001 // Created on: 2015-08-06
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_GeoTolAndGeoTolWthDatRefAndGeoTolWthMod_HeaderFile
0017 #define _StepDimTol_GeoTolAndGeoTolWthDatRefAndGeoTolWthMod_HeaderFile
0018 
0019 #include <Standard.hxx>
0020 #include <Standard_Type.hxx>
0021 
0022 #include <StepDimTol_GeometricTolerance.hxx>
0023 #include <StepDimTol_GeometricToleranceType.hxx>
0024 class StepDimTol_GeometricToleranceTarget;
0025 class StepDimTol_GeometricToleranceWithDatumReference;
0026 class StepDimTol_GeometricToleranceWithModifiers;
0027 class TCollection_HAsciiString;
0028 class StepBasic_MeasureWithUnit;
0029 class StepRepr_ShapeAspect;
0030 
0031 class StepDimTol_GeoTolAndGeoTolWthDatRefAndGeoTolWthMod;
0032 DEFINE_STANDARD_HANDLE(StepDimTol_GeoTolAndGeoTolWthDatRefAndGeoTolWthMod,
0033                        StepDimTol_GeometricTolerance)
0034 
0035 class StepDimTol_GeoTolAndGeoTolWthDatRefAndGeoTolWthMod : public StepDimTol_GeometricTolerance
0036 {
0037 
0038 public:
0039   Standard_EXPORT StepDimTol_GeoTolAndGeoTolWthDatRefAndGeoTolWthMod();
0040 
0041   Standard_EXPORT void Init(const Handle(TCollection_HAsciiString)&  theName,
0042                             const Handle(TCollection_HAsciiString)&  theDescription,
0043                             const Handle(StepBasic_MeasureWithUnit)& theMagnitude,
0044                             const Handle(StepRepr_ShapeAspect)&      theTolerancedShapeAspect,
0045                             const Handle(StepDimTol_GeometricToleranceWithDatumReference)& theGTWDR,
0046                             const Handle(StepDimTol_GeometricToleranceWithModifiers)&      theGTWM,
0047                             const StepDimTol_GeometricToleranceType                        theType);
0048 
0049   Standard_EXPORT void Init(const Handle(TCollection_HAsciiString)&    aName,
0050                             const Handle(TCollection_HAsciiString)&    aDescription,
0051                             const Handle(StepBasic_MeasureWithUnit)&   aMagnitude,
0052                             const StepDimTol_GeometricToleranceTarget& aTolerancedShapeAspect,
0053                             const Handle(StepDimTol_GeometricToleranceWithDatumReference)& aGTWDR,
0054                             const Handle(StepDimTol_GeometricToleranceWithModifiers)&      aGTWM,
0055                             const StepDimTol_GeometricToleranceType                        theType);
0056 
0057   inline void SetGeometricToleranceWithDatumReference(
0058     const Handle(StepDimTol_GeometricToleranceWithDatumReference)& theGTWDR)
0059   {
0060     myGeometricToleranceWithDatumReference = theGTWDR;
0061   }
0062 
0063   inline Handle(StepDimTol_GeometricToleranceWithDatumReference)
0064     GetGeometricToleranceWithDatumReference() const
0065   {
0066     return myGeometricToleranceWithDatumReference;
0067   }
0068 
0069   inline void SetGeometricToleranceWithModifiers(
0070     const Handle(StepDimTol_GeometricToleranceWithModifiers)& theGTWM)
0071   {
0072     myGeometricToleranceWithModifiers = theGTWM;
0073   }
0074 
0075   inline Handle(StepDimTol_GeometricToleranceWithModifiers) GetGeometricToleranceWithModifiers()
0076     const
0077   {
0078     return myGeometricToleranceWithModifiers;
0079   }
0080 
0081   inline void SetGeometricToleranceType(const StepDimTol_GeometricToleranceType theType)
0082   {
0083     myToleranceType = theType;
0084   }
0085 
0086   StepDimTol_GeometricToleranceType GetToleranceType() const { return myToleranceType; }
0087 
0088   DEFINE_STANDARD_RTTIEXT(StepDimTol_GeoTolAndGeoTolWthDatRefAndGeoTolWthMod,
0089                           StepDimTol_GeometricTolerance)
0090 
0091 private:
0092   Handle(StepDimTol_GeometricToleranceWithDatumReference) myGeometricToleranceWithDatumReference;
0093   Handle(StepDimTol_GeometricToleranceWithModifiers)      myGeometricToleranceWithModifiers;
0094   StepDimTol_GeometricToleranceType                       myToleranceType;
0095 };
0096 #endif // _StepDimTol_GeoTolAndGeoTolWthDatRefAndGeoTolWthMod_HeaderFile