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

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback