XII Release 0.1.0
Loading...
Searching...
No Matches
xiiGraphVersioning Class Reference

#include <GraphVersioning.h>

Public Member Functions

void PatchGraph (xiiAbstractObjectGraph *pGraph, xiiAbstractObjectGraph *pTypesGraph=nullptr)

Friends

class xiiGraphPatchContext

Detailed Description

Singleton that allows version patching of xiiAbstractObjectGraph.

Patching is automatically executed of xiiAbstractObjectGraph de-serialize functions.

Member Function Documentation

◆ PatchGraph()

void xiiGraphVersioning::PatchGraph ( xiiAbstractObjectGraph * pGraph,
xiiAbstractObjectGraph * pTypesGraph = nullptr )

Patches all nodes inside pGraph to the current version. pTypesGraph is the graph of serialized used types in pGraph at the time of saving. If not provided, any base class is assumed to be at max version.


The documentation for this class was generated from the following files:
  • /home/runner/work/XII/XII/Source/Engine/Foundation/Serialization/GraphVersioning.h
  • /home/runner/work/XII/XII/Source/Engine/Foundation/Serialization/Implementation/GraphVersioning.cpp