#include <PlainTextGenerator.hpp>
Public Member Functions | |
auto | fail (const std::string &message, const std::string &type) -> void override |
auto | write () -> std::string override |
PlainTextGenerator (const std::vector< BibElement > &elements) | |
Public Member Functions inherited from AbstractGenerator | |
AbstractGenerator (std::vector< BibElement > elements) | |
Public Member Functions inherited from Generator | |
virtual | ~Generator ()=default |
Additional Inherited Members | |
Static Public Member Functions inherited from AbstractGenerator | |
static auto | uniqueFieldsOf (const std::vector< BibElement > &values) noexcept -> std::unordered_set< std::string > |
static auto | sortedFields (const std::vector< Field > &set) noexcept -> std::vector< Field > |
Protected Attributes inherited from AbstractGenerator | |
std::vector< BibElement > | elements |
Elements to write. More... | |
Definition at line 6 of file PlainTextGenerator.hpp.
|
explicit |
Definition at line 31 of file PlainTextGenerator.cpp.
References AbstractGenerator::elements.
|
overridevirtual |
Throws a HTML-Generator-Exception
message | the message to append |
Reimplemented from AbstractGenerator.
Definition at line 27 of file PlainTextGenerator.cpp.
References AbstractGenerator::fail().
|
overridevirtual |
Writes all elements as plain text
FileWriterException | on error |
Reimplemented from AbstractGenerator.
Definition at line 9 of file PlainTextGenerator.cpp.
Referenced by main(), and TEST_F().