Warning, file /include/opencascade/XCAFDoc_NoteComment.hxx was not indexed
or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014 #ifndef _XCAFDoc_NoteComment_HeaderFile
0015 #define _XCAFDoc_NoteComment_HeaderFile
0016
0017 #include <XCAFDoc_Note.hxx>
0018
0019
0020
0021 class XCAFDoc_NoteComment : public XCAFDoc_Note
0022 {
0023 public:
0024 DEFINE_STANDARD_RTTIEXT(XCAFDoc_NoteComment, XCAFDoc_Note)
0025
0026
0027 Standard_EXPORT static const Standard_GUID& GetID();
0028
0029
0030 Standard_EXPORT static occ::handle<XCAFDoc_NoteComment> Get(const TDF_Label& theLabel);
0031
0032
0033
0034
0035
0036
0037 Standard_EXPORT static occ::handle<XCAFDoc_NoteComment> Set(
0038 const TDF_Label& theLabel,
0039 const TCollection_ExtendedString& theUserName,
0040 const TCollection_ExtendedString& theTimeStamp,
0041 const TCollection_ExtendedString& theComment);
0042
0043
0044 Standard_EXPORT XCAFDoc_NoteComment();
0045
0046
0047 Standard_EXPORT void Set(const TCollection_ExtendedString& theComment);
0048
0049
0050 const TCollection_ExtendedString& Comment() const { return myComment; }
0051
0052 public:
0053
0054 Standard_EXPORT const Standard_GUID& ID() const override;
0055 Standard_EXPORT occ::handle<TDF_Attribute> NewEmpty() const override;
0056 Standard_EXPORT void Restore(const occ::handle<TDF_Attribute>& theAttrFrom) override;
0057 Standard_EXPORT void Paste(const occ::handle<TDF_Attribute>& theAttrInto,
0058 const occ::handle<TDF_RelocationTable>& theRT) const override;
0059 Standard_EXPORT Standard_OStream& Dump(Standard_OStream& theOS) const override;
0060
0061 protected:
0062 TCollection_ExtendedString myComment;
0063 };
0064
0065 #endif