Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-09-17 09:22:07

0001 // Created on: 2015-08-11
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_GeoTolAndGeoTolWthDatRefAndUneqDisGeoTol_HeaderFile
0017 #define _StepDimTol_GeoTolAndGeoTolWthDatRefAndUneqDisGeoTol_HeaderFile
0018 
0019 #include <Standard.hxx>
0020 #include <Standard_Type.hxx>
0021 
0022 #include <StepDimTol_GeoTolAndGeoTolWthDatRef.hxx>
0023 class StepDimTol_GeometricToleranceTarget;
0024 class StepDimTol_GeometricToleranceWithDatumReference;
0025 class StepDimTol_UnequallyDisposedGeometricTolerance;
0026 class TCollection_HAsciiString;
0027 class StepRepr_ShapeAspect;
0028 
0029 class StepDimTol_GeoTolAndGeoTolWthDatRefAndUneqDisGeoTol
0030     : public StepDimTol_GeoTolAndGeoTolWthDatRef
0031 {
0032 
0033 public:
0034   Standard_EXPORT StepDimTol_GeoTolAndGeoTolWthDatRefAndUneqDisGeoTol();
0035 
0036   Standard_EXPORT void Init(
0037     const occ::handle<TCollection_HAsciiString>&                        theName,
0038     const occ::handle<TCollection_HAsciiString>&                        theDescription,
0039     const occ::handle<Standard_Transient>&                              theMagnitude,
0040     const occ::handle<StepRepr_ShapeAspect>&                            theTolerancedShapeAspect,
0041     const occ::handle<StepDimTol_GeometricToleranceWithDatumReference>& theGTWDR,
0042     const StepDimTol_GeometricToleranceType                             theType,
0043     const occ::handle<StepDimTol_UnequallyDisposedGeometricTolerance>&  theUDGT);
0044 
0045   Standard_EXPORT void Init(
0046     const occ::handle<TCollection_HAsciiString>&                        aName,
0047     const occ::handle<TCollection_HAsciiString>&                        aDescription,
0048     const occ::handle<Standard_Transient>&                              aMagnitude,
0049     const StepDimTol_GeometricToleranceTarget&                          aTolerancedShapeAspect,
0050     const occ::handle<StepDimTol_GeometricToleranceWithDatumReference>& aGTWDR,
0051     const StepDimTol_GeometricToleranceType                             theType,
0052     const occ::handle<StepDimTol_UnequallyDisposedGeometricTolerance>&  theUDGT);
0053 
0054   inline void SetUnequallyDisposedGeometricTolerance(
0055     const occ::handle<StepDimTol_UnequallyDisposedGeometricTolerance>& theUDGT)
0056   {
0057     myUnequallyDisposedGeometricTolerance = theUDGT;
0058   }
0059 
0060   inline occ::handle<StepDimTol_UnequallyDisposedGeometricTolerance>
0061     GetUnequallyDisposedGeometricTolerance() const
0062   {
0063     return myUnequallyDisposedGeometricTolerance;
0064   }
0065 
0066   DEFINE_STANDARD_RTTIEXT(StepDimTol_GeoTolAndGeoTolWthDatRefAndUneqDisGeoTol,
0067                           StepDimTol_GeoTolAndGeoTolWthDatRef)
0068 
0069 private:
0070   occ::handle<StepDimTol_UnequallyDisposedGeometricTolerance> myUnequallyDisposedGeometricTolerance;
0071 };
0072 #endif // _StepDimTol_GeoTolAndGeoTolWthDatRefAndUneqDisGeoTol_HeaderFile