Navigation
API > API/Runtime > API/Runtime/CoreUObject
TConstStructView is a type-safe FConstStructView wrapper against the given BaseStruct type.
Example:
TConstStructView
TArray
| Name | TConstStructView |
| Type | struct |
| Header File | /Engine/Source/Runtime/CoreUObject/Public/StructUtils/StructView.h |
| Include Path | #include "StructUtils/StructView.h" |
Syntax
template<typename BaseStructT>
struct TConstStructView : public FConstStructView
Inheritance Hierarchy
- FConstStructView → TConstStructView
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| StructUtils/StructView.h | |||
TConstStructView
(
const T& InStruct |
StructUtils/StructView.h | ||
TConstStructView
(
const uint8* InStructMemory |
StructUtils/StructView.h | ||
TConstStructView
(
const TInstancedStruct< T >& InstancedStruct |
StructUtils/StructView.h | ||
TConstStructView
(
const TSharedStruct< T >& SharedStruct |
StructUtils/StructView.h | ||
TConstStructView
(
const TConstSharedStruct< T >& SharedStruct |
StructUtils/StructView.h | ||
TConstStructView
(
const TStructView< T > StructView |
StructUtils/StructView.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
const T & Get() |
Returns const reference to the struct, this getter assumes that all data is valid. | StructUtils/StructView.h | |
const T * GetPtr() |
Returns const pointer to the struct, or nullptr if cast is not valid. | StructUtils/StructView.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool operator!=
(
const TConstStructView< T >& Other |
StructUtils/StructView.h | ||
bool operator==
(
const TConstStructView< T >& Other |
Comparison operators. Note: it does not compare the internal structure itself | StructUtils/StructView.h | |
BaseStructT * operator->() |
Simplified accessor for members of the guaranteed minimum structure type | StructUtils/StructView.h |