btool
A parser/converter/transpiler for .bib files
Generator Struct Referenceabstract

#include <Generator.hpp>

+ Inheritance diagram for Generator:
+ Collaboration diagram for Generator:

Public Member Functions

virtual ~Generator ()=default
 
virtual auto write () -> std::string=0
 

Detailed Description

A file writer interface

Definition at line 7 of file Generator.hpp.

Constructor & Destructor Documentation

◆ ~Generator()

virtual Generator::~Generator ( )
virtualdefault

default destructor.

Member Function Documentation

◆ write()

virtual auto Generator::write ( ) -> std::string
pure virtual

Writes Contents to the write-target

Returns
success of the write-action
Note
on success: writes a new file as side effect

Implemented in XmlGenerator, PlainTextGenerator, HtmlGenerator, and AbstractGenerator.


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