Previous topic

SSerializedObject Structure

Next topic

Voices

SSerializedObjectClass StructureΒΆ

speect class SSerializedObjectClass

The abstract serialized object class structure.

Protected Attributes
SObjectClass _inherit

Inherit from SObjectClass.

const char *const format

The format of this object serialization class.

void(*const read)(SDataReader *reader, SObject *object, s_erc *error)

Read function pointer.

Read the given object’s data from a serialized data source.

Parameters:
  • reader

    The serialized data reader.

  • object

    The object’s data to read.

  • error

    Error code.

void(*const write)(SDataWriter *writer, const SObject *object, s_erc *error)

Write function pointer.

Write the given object’s data to a serialized data source.

Parameters:
  • writer

    The serialized data writer.

  • object

    The object’s data to write.

  • error

    Error code.