Navigation
API > API/Plugins > API/Plugins/ElectraBase
References
| Module | ElectraBase |
| Header | /Engine/Plugins/Media/ElectraUtil/Source/ElectraBase/Public/ParameterDictionary.h |
| Include | #include "ParameterDictionary.h" |
Syntax
class FVariantValue
Constructors
| Type | Name | Description | |
|---|---|---|---|
FVariantValue
(
const TArray< uint8 >& ArrayValue |
|||
FVariantValue
(
const FVariantValue& rhs |
|||
FVariantValue
(
const FString& StringValue |
|||
FVariantValue
(
double DoubleValue |
|||
FVariantValue
(
int64 Int64Value |
|||
FVariantValue
(
bool BoolValue |
|||
FVariantValue
(
const FTimeValue& TimeValue |
|||
FVariantValue
(
void* PointerValue |
|||
FVariantValue
(
const TSharedPtr< T, ESPMode::ThreadSafe >& PointerValue |
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| const TArray< uint8 > & | GetArray () |
||
| const bool & | GetBool () |
||
| EDataType | GetDataType () |
||
| const double & | GetDouble () |
||
| const FString & | GetFString () |
Returns variant value. Type must match. Otherwise an empty/zero value is returned. | |
| const int64 & | GetInt64 () |
||
| void *const & | GetPointer () |
||
| TSharedPtr< T, ESPMode::ThreadSafe > | |||
| const FTimeValue & | GetTimeValue () |
||
| bool | |||
| bool | IsValid () |
||
| const TArray< uint8 > & | SafeGetArray () |
||
| bool | SafeGetBool
(
bool Default |
||
| double | SafeGetDouble
(
double Default |
||
| const FString & | SafeGetFString
(
const FString& Default |
Returns variant value. If type does not match the specified default will be returned. | |
| int64 | SafeGetInt64
(
int64 Default |
||
| void * | SafeGetPointer
(
void* Default |
||
| FTimeValue | SafeGetTimeValue
(
const FTimeValue& Default |
||
| FVariantValue & | Set
(
const TSharedPtr< T, ESPMode::ThreadSafe >& PointerValue |
||
| FVariantValue & | |||
| FVariantValue & | Set
(
double DoubleValue |
||
| FVariantValue & | Set
(
int64 Int64Value |
||
| FVariantValue & | Set
(
bool BoolValue |
||
| FVariantValue & | Set
(
const FTimeValue& TimeValue |
||
| FVariantValue & | Set
(
void* PointerValue |
||
| FVariantValue & |
Operators
| Type | Name | Description | |
|---|---|---|---|
| FVariantValue & | operator=
(
const FVariantValue& rhs |
Enums
| Type | Name | Description | |
|---|---|---|---|
| EDataType |