00001
00002 #ifndef XSIL_COMMENT_HH
00003 #define XSIL_COMMENT_HH
00004
00005 #include "xsil/xobj.hh"
00006 #include <string>
00007
00008 namespace xsil {
00009 class Xwriter;
00010
00017 class comment : public xobj {
00018 public:
00022 comment(void);
00023
00028 comment(const char* Text);
00029
00033 ~comment(void);
00034
00039 void Spew(Xwriter& xout) const;
00040
00045 comment* Clone(void) const;
00046
00051 const char* getText(void) const;
00052
00057 const char* getObjType(void) const;
00058
00063 void setText(const char* Text);
00064
00065 private:
00066 std::string mText;
00067 };
00068
00069 }
00070
00071 #endif // XSIL_COMMENT_HH