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