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

Static Public Member Functions

static void LoadGraph (xiiAbstractObjectGraph &out_graph, xiiStringView sGraph)
 
static xiiAbstractObjectNodeGetFirstRootNode (xiiAbstractObjectGraph &ref_graph)
 
static void GetRootNodes (xiiAbstractObjectGraph &ref_graph, xiiHybridArray< xiiAbstractObjectNode *, 4 > &out_nodes)
 
static xiiUuid GetPrefabRoot (const xiiDocumentObject *pObject, const xiiObjectMetaData< xiiUuid, xiiDocumentObjectMetaData > &documentObjectMetaData, xiiInt32 *pDepth=nullptr)
 
static xiiVariant GetDefaultValue (const xiiAbstractObjectGraph &graph, const xiiUuid &objectGuid, xiiStringView sProperty, xiiVariant index=xiiVariant(), bool *pValueFound=nullptr)
 
static void WriteDiff (const xiiDeque< xiiAbstractGraphDiffOperation > &mergedDiff, xiiStringBuilder &out_sText)
 
static void Merge (const xiiAbstractObjectGraph &baseGraph, const xiiAbstractObjectGraph &leftGraph, const xiiAbstractObjectGraph &rightGraph, xiiDeque< xiiAbstractGraphDiffOperation > &out_mergedDiff)
 Merges diffs of left and right graphs relative to their base graph. Conflicts prefer the right graph.
 
static void Merge (xiiStringView sBase, xiiStringView sLeft, xiiDocumentObject *pRight, bool bRightIsNotPartOfPrefab, const xiiUuid &prefabSeed, xiiStringBuilder &out_sNewGraph)
 Merges diffs of left and right graphs relative to their base graph. Conflicts prefer the right graph. Base and left are provided as serialized DDL graphs and the right graph is build directly from pRight and its PrefabSeed.
 
static xiiString ReadDocumentAsString (xiiStringView sFile)
 

The documentation for this class was generated from the following files: