Fixed typo. Was not getting any text after pRecord->GetRecordType() (which was proba...
[vss2svn.git] / ssphys / SSPhysLib / SSCommentObject.h
blobe1e3588811f0f5e8cfbff9deb38786ea633d3a99
1 // SSCommentObject.h: interface for the SSCommentObject class.
2 //
3 //////////////////////////////////////////////////////////////////////
5 #if !defined(AFX_SSCOMMENTOBJECT_H__CA1555B2_0C25_42AE_9720_D670E5E447D6__INCLUDED_)
6 #define AFX_SSCOMMENTOBJECT_H__CA1555B2_0C25_42AE_9720_D670E5E447D6__INCLUDED_
8 #if _MSC_VER > 1000
9 #pragma once
10 #endif // _MSC_VER > 1000
12 #include "SSObject.h"
14 class SSCommentObject : public SSObject
16 public:
17 SSCommentObject(SSRecordPtr pRecord);
18 virtual ~SSCommentObject();
20 std::string GetComment () const;
22 virtual void Accept (ISSObjectVisitor& rVisitor, const ISSContext* pCtx = NULL) const { rVisitor.Apply (*this, pCtx); }
24 void ToXml (XMLNode* pParent) const;
25 void Dump (std::ostream& os) const;
27 protected:
28 std::string m_Comment;
31 #endif // !defined(AFX_SSCOMMENTOBJECT_H__CA1555B2_0C25_42AE_9720_D670E5E447D6__INCLUDED_)