Serialization

Serialization and deserialization of native objects.

Classes

Structs

Enums

Free functions

Equals

bool Equals(const SPtr<ISerialized> &lhs, const SPtr<ISerialized> &rhs)

Helper to compare two ISerialized objects for equality, while also checking if they are null.

B3DRTTIClone

SPtr<T> B3DRTTIClone(const T *const object, bool shallow = false)

Clones the provided object.

object
Object to clone.
shallow
Determines how are fields containing reflectable pointers. If true, then those pointers will keep pointing to the original object (both the clone and original referencing the same object by the pointer). If false, then the pointer object to will be cloned as well.

B3DRTTIClone

SPtr<T> B3DRTTIClone(const SPtr<T> &object, bool shallow = false)

Clones the provided object.

object
Object to clone.
shallow
Determines how are fields containing reflectable pointers. If true, then those pointers will keep pointing to the original object (both the clone and original referencing the same object by the pointer). If false, then the pointer object to will be cloned as well.

Internal

Symbols intended for engine-internal use. Not part of the public API.

Classes

  • IDeltaHandler — Represents an interface RTTI objects need to implement if they want to provide custom delta generation and applying.
  • BinaryDeltaHandler — Generates and applies delta (differences) between two objects.

Structs

Enums

  • IDeltaHandler::DeltaCommandType — Types of commands that are used when applying difference field values.