1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-05-01 10:26:12 +03:00

XCAF: stupid compilation bug fix

This commit is contained in:
snn 2017-05-12 11:50:21 +03:00 committed by apl
parent 22a334225b
commit 7ab2d56e84

View File

@ -44,6 +44,13 @@ public:
//! Finds a reference attribute on the given label and returns it, if it is found //! Finds a reference attribute on the given label and returns it, if it is found
Standard_EXPORT static Handle(XCAFDoc_Note) Get(const TDF_Label& theLabel); Standard_EXPORT static Handle(XCAFDoc_Note) Get(const TDF_Label& theLabel);
//! Sets the user name and the timestamp of the note.
//! \param [in] theUserName - the user associated with the note.
//! \param [in] theTimeStamp - timestamp of the note.
//! \return A handle to the attribute instance.
Standard_EXPORT void Set(const TCollection_ExtendedString& theUserName,
const TCollection_ExtendedString& theTimeStamp);
//! Returns the user name, who created the note. //! Returns the user name, who created the note.
Standard_EXPORT const TCollection_ExtendedString& UserName() const; Standard_EXPORT const TCollection_ExtendedString& UserName() const;
@ -63,13 +70,6 @@ public:
protected: protected:
//! Sets the user name and the timestamp of the note.
//! \param [in] theUserName - the user associated with the note.
//! \param [in] theTimeStamp - timestamp of the note.
//! \return A handle to the attribute instance.
Standard_EXPORT void Set(const TCollection_ExtendedString& theUserName,
const TCollection_ExtendedString& theTimeStamp);
//! Creates an empty note. //! Creates an empty note.
Standard_EXPORT XCAFDoc_Note(); Standard_EXPORT XCAFDoc_Note();