Navigation
API > API/Plugins > API/Plugins/MetasoundGraphCore
TDataValueReference represents a constant value and provides read only access. A TDataValueReference can never change value.
| Name | TDataValueReference |
| Type | class |
| Header File | /Engine/Plugins/Runtime/Metasound/Source/MetasoundGraphCore/Public/MetasoundDataReference.h |
| Include Path | #include "MetasoundDataReference.h" |
Syntax
template<typename DataType>
class TDataValueReference : public Metasound::TDataReference< DataType >
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TDataValueReference
(
const TDataReference< DataType >& InRef |
Constructor taking data reference. Used for casting. | MetasoundDataReference.h | |
TDataValueReference
(
const TDataValueReference< DataType >& Other |
Enable copy constructor | MetasoundDataReference.h | |
TDataValueReference
(
TDataValueReference< DataType >&& Other |
Enable move constructor | MetasoundDataReference.h | |
TDataValueReference
(
EDataRefShouldConstruct InToken, |
Construct operator with no arguments if the DataType has a default constructor. | MetasoundDataReference.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
const DataType * Get() |
MetasoundDataReference.h |
Overridden from IDataReference
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual TUniquePtr< IDataReference > Clone() |
Create a clone of this parameter reference. | MetasoundDataReference.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static TDataValueReference< DataType > CreateNew
(
ArgTypes&&... Args |
This should be used to construct a new DataType object and return this TDataValueReference as a wrapper around it. | MetasoundDataReference.h | |
static TDataValueReference CreateNewDerived
(
ArgTypes&&... Args |
MetasoundDataReference.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
const DataType & operator*() |
Const access to the underlying parameter object. | MetasoundDataReference.h | |
TDataValueReference< DataType > & operator=
(
const TDataValueReference< DataType >& Other |
Enable assignment operator. | MetasoundDataReference.h | |
TDataValueReference< DataType > & operator=
(
TDataValueReference< DataType >&& Other |
Enable move operator. | MetasoundDataReference.h | |
const DataType * operator->() |
Const access to the underlying parameter object. | MetasoundDataReference.h |