Navigation
API > API/Plugins > API/Plugins/PropertyBindingUtils > API/Plugins/PropertyBindingUtils/FPropertyBindingBindingCollectio-
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void VisitBindings
(
TFunctionRef< EVisitResult(const FPropertyBindingBinding&Binding)> InFunction |
Iterates through all bindings and calls the provided function on each non-mutable binding. | PropertyBindingBindingCollection.h | |
virtual void VisitBindings
(
FPropertyBindingIndex16 InBegin, |
Iterates all bindings between indices [Begin, End) and calls the provided function on each non-mutable binding. | PropertyBindingBindingCollection.h |
VisitBindings(TFunctionRef< EVisitResult(const FPropertyBindingBinding &Binding)>)
Description
Iterates through all bindings and calls the provided function on each non-mutable binding. That function must return whether the iteration should stop or not (i.e., EVisitResult::Break / Continue).
To be able to modify the binding use VisitMutableBindings
If breaking the iteration is not required, consider using ForEachBinding or ForEachMutableBinding
| Name | VisitBindings |
| Type | function |
| Header File | /Engine/Plugins/Runtime/PropertyBindingUtils/Source/PropertyBindingUtils/Public/PropertyBindingBindingCollection.h |
| Include Path | #include "PropertyBindingBindingCollection.h" |
virtual void VisitBindings
(
TFunctionRef < EVisitResult &Binding )> InFunction
) const
Parameters
| Name | Remarks |
|---|---|
| InFunction | Function to call on each binding and that indicates whether the visit should stop |
See Also
-
VisitMutableBindings
-
ForEachBinding
VisitBindings(FPropertyBindingIndex16, FPropertyBindingIndex16, TFunctionRef< EVisitResult(const FPropertyBindingBinding &Binding, const int32 BindingIndex)>)
Description
Iterates all bindings between indices [Begin, End) and calls the provided function on each non-mutable binding. That function must return whether the iteration should stop or not (i.e., EVisitResult::Break / Continue).
To be able to modify the binding use VisitMutableBindings
If breaking the iteration is not required, consider using ForEachBinding or ForEachMutableBinding
| Name | VisitBindings |
| Type | function |
| Header File | /Engine/Plugins/Runtime/PropertyBindingUtils/Source/PropertyBindingUtils/Public/PropertyBindingBindingCollection.h |
| Include Path | #include "PropertyBindingBindingCollection.h" |
virtual void VisitBindings
(
FPropertyBindingIndex16 InBegin,
FPropertyBindingIndex16 InEnd,
TFunctionRef < EVisitResult &Binding , const int32 BindingIndex)> InFunction
) const
Parameters
| Name | Remarks |
|---|---|
| InBegin | Index of the first binding to process |
| InEnd | Index to one past the last binding to process |
| InFunction | Function to call on each binding and that indicates whether the visit should stop |
See Also
-
VisitMutableBindings
-
ForEachBinding