FContextPointer

There is a problem with the parser API, where the Context you pass into the Evaluate function is marked: const ContextType* Context

Windows
MacOS
Linux

References

Module

NetcodeUnitTest

Header

/Engine/Plugins/NetcodeUnitTest/NetcodeUnitTest/Source/NetcodeUnitTest/Public/NUTUtilReflectionParser.h

Include

#include "NUTUtilReflectionParser.h"

Syntax

struct FContextPointer

Remarks

There is a problem with the parser API, where the Context you pass into the Evaluate function is marked: const ContextType* Context

This means you can not modify Context (which I need to do, to pass state information within the parser), but there is a loophole, where you are able to modify anything Context points to, so I use this struct to wrap the REAL context (FReflEvaluationContext), as a pointer in a dud struct.

Variables

Name Description

Public variable

FReflEvaluation...

 

Context

Constructors

Name Description

Public function

FContextPointer

(
    FReflEvaluationContext* InCont...
)

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