btool
A parser/converter/transpiler for .bib files
PlainTextGenerator.hpp
Go to the documentation of this file.
1
#ifndef BTOOL_SRC_PLAINTEXTGENERATOR_HPP_
2
#define BTOOL_SRC_PLAINTEXTGENERATOR_HPP_
3
4
#include <
AbstractGenerator.hpp
>
5
6
struct
PlainTextGenerator
:
AbstractGenerator
{
7
8
[[noreturn]]
auto
fail
(
const
std::string &message,
const
std::string &type) ->
void
override
;
9
10
auto
write
() -> std::string
override
;
11
12
explicit
PlainTextGenerator
(
const
std::vector<BibElement> &
elements
);
13
};
14
15
#endif
AbstractGenerator
Definition:
AbstractGenerator.hpp:14
AbstractGenerator.hpp
PlainTextGenerator
Definition:
PlainTextGenerator.hpp:6
PlainTextGenerator::fail
auto fail(const std::string &message, const std::string &type) -> void override
Definition:
PlainTextGenerator.cpp:27
PlainTextGenerator::PlainTextGenerator
PlainTextGenerator(const std::vector< BibElement > &elements)
Definition:
PlainTextGenerator.cpp:31
PlainTextGenerator::write
auto write() -> std::string override
Definition:
PlainTextGenerator.cpp:9
AbstractGenerator::elements
std::vector< BibElement > elements
Elements to write.
Definition:
AbstractGenerator.hpp:16
src
PlainTextGenerator.hpp
Generated by
1.8.19