Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/FTreeParser
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static EParseAction ParseRooted
(
TProfile::TNodeType InRootNode, |
TreeParser.h | ||
static EParseAction ParseRooted
(
TNodeType InRootNode, |
Parses a list of nodes from a hierarchical rooted tree structure. | TreeParser.h |
ParseRooted(TProfile::TNodeType, TProfile &, TEnterFunc, TExitFunc)
| Name | ParseRooted |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Public/TreeParser.h |
| Include Path | #include "TreeParser.h" |
template<typename TProfile, class TEnterFunc, class TExitFunc>
static EParseAction ParseRooted
(
TProfile::TNodeType InRootNode,
TProfile & InProfile,
TEnterFunc EnterFunc,
TExitFunc ExitFunc
)
ParseRooted(TNodeType, TGetNumChildren, TGetChild, TEnterFunc, TExitFunc)
Description
Parses a list of nodes from a hierarchical rooted tree structure. This function processes a graph defined by nodes and directed edges, assuming it represents a valid rooted tree. A valid rooted tree must satisfy three conditions:
It is connected (all nodes are reachable from the root).
It contains no cycles.
Every node, except for a single "root" node, has exactly one incoming edge (one parent). It cannot visit nodes more than once.
| Name | ParseRooted |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Public/TreeParser.h |
| Include Path | #include "TreeParser.h" |
template<typename TNodeType, class TGetNumChildren, class TGetChild, class TEnterFunc, class TExitFunc>
static EParseAction ParseRooted
(
TNodeType InRootNode,
TGetNumChildren GetNumChildren,
TGetChild GetChild,
TEnterFunc EnterFunc,
TExitFunc ExitFunc
)