Warning, file /include/opencascade/Message_AttributeObject.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 _Message_AttributeObject_HeaderFile
0015 #define _Message_AttributeObject_HeaderFile
0016
0017 #include <Message_Attribute.hxx>
0018 #include <NCollection_DefineAlloc.hxx>
0019
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 (const Handle(Standard_Transient)& theObject,
0028 const TCollection_AsciiString& theName = TCollection_AsciiString());
0029
0030
0031
0032 const Handle(Standard_Transient)& Object() const { return myObject; }
0033
0034
0035
0036 void SetObject (const Handle(Standard_Transient)& theObject) { myObject = theObject; }
0037
0038
0039 virtual Standard_EXPORT void DumpJson (Standard_OStream& theOStream,
0040 Standard_Integer theDepth = -1) const Standard_OVERRIDE;
0041
0042 private:
0043 Handle(Standard_Transient) myObject;
0044 };
0045
0046 #endif