Navigation
API > API/Plugins > API/Plugins/MetasoundGraphCore > API/Plugins/MetasoundGraphCore/TDataVariantFactoryInternal
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static auto CreateNewFromVariant
(
const FOperatorSettings& InSettings, |
Create a new object using FOperatorSettings and TVariant. | MetasoundDataFactory.h | |
static auto CreateNewFromVariant
(
const FOperatorSettings& InSettings, |
Create a new object using FOperatorSettings and TVariant. | MetasoundDataFactory.h | |
static auto CreateNewFromVariant
(
const FOperatorSettings& InSettings, |
Create a new object using FOperatorSettings and TVariant. | MetasoundDataFactory.h | |
static auto CreateNewFromVariant
(
const FOperatorSettings& InSettings, |
Create a new object using FOperatorSettings and TVariant. | MetasoundDataFactory.h | |
static auto CreateNewFromVariant
(
const FOperatorSettings& InSettings, |
Create a new object using FOperatorSettings and TVariant. | MetasoundDataFactory.h | |
static auto CreateNewFromVariant
(
const FOperatorSettings& InSettings, |
Create a new object using FOperatorSettings and TVariant. | MetasoundDataFactory.h | |
static auto CreateNewFromVariant
(
const FOperatorSettings& InSettings, |
Create a new object using FOperatorSettings and TVariant. | MetasoundDataFactory.h |
CreateNewFromVariant(const FOperatorSettings &, const VariantType &)
Description
Create a new object using FOperatorSettings and TVariant.
Note: In this implementation, all arguments are forwarded to CreatorType::CreateNew(...) and the TVariant is parsed as the `VariantType_. FOperatorSettings are forwarded to CreatorType::CreateNew(...) if it is supported.
| Name | CreateNewFromVariant |
| Type | function |
| Header File | /Engine/Plugins/Runtime/Metasound/Source/MetasoundGraphCore/Public/MetasoundDataFactory.h |
| Include Path | #include "MetasoundDataFactory.h" |
template<typename VariantParseType, typename VariantType, typename std::enable_if< VariantParseType::bCreateWithArg, int >::type>
static auto CreateNewFromVariant
(
const FOperatorSettings & InSettings,
const VariantType & InVariant
)
Parameters
| Name | Remarks |
|---|---|
| VariantParseType | A type which describes how to parse the InVariant argument. |
| VariantType | The expected underlying type stored in InVariant. |
CreateNewFromVariant(const FOperatorSettings &, const VariantType &)
Description
Create a new object using FOperatorSettings and TVariant.
Note: In this implementation, the InVariant object is ignored. FOperatorSettings are forwarded to CreatorType::CreateNew(...) if it is supported.
| Name | CreateNewFromVariant |
| Type | function |
| Header File | /Engine/Plugins/Runtime/Metasound/Source/MetasoundGraphCore/Public/MetasoundDataFactory.h |
| Include Path | #include "MetasoundDataFactory.h" |
template<typename VariantParseType, typename VariantType, typename std::enable_if< VariantParseType::bCreateWithoutArg, int >::type>
static auto CreateNewFromVariant
(
const FOperatorSettings & InSettings,
const VariantType & InVariant
)
Parameters
| Name | Remarks |
|---|---|
| VariantParseType | A type which describes how to parse the InVariant argument. |
| VariantType | The expected underlying type stored in InVariant. |
CreateNewFromVariant(const FOperatorSettings &, const VariantType &)
Description
Create a new object using FOperatorSettings and TVariant.
Note: In this implementation, the InVariant object is an array of args where each array element is the constructor args for one resulting array element. Constructor args are forwarded to the element data type and the resulting object is placed in the output array.
| Name | CreateNewFromVariant |
| Type | function |
| Header File | /Engine/Plugins/Runtime/Metasound/Source/MetasoundGraphCore/Public/MetasoundDataFactory.h |
| Include Path | #include "MetasoundDataFactory.h" |
template<typename VariantParseType, typename VariantType, typename std::enable_if< VariantParseType::bCreateArrayElementsWithArg, int >::type>
static auto CreateNewFromVariant
(
const FOperatorSettings & InSettings,
const VariantType & InVariant
)
Parameters
| Name | Remarks |
|---|---|
| VariantParseType | A type which describes how to parse the InVariant argument. |
| VariantType | The expected underlying type stored in InVariant. |
CreateNewFromVariant(const FOperatorSettings &, const VariantType &)
Description
Create a new object using FOperatorSettings and TVariant.
Note: In this implementation, the InVariant object is an array of FLiteral::FNone where each array element simply denotes that a corresponding element should be constructed with FOperatorSettings.
| Name | CreateNewFromVariant |
| Type | function |
| Header File | /Engine/Plugins/Runtime/Metasound/Source/MetasoundGraphCore/Public/MetasoundDataFactory.h |
| Include Path | #include "MetasoundDataFactory.h" |
template<typename VariantParseType, typename VariantType, typename std::enable_if< VariantParseType::bCreateArrayElementsWithSettings, int >::type>
static auto CreateNewFromVariant
(
const FOperatorSettings & InSettings,
const VariantType & InVariant
)
Parameters
| Name | Remarks |
|---|---|
| VariantParseType | A type which describes how to parse the InVariant argument. |
| VariantType | The expected underlying type stored in InVariant. |
CreateNewFromVariant(const FOperatorSettings &, const VariantType &)
Description
Create a new object using FOperatorSettings and TVariant.
Note: In this implementation, the InVariant object is an array of FLiteral::FNone where each array element simply denotes that a corresponding element should be default constructed.
| Name | CreateNewFromVariant |
| Type | function |
| Header File | /Engine/Plugins/Runtime/Metasound/Source/MetasoundGraphCore/Public/MetasoundDataFactory.h |
| Include Path | #include "MetasoundDataFactory.h" |
template<typename VariantParseType, typename VariantType, typename std::enable_if< VariantParseType::bCreateArrayElementsWithDefaultConstructor, int >::type>
static auto CreateNewFromVariant
(
const FOperatorSettings & InSettings,
const VariantType & InVariant
)
Parameters
| Name | Remarks |
|---|---|
| VariantParseType | A type which describes how to parse the InVariant argument. |
| VariantType | The expected underlying type stored in InVariant. |
CreateNewFromVariant(const FOperatorSettings &, const VariantType &)
Description
Create a new object using FOperatorSettings and TVariant.
Note: In this implementation, the TVariant is parsed as a fallback type. FOperatorSettings are forwarded to CreatorType::CreateNew(...) if it is supported.
| Name | CreateNewFromVariant |
| Type | function |
| Header File | /Engine/Plugins/Runtime/Metasound/Source/MetasoundGraphCore/Public/MetasoundDataFactory.h |
| Include Path | #include "MetasoundDataFactory.h" |
template<typename VariantParseType, typename VariantType, typename std::enable_if< VariantParseType::bCreateWithFallbackArg, int >::type>
static auto CreateNewFromVariant
(
const FOperatorSettings & InSettings,
const VariantType & InVariant
)
Parameters
| Name | Remarks |
|---|---|
| VariantParseType | A type which describes how to parse the InVariant argument. |
| VariantType | The expected underlying type stored in InVariant. |
CreateNewFromVariant(const FOperatorSettings &, const VariantType &)
Description
Create a new object using FOperatorSettings and TVariant.
Note: In this implementation signals a static error as not possible ways to construct that underlying object could be found.
| Name | CreateNewFromVariant |
| Type | function |
| Header File | /Engine/Plugins/Runtime/Metasound/Source/MetasoundGraphCore/Public/MetasoundDataFactory.h |
| Include Path | #include "MetasoundDataFactory.h" |
template<typename VariantParseType, typename VariantType, typename std::enable_if< VariantParseType::bCannotForwardToConstructor, int >::type>
static auto CreateNewFromVariant
(
const FOperatorSettings & InSettings,
const VariantType & InVariant
)
Parameters
| Name | Remarks |
|---|---|
| VariantParseType | A type which describes how to parse the InVariant argument. |
| VariantType | The expected underlying type stored in InVariant. |