1 // SSCommentObject.cpp: implementation of the SSCommentObject class.
3 //////////////////////////////////////////////////////////////////////
6 #include "SSCommentObject.h"
8 //////////////////////////////////////////////////////////////////////
9 // Construction/Destruction
10 //////////////////////////////////////////////////////////////////////
12 SSCommentObject::SSCommentObject(SSRecordPtr pRecord
)
13 : SSObject (pRecord
, eCommentRecord
)
15 m_Comment
= std::string (reinterpret_cast <const char*> (pRecord
->GetBuffer()), pRecord
->GetLen ());
18 SSCommentObject::~SSCommentObject()
23 std::string
SSCommentObject::GetComment () const
28 void SSCommentObject::ToXml (XMLNode
* pParent
) const
30 XMLValue
commentValue (pParent
, GetComment ());
33 void SSCommentObject::Dump (std::ostream
& os
) const
36 os
<< GetComment () << std::endl
;