denigma 4.0.0
Loading...
Searching...
No Matches
denigma::ConversionArtifact Class Reference

Owned documents and result metadata from one conversion. More...

#include <conversion.h>

Public Member Functions

 ConversionArtifact (ConversionResult result, std::vector< ConversionOutput > outputs)
 Creates an artifact from converter result metadata and generated documents.
 
const ConversionResultresult () const noexcept
 Returns converter result metadata.
 
std::span< const ConversionOutputoutputs () const noexcept
 Returns the generated documents in converter emission order.
 
bool hasError () const noexcept
 Returns true when the conversion result contains an error diagnostic.
 
 operator bool () const noexcept
 Returns true when the conversion completed without an error diagnostic.
 

Detailed Description

Owned documents and result metadata from one conversion.


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