Navigation
API > API/Runtime > API/Runtime/Slate
Furthermore, ListViews of TSharedPtr<> work differently from lists of UObject*. ListTypeTraits provide the specialized functionality such as pointer testing, resetting, and optional serialization for UObject garbage collection.
| Name | TListTypeTraits |
| Type | struct |
| Header File | /Engine/Source/Runtime/Slate/Public/Framework/Views/TableViewTypeTraits.h |
| Include Path | #include "Framework/Views/TableViewTypeTraits.h" |
Syntax
template<typename T, typename Enable>
struct TListTypeTraits
Struct Specializations
| Name | Remarks |
|---|---|
| TListTypeTraits< FCurveEditorTreeItemID > | |
| TListTypeTraits< FName > | Functionality (e.g. setting the value, testing invalid value) specialized for FName. |
| TListTypeTraits< FTedsRowHandle > | Template declaration to describe how a row handle behaves as a type for slate widgets like SListView, STreeView etc This allows you to use Row Handles with slate widgets that work on pointers by using the wrapper struct e.g SListView |
| TListTypeTraits< FTedsTableHandle > | Template declaration to describe how a table handle behaves as a type for slate widgets like SListView, STreeView etc This allows you to use Table Handles with slate widgets that would otherwise only work on pointers by using the wrapper struct e.g STreeView |