DataSerializeReaderInterface Class Reference

#include <dataserialize.h>

Inheritance diagram for DataSerializeReaderInterface:

Detailed Description

This class serializes data from a specific file format.

Public Member Functions

MAXON_METHOD Result< void > ReadDocument (const Id &id, const DataPtr &data)
 

Private Member Functions

 MAXON_INTERFACE (DataSerializeReaderInterface, MAXON_REFERENCE_NORMAL, "net.maxon.interface.dataserializereader")
 

Member Function Documentation

◆ MAXON_INTERFACE()

MAXON_INTERFACE ( DataSerializeReaderInterface  ,
MAXON_REFERENCE_NORMAL  ,
"net.maxon.interface.dataserializereader"   
)
private

◆ ReadDocument()

MAXON_METHOD Result<void> ReadDocument ( const Id id,
const DataPtr data 
)

Reads the given object from a serialized stream.

Parameters
[in]idThe identifier of the file.
[in]dataThe object's datatype and address.
Returns
OK on success.