Support conversion of linkshere
[dueringa_WikiWalker.git] / inc / ToGraphvizWriter.h
blobb9fee989b9e9ded84f71040346fb8463812fc8e3
1 //! \file ToGraphvizWriter.h
3 #ifndef WIKIWALKER_TOGRAPHVIZWRITER_H
4 #define WIKIWALKER_TOGRAPHVIZWRITER_H
6 #include "DataOutputBase.h"
8 namespace WikiWalker
10 /*! Writing to a file in dot format
12 class ToGraphvizWriter : public DataOutputBase
14 public:
15 /*! output an article with links in dot format to a stream
16 * \param a reference to article to be output
17 * \param os out stream to putput to
18 * YOU are responsible for opening and closing the stream
20 void output(const Article* a, std::ostream& os) override;
22 /*! output an article collection in dot format to a stream
23 * \param ac reference to article collection to be output
24 * \param os out stream to putput to
25 * YOU are responsible for opening and closing the stream
27 void output(const CollectionUtils::ArticleCollection& ac,
28 std::ostream& os) override;
30 } // namespace WikiWalker
31 #endif // WIKIWALKER_TOGRAPHVIZWRITER_H