Previous topic

SSerializedFile Structure

Next topic

SSerializedObject Structure

SSerializedFileClass StructureΒΆ

speect class SSerializedFileClass

The abstract serialized file class structure.

Protected Attributes
SObjectClass _inherit

Inherit from SObjectClass.

SObject *(*const load)(const char *path, s_erc *error)

Load function pointer.

Load data of an object from the given file name.

Parameters:
  • path

    The full path and file name of the object file.

  • error

    Error code.

Return:

The loaded object.

void(*const save)(const SObject *object, const char *path, s_erc *error)

Save function pointer.

Save the given object to the given file name.

Parameters:
  • object

    The object to save.

  • path

    The full path and file name of the object file.

  • error

    Error code.