1 //! \file ADataOutput.h
7 #include "ArticleCollection.h"
9 /*! Abstract base class for output modules.
10 * Child classes are responsible for converting the article structure
16 /*! Output an article to an outstream.
17 * \param a pointer to article to be output
18 * \param os out stream to putput to.
19 * YOU are responsible for opening and closing the stream
21 virtual void output(const Article
* a
, std::ostream
& os
) = 0;
23 /*! Output an article collection to an outstream.
24 * \param ac reference to article collection to be output
25 * \param os out stream to putput to
26 * YOU are responsible for opening and closing the stream
28 virtual void output(const ArticleCollection
& ac
, std::ostream
& os
) = 0;
30 virtual ~ADataOutput() {}
33 #endif // _ADATAOUTPUT_H