Navigation
API > API/Runtime > API/Runtime/VerseCompiler
Reference-counted smart pointer to a Vst::Node or any type descended from it.
Use TNodeRef
| Name | TNodePtrG |
| Type | struct |
| Header File | /Engine/Source/Runtime/VerseCompiler/Public/uLang/Syntax/VstNode.h |
| Include Path | #include "uLang/Syntax/VstNode.h" |
Syntax
template<class NodeType , bool AllowNull, class AllocatorType, typename... AllocatorArgsType>
struct TNodePtrG
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| uLang/Syntax/VstNode.h | |||
TNodePtrG () |
Default / nullptr construction (only for AllowNull=true) | uLang/Syntax/VstNode.h | |
TNodePtrG
(
TMutableNodeType* InObject |
Construct from raw pointer, incrementing its reference count. | uLang/Syntax/VstNode.h | |
| Copy construction. | uLang/Syntax/VstNode.h | ||
| uLang/Syntax/VstNode.h | |||
| Move construction. | uLang/Syntax/VstNode.h | ||
TNodePtrG
(
uLang::NullPtrType |
uLang/Syntax/VstNode.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~TNodePtrG() |
uLang/Syntax/VstNode.h |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| TMutableNodeType | std::remove_const_t< NodeType > | Store as non-const internally so Deallocate works with void*. | uLang/Syntax/VstNode.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| _Object | TMutableNodeType * | uLang/Syntax/VstNode.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Type cast (reinterpret the pointer to a different node type) | uLang/Syntax/VstNode.h | ||
| uLang/Syntax/VstNode.h | |||
| uLang/Syntax/VstNode.h | |||
| AsRef: convert nullable TNodePtr to non-null TNodeRef. | uLang/Syntax/VstNode.h | ||
NodeType * Get() |
uLang/Syntax/VstNode.h | ||
bool IsValid() |
uLang/Syntax/VstNode.h | ||
void Reset() |
uLang/Syntax/VstNode.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| uLang/Syntax/VstNode.h | |||
static TNodePtrG New
(
CtorArgsType&&... CtorArgs |
Factory methods. | uLang/Syntax/VstNode.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
operator bool() |
Bool / validation. | uLang/Syntax/VstNode.h | |
operator NodeType *() |
uLang/Syntax/VstNode.h | ||
bool operator!() |
uLang/Syntax/VstNode.h | ||
bool operator!=
(
const TNodePtrG< OtherNodeType, OtherAllowNull, AllocatorType, AllocatorArgsType... >& Other |
uLang/Syntax/VstNode.h | ||
bool operator!=
(
const TNodePtrG& Other |
uLang/Syntax/VstNode.h | ||
bool operator!=
(
uLang::NullPtrType |
uLang/Syntax/VstNode.h | ||
bool operator!=
(
NodeType* Other |
uLang/Syntax/VstNode.h | ||
NodeType & operator*() |
uLang/Syntax/VstNode.h | ||
| Copy assignment. | uLang/Syntax/VstNode.h | ||
| uLang/Syntax/VstNode.h | |||
| Move assignment. | uLang/Syntax/VstNode.h | ||
| uLang/Syntax/VstNode.h | |||
| Nullptr assignment (only for AllowNull=true) | uLang/Syntax/VstNode.h | ||
bool operator==
(
uLang::NullPtrType |
Comparison operators. | uLang/Syntax/VstNode.h | |
bool operator==
(
const TNodePtrG< OtherNodeType, OtherAllowNull, AllocatorType, AllocatorArgsType... >& Other |
uLang/Syntax/VstNode.h | ||
bool operator==
(
const TNodePtrG& Other |
uLang/Syntax/VstNode.h | ||
bool operator==
(
NodeType* Other |
uLang/Syntax/VstNode.h | ||
NodeType * operator->() |
Accessors. | uLang/Syntax/VstNode.h |