DataSerializeWriterInterface Class Reference

#include <dataserialize.h>

Inheritance diagram for DataSerializeWriterInterface:

Detailed Description

This class serializes data into a specific file format.

Public Member Functions

MAXON_METHOD Result< void > WriteDocument (const Id &id, const ConstDataPtr &data)
 

Private Member Functions

 MAXON_INTERFACE (DataSerializeWriterInterface, MAXON_REFERENCE_NORMAL, "net.maxon.interface.dataserializewriter")
 

Member Function Documentation

◆ MAXON_INTERFACE()

MAXON_INTERFACE ( DataSerializeWriterInterface  ,
MAXON_REFERENCE_NORMAL  ,
"net.maxon.interface.dataserializewriter"   
)
private

◆ WriteDocument()

MAXON_METHOD Result<void> WriteDocument ( const Id id,
const ConstDataPtr data 
)

Writes the given object into a serialized stream.

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