Navigation
API > API/Plugins > API/Plugins/MetasoundGraphCore
Inheritance Hierarchy
- IDataReference
- TDataReference
- TDataValueReference
References
| Module | MetasoundGraphCore |
| Header | /Engine/Plugins/Runtime/Metasound/Source/MetasoundGraphCore/Public/MetasoundDataReference.h |
| Include | #include "MetasoundDataReference.h" |
Syntax
template<typename DataType>
class TDataValueReference : public Metasound::TDataReference< DataType >
Remarks
TDataValueReference represents a constant value and provides read only access. A TDataValueReference can never change value.
Constructors
| Type | Name | Description | |
|---|---|---|---|
TDataValueReference
(
const TDataValueReference< DataType >& Other |
Enable copy constructor | ||
TDataValueReference
(
TDataValueReference< DataType >&& Other |
Enable move constructor |
Functions
| Type | Name | Description | |
|---|---|---|---|
| TDataValueReference< DataType > | CreateNew
(
ArgTypes&&... Args |
This should be used to construct a new DataType object and return this TDataValueReference as a wrapper around it. | |
| const DataType * | Get () |
Overridden from IDataReference
| Type | Name | Description | |
|---|---|---|---|
| TUniquePtr< IDataReference > | Clone () |
Create a clone of this parameter reference. |
Operators
| Type | Name | Description | |
|---|---|---|---|
| Implicit conversion to a readable parameter. | |||
| const DataType & | operator* () |
Const access to the underlying parameter object. | |
| TDataValueReference< DataType > & | operator=
(
const TDataValueReference< DataType >& Other |
Enable assignment operator. | |
| TDataValueReference< DataType > & | operator=
(
TDataValueReference< DataType >&& Other |
Enable move operator. | |
| const DataType * | operator-> () |
Const access to the underlying parameter object. |