17 #ifndef REMWHAREAD_EXPORT_HPP 18 #define REMWHAREAD_EXPORT_HPP 48 explicit ExportBase(
const list<Database::entry> &entries,
54 virtual void print()
const = 0;
57 const list<Database::entry> _entries;
67 const list<Database::entry>
73 #endif // REMWHAREAD_EXPORT_HPP ExportBase(const list< Database::entry > &entries, ostream &out=cout)
Export vector of Database::entry.
Definition: export.cpp:24
const list< Database::entry > sort_entries(list< Database::entry > entries) const
Sort entries from newest to oldest.
Definition: export.cpp:30
Base class for exports.
Definition: export.hpp:39
virtual void print() const =0
Print output to std::ostream.