IoDocument Class Reference

#include <io.h>

Static Public Member Functions

static MAXON_METHOD Result< void > ReadDocument (const Url &url, const Id &id, const DataPtr &data, const DataDictionary &dict)
 
static MAXON_METHOD Result< void > ReadDocument (UrlOrInputStream &&urlOrStream, const Id &id, const DataPtr &, IOFORMAT format, const DataDictionary &dict)
 
static MAXON_METHOD Result< void > WriteDocument (const OutputStreamRef &stream, const Id &id, const ConstDataPtr &, IOFORMAT format, const DataDictionary &dict)
 

Private Member Functions

 MAXON_INTERFACE_NONVIRTUAL (IoDocument, MAXON_REFERENCE_STATIC, "net.maxon.interface.iodocument")
 

Member Function Documentation

◆ MAXON_INTERFACE_NONVIRTUAL()

MAXON_INTERFACE_NONVIRTUAL ( IoDocument  ,
MAXON_REFERENCE_STATIC  ,
"net.maxon.interface.iodocument"   
)
private

◆ ReadDocument() [1/2]

static MAXON_METHOD Result<void> ReadDocument ( const Url url,
const Id id,
const DataPtr data,
const DataDictionary &  dict 
)
static

◆ ReadDocument() [2/2]

static MAXON_METHOD Result<void> ReadDocument ( UrlOrInputStream &&  urlOrStream,
const Id id,
const DataPtr ,
IOFORMAT  format,
const DataDictionary &  dict 
)
static

◆ WriteDocument()

static MAXON_METHOD Result<void> WriteDocument ( const OutputStreamRef &  stream,
const Id id,
const ConstDataPtr ,
IOFORMAT  format,
const DataDictionary &  dict 
)
static