![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <DirectedGraph.h>
Public Types | |
| using | DiGraphType = TDirectedGraph< InElementType > |
| using | IteratorType = TDiGraphTopologicalIterator< InElementType > |
Public Member Functions | |
| TDiGraphVisitor (DiGraphType &DiGraph) | |
| template<typename VisitorType > | |
| bool | Iterate (VisitorType Visitor) |
| bool | IsComplete () const |
| void | Reset () |
Public Attributes | |
| IteratorType | _GraphIterator |
Stateful helper for visiting, skipping, and revisiting directed graph nodes. Useful for performing pass, fail, retry operations on a dependency graph.
| using uLang::TDiGraphVisitor< InElementType >::DiGraphType = TDirectedGraph<InElementType> |
| using uLang::TDiGraphVisitor< InElementType >::IteratorType = TDiGraphTopologicalIterator<InElementType> |
|
inline |
|
inline |
|
inline |
Iterates the associated directed-graph using a specified Visitor.
| Visitor | A functor of the form: bool(InElementType&). NOTE: Returning false from the specified Visitor will skip that node along with any of its children, enquing them for subsequent iterations. |
true if the full graph was processed, otherwise false if it subsequent Iterate() calls are required.
|
inline |
| IteratorType uLang::TDiGraphVisitor< InElementType >::_GraphIterator |