File indexing completed on 2026-09-16 09:17:55
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014 #ifndef _Message_AttributeObject_HeaderFile
0015 #define _Message_AttributeObject_HeaderFile
0016
0017 #include <Message_Attribute.hxx>
0018 #include <TCollection_AsciiString.hxx>
0019 #include <NCollection_DefineAlloc.hxx>
0020
0021
0022 class Message_AttributeObject : public Message_Attribute
0023 {
0024 DEFINE_STANDARD_RTTIEXT(Message_AttributeObject, Message_Attribute)
0025 public:
0026
0027 Standard_EXPORT Message_AttributeObject(
0028 const occ::handle<Standard_Transient>& theObject,
0029 const TCollection_AsciiString& theName = TCollection_AsciiString::EmptyString());
0030
0031
0032
0033 const occ::handle<Standard_Transient>& Object() const { return myObject; }
0034
0035
0036
0037 void SetObject(const occ::handle<Standard_Transient>& theObject) { myObject = theObject; }
0038
0039
0040 Standard_EXPORT void DumpJson(Standard_OStream& theOStream, int theDepth = -1) const override;
0041
0042 private:
0043 occ::handle<Standard_Transient> myObject;
0044 };
0045
0046 #endif