Navigation
API > API/Runtime > API/Runtime/TypedElementFramework > API/Runtime/TypedElementFramework/FAttributeBinder
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TAttribute< AttributeType > BindData
(
AttributeType ColumnType::* InVariable, |
Bind a specific data member inside a TEDS column to an attribute of the same type as the data | Elements/Framework/TypedElementAttributeBinding.h | |
TAttribute< AttributeType > BindData
(
const FName& InIdentifier, |
Bind a specific data member inside a TEDS column to an attribute of the same type as the data | Elements/Framework/TypedElementAttributeBinding.h | |
TAttribute< AttributeType > BindData
(
DataType ColumnType::* InVariable, |
Bind a specific data member inside a TEDS column to an attribute of a different type than the data by providing a conversion function NOTE: the default value is not the actual attribute type but rather the data type in the column and it gets passed to the conversion function | Elements/Framework/TypedElementAttributeBinding.h | |
auto BindData
(
DataType ColumnType::* InVariable, |
Overload for the conversion binder to accept lambdas instead of TFunctions | Elements/Framework/TypedElementAttributeBinding.h | |
TAttribute< AttributeType > BindData
(
const FName& InIdentifier, |
Bind a specific data member inside a TEDS column to an attribute of a different type than the data by providing a conversion function NOTE: the default value is not the actual attribute type but rather the data type in the column and it gets passed to the conversion function | Elements/Framework/TypedElementAttributeBinding.h | |
| Overload for the conversion binder to accept lambdas instead of TFunctions | Elements/Framework/TypedElementAttributeBinding.h |
BindData(AttributeType ColumnType::*, const AttributeType &)
Description
Bind a specific data member inside a TEDS column to an attribute of the same type as the data
Example: FAttributeBinder Binder(RowHandle); TAttribute
| Name | BindData |
| Type | function |
| Header File | /Engine/Source/Runtime/TypedElementFramework/Public/Elements/Framework/TypedElementAttributeBinding.h |
| Include Path | #include "Elements/Framework/TypedElementAttributeBinding.h" |
| Source | /Engine/Source/Runtime/TypedElementFramework/Public/Elements/Framework/TypedElementAttributeBinding.inl |
template<typename AttributeType, TDataColumnType ColumnType>
TAttribute < AttributeType > BindData
(
AttributeType ColumnType::* InVariable,
const AttributeType & InDefaultValue
)
Parameters
| Name | Remarks |
|---|---|
| InVariable | The data member inside a column to be bound |
| InDefaultValue | The default value to be used when the column isn't present on a row |
BindData(const FName &, AttributeType ColumnType::*, const AttributeType &)
Description
Bind a specific data member inside a TEDS column to an attribute of the same type as the data
Example: FAttributeBinder Binder(RowHandle); TAttribute
| Name | BindData |
| Type | function |
| Header File | /Engine/Source/Runtime/TypedElementFramework/Public/Elements/Framework/TypedElementAttributeBinding.h |
| Include Path | #include "Elements/Framework/TypedElementAttributeBinding.h" |
| Source | /Engine/Source/Runtime/TypedElementFramework/Public/Elements/Framework/TypedElementAttributeBinding.inl |
template<typename AttributeType, TDynamicColumnTemplate ColumnType>
TAttribute < AttributeType > BindData
(
const FName & InIdentifier,
AttributeType ColumnType::* InVariable,
const AttributeType & InDefaultValue
)
A TAttribute bound to the row, column pair specified
Parameters
| Name | Remarks |
|---|---|
| InVariable | The data member inside a column to be bound |
| InDefaultValue | The default value to be used when the column isn't present on a row |
| InIdentifier | The identifier for this dynamic column |
BindData(DataType ColumnType::*, TFunction< AttributeType(const DataType &)>, const DataType &)
Description
Bind a specific data member inside a TEDS column to an attribute of a different type than the data by providing a conversion function NOTE: the default value is not the actual attribute type but rather the data type in the column and it gets passed to the conversion function
Example: UE::Editor::DataStorage::FAttributeBinder Binder(RowHandle); TAttribute
| Name | BindData |
| Type | function |
| Header File | /Engine/Source/Runtime/TypedElementFramework/Public/Elements/Framework/TypedElementAttributeBinding.h |
| Include Path | #include "Elements/Framework/TypedElementAttributeBinding.h" |
| Source | /Engine/Source/Runtime/TypedElementFramework/Public/Elements/Framework/TypedElementAttributeBinding.inl |
template<typename AttributeType, typename DataType, TDataColumnType ColumnType>
TAttribute < AttributeType > BindData
(
DataType ColumnType::* InVariable,
TFunction < AttributeType> InConverter,
const DataType & InDefaultValue
)
A TAttribute bound to the row, column pair specified
Parameters
| Name | Remarks |
|---|---|
| InVariable | The data member inside a column to be bound |
| InConverter | Conversion function to convert from DataType -> AttributeType |
| InDefaultValue | The default value to be used when the column isn't present on a row |
BindData(DataType ColumnType::*, FunctionType &&, const DataType &)
Description
Overload for the conversion binder to accept lambdas instead of TFunctions
| Name | BindData |
| Type | function |
| Header File | /Engine/Source/Runtime/TypedElementFramework/Public/Elements/Framework/TypedElementAttributeBinding.h |
| Include Path | #include "Elements/Framework/TypedElementAttributeBinding.h" |
| Source | /Engine/Source/Runtime/TypedElementFramework/Public/Elements/Framework/TypedElementAttributeBinding.inl |
template<typename DataType, TDataColumnType ColumnType, typename FunctionType>
auto BindData
(
DataType ColumnType::* InVariable,
FunctionType && InConverter,
const DataType & InDefaultValue
)
Parameters
| Name | Remarks |
|---|---|
| InVariable | The data member inside a column to be bound |
| InConverter | Conversion function to convert from DataType -> AttributeType |
| InDefaultValue | The default value to be used when the column isn't present on a row\ |
BindData(const FName &, DataType ColumnType::*, TFunction< AttributeType(const DataType &)>, const DataType &)
Description
Bind a specific data member inside a TEDS column to an attribute of a different type than the data by providing a conversion function NOTE: the default value is not the actual attribute type but rather the data type in the column and it gets passed to the conversion function
Example: UE::Editor::DataStorage::FAttributeBinder Binder(RowHandle); TAttribute
| Name | BindData |
| Type | function |
| Header File | /Engine/Source/Runtime/TypedElementFramework/Public/Elements/Framework/TypedElementAttributeBinding.h |
| Include Path | #include "Elements/Framework/TypedElementAttributeBinding.h" |
| Source | /Engine/Source/Runtime/TypedElementFramework/Public/Elements/Framework/TypedElementAttributeBinding.inl |
template<typename AttributeType, typename DataType, TDynamicColumnTemplate ColumnType>
TAttribute < AttributeType > BindData
(
const FName & InIdentifier,
DataType ColumnType::* InVariable,
TFunction < AttributeType> InConverter,
const DataType & InDefaultValue
)
A TAttribute bound to the row, column pair specified
Parameters
| Name | Remarks |
|---|---|
| InVariable | The data member inside a column to be bound |
| InConverter | Conversion function to convert from DataType -> AttributeType |
| InIdentifier | The identifier for this column if it is a dynamic column |
| InDefaultValue | The default value to be used when the column isn't present on a row |
BindData(const FName &, DataType ColumnType::*, FunctionType &&, const DataType &)
Description
Overload for the conversion binder to accept lambdas instead of TFunctions
| Name | BindData |
| Type | function |
| Header File | /Engine/Source/Runtime/TypedElementFramework/Public/Elements/Framework/TypedElementAttributeBinding.h |
| Include Path | #include "Elements/Framework/TypedElementAttributeBinding.h" |
| Source | /Engine/Source/Runtime/TypedElementFramework/Public/Elements/Framework/TypedElementAttributeBinding.inl |
template<typename DataType, TDynamicColumnTemplate ColumnType, typename FunctionType>
auto BindData
(
const FName & InIdentifier,
DataType ColumnType::* InVariable,
FunctionType && InConverter,
const DataType & InDefaultValue
)
A TAttribute bound to the row, column pair specified
Parameters
| Name | Remarks |
|---|---|
| InVariable | The data member inside a column to be bound |
| InConverter | Conversion function to convert from DataType -> AttributeType |
| InDefaultValue | The default value to be used when the column isn't present on a row\ |
| InIdentifier | The identifier for this column if it is a dynamic column, NAME_None if it is not a dynamic column |