#include <nodecontext_asset.h>
Public Member Functions | |
MAXON_METHOD InternedId | GetContextId () const |
MAXON_METHOD Result< void > | SetContextId (const Id &contextId) |
MAXON_METHOD DataType | GetContextType () const |
MAXON_METHOD Result< void > | SetContextType (const DataType &dataType) |
Static Public Member Functions | |
static MAXON_METHOD Result< NodeContextAsset > | Create () |
Static Public Attributes | |
static constexpr LiteralId | NONE_CONTEXT_ID |
Private Member Functions | |
MAXON_INTERFACE (NodeContextAssetInterface, MAXON_REFERENCE_COPY_ON_WRITE, "net.maxon.node.interface.contextasset") | |
|
private |
|
static |
MAXON_METHOD InternedId GetContextId | ( | ) | const |
MAXON_METHOD Result<void> SetContextId | ( | const Id & | contextId | ) |
Set the context's Id.
[in] | contextId | The type to set (empty type accepted). |
MAXON_METHOD DataType GetContextType | ( | ) | const |
Read the context's type.
MAXON_METHOD Result<void> SetContextType | ( | const DataType & | dataType | ) |
Set the context's type.
[in] | dataType | The type to set (empty type accepted). |
|
staticconstexpr |