File indexing completed on 2025-01-18 10:05:19
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014 #ifndef _TDataStd_GenericExtString_HeaderFile
0015 #define _TDataStd_GenericExtString_HeaderFile
0016
0017 #include <TDF_DerivedAttribute.hxx>
0018 #include <TCollection_ExtendedString.hxx>
0019 #include <Standard_GUID.hxx>
0020
0021 class TDF_RelocationTable;
0022
0023 class TDataStd_GenericExtString;
0024 DEFINE_STANDARD_HANDLE(TDataStd_GenericExtString, TDF_Attribute)
0025
0026
0027
0028
0029 class TDataStd_GenericExtString : public TDF_Attribute
0030 {
0031
0032 public:
0033
0034
0035 Standard_EXPORT virtual void Set (const TCollection_ExtendedString& S);
0036
0037
0038 Standard_EXPORT void SetID (const Standard_GUID& guid) Standard_OVERRIDE;
0039
0040
0041 Standard_EXPORT virtual const TCollection_ExtendedString& Get() const;
0042
0043
0044 Standard_EXPORT const Standard_GUID& ID() const Standard_OVERRIDE;
0045
0046 Standard_EXPORT void Restore (const Handle(TDF_Attribute)& with) Standard_OVERRIDE;
0047
0048 Standard_EXPORT void Paste (const Handle(TDF_Attribute)& into, const Handle(TDF_RelocationTable)& RT) const Standard_OVERRIDE;
0049
0050
0051 Standard_EXPORT virtual void DumpJson (Standard_OStream& theOStream, Standard_Integer theDepth = -1) const Standard_OVERRIDE;
0052
0053 DEFINE_STANDARD_RTTIEXT(TDataStd_GenericExtString,TDF_Attribute)
0054
0055 protected:
0056
0057 TCollection_ExtendedString myString;
0058
0059 Standard_GUID myID;
0060
0061 };
0062
0063 #endif