Add implementation to cache reader
[dueringa_WikiWalker.git] / src / ToGraphvizWriter.h
blobb79eaf9f29712db6bcd55a1ffe3bb793731e4afc
1 //! \file ToGraphvizWriter.h
3 #ifndef _TOGRAPHVIZWRITER_H
4 #define _TOGRAPHVIZWRITER_H
6 #include "ADataOutput.h"
8 /*! Writing to a file in dot format
9 */
10 class ToGraphvizWriter : public ADataOutput
12 public:
13 virtual void output(const Article* a, std::ostream& os);
14 virtual void output(const ArticleCollection& ac, std::ostream& os);
15 private:
16 void writeHeader(std::ostream& os);
17 void writeFooter(std::ostream& os);
18 void writeArticle(const Article *a, std::ostream& os);
21 #endif // _TOGRAPHVIZWRITER_H