FWeakGraphPinPtr

A weak reference to a [UEdGraphPin](API\Runtime\Engine\EdGraph\UEdGraphPin) object that can remain valid through pin connection state changes that might trigger owner node reconstruction

Windows
MacOS
Linux

References

Module

UnrealEd

Header

/Engine/Source/Editor/UnrealEd/Public/EdGraphUtilities.h

Include

#include "EdGraphUtilities.h"

Syntax

struct FWeakGraphPinPtr

Remarks

A weak reference to a UEdGraphPin object that can remain valid through pin connection state changes that might trigger owner node reconstruction

Constructors

Name Description

Public function

FWeakGraphPinPtr()

Default constructor

Public function

FWeakGraphPinPtr

(
    const FWeakGraphPinPtr& OtherPinPt...
)

Construct from another weak pointer

Public function

FWeakGraphPinPtr

(
    const UEdGraphPin* Pin
)

Construct from a UEdGraphPin object pointer

Functions

Name Description

Public function

UEdGraphPin ...

 

Get()

Method to obtain the actual object reference from the weak pointer.

Public function

bool

 

IsValid()

Test for validity

Public function

void

 

Reset()

Reset the weak pointer back to NULL state

Operators

Name Description

Public function

 

operator class UEdGraphPin *()

Cast to object pointer type

Public function Const

bool

 

operator!=

(
    const FWeakGraphPinPtr& OtherPinPt...
)

Compare weak pointers for inequality

Public function

void

 

operator=

(
    const FWeakGraphPinPtr& OtherPinPt...
)

Assign from another weak pointer

Public function

void

 

operator=

(
    const UEdGraphPin* Pin
)

Assign from a UEdGraphPin object pointer

Public function Const

bool

 

operator==

(
    const FWeakGraphPinPtr& OtherPinPt...
)

Compare weak pointers for equality

Public function

UEdGraphPin ...

 

operator->()

Arrow operator

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss