X-Git-Url: http://git.dev.opencascade.org/gitweb/?p=occt.git;a=blobdiff_plain;f=src%2FTDataStd%2FTDataStd_Integer.hxx;h=731b60e0d458f0441a1f66c92bae4e591022719d;hb=fa53efefc3eb1d7252d1f93dbcf93db0b989406b;hpb=9c86076b21f78c87d61b709bce35b1331fcdd7d0 diff --git a/src/TDataStd/TDataStd_Integer.hxx b/src/TDataStd/TDataStd_Integer.hxx index f18b587d15..731b60e0d4 100644 --- a/src/TDataStd/TDataStd_Integer.hxx +++ b/src/TDataStd/TDataStd_Integer.hxx @@ -24,6 +24,8 @@ #include #include #include +#include + class Standard_GUID; class TDF_Label; class TDF_Attribute; @@ -47,12 +49,20 @@ public: //! Finds, or creates, an Integer attribute and sets //! the Integer attribute is returned. - //! Integer methods - //! =============== Standard_EXPORT static Handle(TDataStd_Integer) Set (const TDF_Label& label, const Standard_Integer value); + //! Finds, or creates, an Integer attribute with explicit user defined and sets . + //! The Integer attribute is returned. + Standard_EXPORT static Handle(TDataStd_Integer) Set (const TDF_Label& label, const Standard_GUID& guid, + const Standard_Integer value); + + //! Integer methods + //! =============== Standard_EXPORT void Set (const Standard_Integer V); - + + //! Sets the explicit GUID (user defined) for the attribute. + Standard_EXPORT void SetID (const Standard_GUID& guid); + //! Returns the integer value contained in the attribute. Standard_EXPORT Standard_Integer Get() const; @@ -85,7 +95,7 @@ private: Standard_Integer myValue; - + Standard_GUID myID; };