Navigation
API > API/Runtime > API/Runtime/CoreUObject > API/Runtime/CoreUObject/UObject
Inheritance Hierarchy
- FOptionalPropertyLayout
- FOptionalProperty
References
| Module | CoreUObject |
| Header | /Engine/Source/Runtime/CoreUObject/Public/UObject/PropertyOptional.h |
| Include | #include "UObject/PropertyOptional.h" |
Syntax
struct FOptionalPropertyLayout
Remarks
Encapsulates the memory layout logic for an optional without implementing the full FProperty API.
Variables
| Type | Name | Description | |
|---|---|---|---|
| FProperty * | ValueProperty | Variables. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FOptionalPropertyLayout
(
FProperty* InValueProperty |
Functions
| Type | Name | Description | |
|---|---|---|---|
| int32 | |||
| int32 | CalcSize () |
||
| const bool * | GetIsSetPointer
(
const void* Data |
||
| bool * | GetIsSetPointer
(
void* Data |
||
| const void * | GetValuePointerForRead
(
const void* Data |
For reading the value of a set optional. Must be called on a non-null pointer to a set optional. | |
| const void * | GetValuePointerForReadIfSet
(
const void* Data |
For reading the value of a set optional. | |
| void * | GetValuePointerForReadOrReplace
(
void* Data |
||
| const void * | GetValuePointerForReadOrReplace
(
const void* Data |
For calling from polymorphic code that doesn't know whether it needs the value pointer for read or replace, or whether it has a const pointer or not. | |
| void * | GetValuePointerForReadOrReplaceIfSet
(
void* Data |
||
| const void * | GetValuePointerForReadOrReplaceIfSet
(
const void* Data |
For calling from polymorphic code that doesn't know whether it needs the value pointer for read or replace, or whether it has a const pointer or not. | |
| void * | GetValuePointerForReplace
(
void* Data |
For replacing the value of a set optional. Must be called on a non-null pointer to a set optional. | |
| void * | GetValuePointerForReplaceIfSet
(
void* Data |
For replacing the value of a set optional. | |
| FProperty * | |||
| bool | IsSet
(
const void* Data |
||
| void * | MarkSetAndGetInitializedValuePointerToReplace
(
void* Data |
||
| void | MarkUnset
(
void* Data |