33 lines
767 B
C++
33 lines
767 B
C++
/**
|
|
* @author Edouard DUPIN
|
|
*
|
|
* @copyright 2011, Edouard DUPIN, all right reserved
|
|
*
|
|
* @license BSD v3 (see license file)
|
|
*/
|
|
|
|
#ifndef __ETK_XML_COMMENT_H__
|
|
#define __ETK_XML_COMMENT_H__
|
|
|
|
#include <exml/EXmlNode.h>
|
|
#include <etk/Vector.h>
|
|
|
|
namespace exml
|
|
{
|
|
class EXmlComment : public EXmlNode
|
|
{
|
|
public:
|
|
EXmlComment(void) { };
|
|
virtual ~EXmlComment(void) { };
|
|
virtual nodeType_te GetType(void) const { return typeAttribute; };
|
|
virtual bool Parse(const etk::UString& _data, int32_t& _pos, bool _caseSensitive, ivec2& _filePos);
|
|
virtual bool Generate(etk::UString& _data, int32_t _indent) const;
|
|
virtual operator exml::EXmlComment* () { return this; };
|
|
virtual operator const exml::EXmlComment* () const { return this; };
|
|
};
|
|
};
|
|
|
|
|
|
#endif
|
|
|