![]() |
XII Release 0.1.0
|
#include <GraphVersioning.h>
Public Member Functions | |
| void | PatchGraph (xiiAbstractObjectGraph *pGraph, xiiAbstractObjectGraph *pTypesGraph=nullptr) |
Friends | |
| class | xiiGraphPatchContext |
Singleton that allows version patching of xiiAbstractObjectGraph.
Patching is automatically executed of xiiAbstractObjectGraph de-serialize functions.
| 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.