|
denigma 4.0.0
|
Public interface implemented by each conversion adapter. More...
#include <conversion.h>
Public Member Functions | |
| virtual | ~IConverter ()=default |
| virtual destructor | |
| virtual FormatId | sourceFormat () const =0 |
| Returns the source format accepted by this converter. | |
| virtual FormatId | targetFormat () const =0 |
| Returns the target format produced by this converter. | |
| virtual ConversionResult | convert (std::span< const std::byte > input, std::ostream &output, const ConversionRequest &request={}) const =0 |
| Converts the input memory buffer and writes the converted output to the provided stream. | |
Public interface implemented by each conversion adapter.
|
pure virtual |
Converts the input memory buffer and writes the converted output to the provided stream.
Implemented in denigma::formats::mnx::EnigmaXmlToMnxJsonConverter.
|
pure virtual |
Returns the source format accepted by this converter.
Implemented in denigma::formats::mnx::EnigmaXmlToMnxJsonConverter.
|
pure virtual |
Returns the target format produced by this converter.
Implemented in denigma::formats::mnx::EnigmaXmlToMnxJsonConverter.