remwharead  0.6.3
Public Member Functions | List of all members
remwharead::Export::AsciiDoc Class Reference

Export as AsciiDoc document. More...

#include <remwharead/export/adoc.hpp>

Inheritance diagram for remwharead::Export::AsciiDoc:
remwharead::Export::ExportBase

Public Member Functions

void print () const override
 Print output to std::ostream. More...
 
 ExportBase (const vector< Database::entry > &entries, ostream &out=cout)
 Export vector of Database::entry. More...
 

Additional Inherited Members

- Protected Member Functions inherited from remwharead::Export::ExportBase
const vector< Database::entrysort_entries (vector< Database::entry > entries) const
 Sort entries from newest to oldest. More...
 
 ExportBase (const vector< Database::entry > &entries, ostream &out=cout)
 Export vector of Database::entry. More...
 
- Protected Attributes inherited from remwharead::Export::ExportBase
const vector< Database::entry_entries
 
ostream & _out
 

Detailed Description

Export as AsciiDoc document.

Since
0.6.0

Member Function Documentation

◆ ExportBase()

remwharead::Export::ExportBase::ExportBase
explicit

Export vector of Database::entry.

Parameters
entriesVector of Database::entry to export.
outOutput stream.
25  : _entries(sort_entries(entries))
26  , _out(out)
27  {}
const vector< Database::entry > sort_entries(vector< Database::entry > entries) const
Sort entries from newest to oldest.
Definition: export.cpp:30

◆ print()

void remwharead::Export::AsciiDoc::print ( ) const
overridevirtual

Print output to std::ostream.

Implements remwharead::Export::ExportBase.


The documentation for this class was generated from the following file: