17 #ifndef REMWHAREAD_EXPORT_HPP 18 #define REMWHAREAD_EXPORT_HPP 41 explicit ExportBase(
const vector<Database::entry> &entries,
47 virtual void print()
const = 0;
50 const vector<Database::entry> _entries;
60 const vector<Database::entry>
66 #endif // REMWHAREAD_EXPORT_HPP ExportBase(const vector< Database::entry > &entries, ostream &out=cout)
Export vector of Database::entry.
Definition: export.cpp:24
Definition: export.hpp:32
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.