Navigation
API > API/Editor > API/Editor/SequencerCore > API/Editor/SequencerCore/MVVM > API/Editor/SequencerCore/MVVM/ViewModels
References
| Module | SequencerCore |
| Header | /Engine/Source/Editor/SequencerCore/Public/MVVM/ViewModels/ViewModelHierarchy.h |
| Include | #include "MVVM/ViewModels/ViewModelHierarchy.h" |
Syntax
struct FViewModelChildren
Constructors
No constructors are accessible with public or protected access.
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | AddChild
(
const TSharedPtr< FViewModel >& Child |
Add a child from a different parent to these children | |
| void | Empty () |
Empty this specific sub-list, resetting all parent ptrs | |
| TViewModelPtr< T > | |||
| FViewModelPtr | GetHead () |
Returns the head model of this list | |
| FViewModelPtr | GetParent () |
Get this children's parent | |
| FViewModelPtr | GetTail () |
Finds the last model of this list | |
| EViewModelListType | GetType () |
Get the collective type of these children | |
| void | InsertChild
(
const TSharedPtr< FViewModel >& Child, |
Add a child from a different parent to these children to the specified previous sibling, or the head if nullptr | |
| bool | IsEmpty () |
Returns whether this list is empty | |
| FViewModelSubListIterator | Returns an iterator over this list | ||
| TViewModelSubListIterator< T > | Returns an iterator over this list which will skip any item not of type T | ||
| void | MoveChildrenTo
(
const FViewModelChildren& OutDestination |
Move all these children into the specified destination list, changing parent pointers if necessary | |
| void | MoveChildrenTo
(
const FViewModelChildren& OutDestination, |
Invoke a callback on these children, and move them all into the specified destination list, changing parent pointers if necessary |