File indexing completed on 2026-09-20 09:19:36
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016 #ifndef _XCAFDoc_GeomTolerance_HeaderFile
0017 #define _XCAFDoc_GeomTolerance_HeaderFile
0018
0019 #include <Standard.hxx>
0020 #include <Standard_Type.hxx>
0021
0022 #include <TDataStd_GenericEmpty.hxx>
0023 class Standard_GUID;
0024 class TDF_Label;
0025 class XCAFDimTolObjects_GeomToleranceObject;
0026
0027
0028 #ifdef GetObject
0029 #undef GetObject
0030 #endif
0031
0032
0033 class XCAFDoc_GeomTolerance : public TDataStd_GenericEmpty
0034 {
0035
0036 public:
0037 Standard_EXPORT XCAFDoc_GeomTolerance();
0038
0039 Standard_EXPORT XCAFDoc_GeomTolerance(const occ::handle<XCAFDoc_GeomTolerance>& theObj);
0040
0041 Standard_EXPORT static const Standard_GUID& GetID();
0042
0043 Standard_EXPORT static occ::handle<XCAFDoc_GeomTolerance> Set(const TDF_Label& theLabel);
0044
0045
0046
0047 Standard_EXPORT void SetObject(
0048 const occ::handle<XCAFDimTolObjects_GeomToleranceObject>& theGeomToleranceObject);
0049
0050
0051 Standard_EXPORT occ::handle<XCAFDimTolObjects_GeomToleranceObject> GetObject() const;
0052
0053 Standard_EXPORT const Standard_GUID& ID() const override;
0054
0055
0056 Standard_EXPORT void DumpJson(Standard_OStream& theOStream, int theDepth = -1) const override;
0057
0058 DEFINE_DERIVED_ATTRIBUTE(XCAFDoc_GeomTolerance, TDataStd_GenericEmpty)
0059 };
0060
0061 #endif