Navigation
API > API/Editor > API/Editor/SequencerCore
Defines the head of a linked list of view models. This list can actually be considered a linked list of linked-lists due to each FViewModelListHead object containing a NextList pointer which allows the segregation of logical groupings of view models.
One example of this would be separating Outliner view models from track area view models. Keeping these as separate lists allows efficient filtering of these logical groupings during iteration.
W A R N I N G : DO NOT USE DIRECTLY UNLESS YOU KNOW WHAT YOU'RE DOING! This structure won't correctly update the data models' parent pointers, which can lead to problems. Use the methods on FViewModel. This link structure is mostly private anyway.
| Name | FViewModelListHead |
| Type | struct |
| Header File | /Engine/Source/Editor/SequencerCore/Public/MVVM/ViewModels/ViewModelHierarchy.h |
| Include Path | #include "MVVM/ViewModels/ViewModelHierarchy.h" |
Syntax
struct FViewModelListHead
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FViewModelListHead
(
EViewModelListType InType |
MVVM/ViewModels/ViewModelHierarchy.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| HeadLink | FViewModelListLink | Head of this list, where Next is the first item | MVVM/ViewModels/ViewModelHierarchy.h | |
| NextListHead | FViewModelListHead * | Next list, for when data models have multiple lists of children | MVVM/ViewModels/ViewModelHierarchy.h | |
| Type | EViewModelListType | Identifier for this list head | MVVM/ViewModels/ViewModelHierarchy.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FViewModelPtr GetHead() |
Returns the head model of this list | MVVM/ViewModels/ViewModelHierarchy.h | |
FViewModelPtr GetTail() |
Finds the last model of this list | MVVM/ViewModels/ViewModelHierarchy.h | |
| Iterate the children held within this sub list | MVVM/ViewModels/ViewModelHierarchy.h | ||
TViewModelSubListIterator< T > Iterate () |
Iterate the children held within this sub list | MVVM/ViewModels/ViewModelHierarchy.h | |
| Move all the children in this list to a new list. | MVVM/ViewModels/ViewModelHierarchy.h |