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