Module |
|
Header |
/Engine/Plugins/VirtualProduction/RemoteControl/Source/RemoteControlCommon/Public/RCPropertyUtilities.h |
Include |
#include "RCPropertyUtilities.h" |
class FRCPropertyVariant
Container that can hold either a PropertyHandle, or Property/Data pair. Similar to FFieldVariant
Name | Description | |
---|---|---|
|
FRCPropertyVariant() |
|
|
FRCPropertyVariant ( |
Construct from an IPropertyHandle. |
|
FRCPropertyVariant |
Construct from a Property, PropertyData ptr, and the expected element count (needed for arrays, strings, etc.). |
|
FRCPropertyVariant |
Construct from a Property and backing data array. Preferred over a raw ptr. |
Name | Description | |
---|---|---|
|
~FRCPropertyVariant() |
Name | Description | ||
---|---|---|---|
|
GetElementSize() |
Gets individual element size (for arrays, etc.). |
|
|
PropertyType... |
GetProperty() |
Gets the typed property, returns nullptr if not cast. |
|
FProperty &#... |
GetProperty() |
Gets the property. |
|
GetPropertyContainer() |
Gets the property container (byte array), if available. |
|
|
void * |
GetPropertyData |
Gets the data pointer |
|
FString *... |
GetPropertyValue |
|
|
ValueType &#... |
GetPropertyValue |
Returns the data as the ValueType. |
|
InferNum ( |
Calculate number of elements based on available info. |
|
|
Init ( |
Initialize/allocate if necessary. |
|
|
IsHandle() |
Is this backed by an IPropertyHandle? |
|
|
Num() |
Gets the number of elements, more than 1 if an array. |
|
|
Size() |
Gets the size of the underlying data. |
Name | Description | ||
---|---|---|---|
|
operator!= ( |
||
|
operator== ( |
Comparison is by property, not by property instance value. |