|
void | Clear () |
|
xiiAbstractObjectNode * | Clone (xiiAbstractObjectGraph &ref_cloneTarget, const xiiAbstractObjectNode *pRootNode=nullptr, FilterFunction filter=FilterFunction()) const |
|
xiiStringView | RegisterString (xiiStringView sString) |
|
const xiiAbstractObjectNode * | GetNode (const xiiUuid &guid) const |
|
xiiAbstractObjectNode * | GetNode (const xiiUuid &guid) |
|
const xiiAbstractObjectNode * | GetNodeByName (xiiStringView sName) const |
|
xiiAbstractObjectNode * | GetNodeByName (xiiStringView sName) |
|
xiiAbstractObjectNode * | AddNode (const xiiUuid &guid, xiiStringView sType, xiiUInt32 uiTypeVersion, xiiStringView sNodeName={}) |
|
void | RemoveNode (const xiiUuid &guid) |
|
const xiiMap< xiiUuid, xiiAbstractObjectNode * > & | GetAllNodes () const |
|
xiiMap< xiiUuid, xiiAbstractObjectNode * > & | GetAllNodes () |
|
void | ReMapNodeGuids (const xiiUuid &seedGuid, bool bRemapInverse=false) |
| Remaps all node guids by adding the given seed, or if bRemapInverse is true, by subtracting it/ This is mostly used to remap prefab instance graphs to their prefab template graph.
|
|
void | ReMapNodeGuidsToMatchGraph (xiiAbstractObjectNode *pRoot, const xiiAbstractObjectGraph &rhsGraph, const xiiAbstractObjectNode *pRhsRoot) |
| Tries to remap the guids of this graph to those in rhsGraph by walking in both down the hierarchy, starting at root and rhsRoot.
|
|
void | FindTransitiveHull (const xiiUuid &rootGuid, xiiSet< xiiUuid > &out_reachableNodes) const |
| Finds everything accessible by the given root node.
|
|
void | PruneGraph (const xiiUuid &rootGuid) |
| Deletes everything not accessible by the given root node.
|
|
void | ModifyNodeViaNativeCounterpart (xiiAbstractObjectNode *pRootNode, xiiDelegate< void(void *, const xiiRTTI *)> callback) |
| Allows for a given node to be modified as a native object. Once the callback exits any changes to the sub-hierarchy of the given root node will be written back to the node objects.
|
|
xiiAbstractObjectNode * | CopyNodeIntoGraph (const xiiAbstractObjectNode *pNode) |
| Allows to copy a node from another graph into this graph.
|
|
xiiAbstractObjectNode * | CopyNodeIntoGraph (const xiiAbstractObjectNode *pNode, FilterFunction &ref_filter) |
|
void | CreateDiffWithBaseGraph (const xiiAbstractObjectGraph &base, xiiDeque< xiiAbstractGraphDiffOperation > &out_diffResult) const |
|
void | ApplyDiff (xiiDeque< xiiAbstractGraphDiffOperation > &ref_diff) |
|
void | MergeDiffs (const xiiDeque< xiiAbstractGraphDiffOperation > &lhs, const xiiDeque< xiiAbstractGraphDiffOperation > &rhs, xiiDeque< xiiAbstractGraphDiffOperation > &ref_out) const |
|