00001 #ifndef SDXTABBASEDSTREAMWRITER_H
00002 #define SDXTABBASEDSTREAMWRITER_H
00003
00004
00005 #include <string>
00006 #include <ostream>
00007
00008 #include "SDXStreamWriter.h"
00009
00010 namespace SDX {
00011 class Document;
00012 namespace Formats {
00016 class TabBasedStreamWriter : public SDX::Helpers::StreamWriter {
00017 public:
00018 TabBasedStreamWriter(){}
00019
00020 void startDocument();
00021 void startNode(std::string nodeName);
00022 void writeAttribute(std::string name, std::string value);
00023 void endNode();
00024 void endDocument();
00025 private:
00026 int m_level;
00027 };
00028 }
00029 }
00030
00031 #endif