|
denigma 4.0.0
|
Public interface implemented by adapters whose input is a random-access container. More...
#include <conversion.h>

Public Member Functions | |
| virtual | ~IReaderConverter ()=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 (const IRandomAccessReader &input, std::ostream &output, const ConversionRequest &request={}) const =0 |
| Converts the input reader and writes the converted output to the provided stream. | |
Public interface implemented by adapters whose input is a random-access container.
|
pure virtual |
Converts the input reader and writes the converted output to the provided stream.
Implemented in denigma::formats::enigmaxml::MusxToEnigmaXmlConverter, and denigma::formats::mnx::MusxToMnxJsonConverter.
|
pure virtual |
Returns the source format accepted by this converter.
Implemented in denigma::formats::enigmaxml::MusxToEnigmaXmlConverter, and denigma::formats::mnx::MusxToMnxJsonConverter.
|
pure virtual |
Returns the target format produced by this converter.
Implemented in denigma::formats::enigmaxml::MusxToEnigmaXmlConverter, and denigma::formats::mnx::MusxToMnxJsonConverter.