Navigation
API > API/Editor > API/Editor/UnrealEd > API/Editor/UnrealEd/Kismet2
References
Module | UnrealEd |
Header | /Engine/Source/Editor/UnrealEd/Public/Kismet2/CompilerResultsLog.h |
Include | #include "Kismet2/CompilerResultsLog.h" |
Syntax
class FCompilerResultsLog
Remarks
This class represents a log of compiler output lines (errors, warnings, and information notes), each of which can be a rich tokenized message
Variables
Type | Name | Description | |
---|---|---|---|
![]() |
TSet< TWeakObjectPtr< UEdGraphNode > > | AnnotatedNodes | Tracks nodes that produced errors/warnings |
![]() |
bool | bAnnotateMentionedNodes | Should nodes mentioned in messages be annotated for display with that message? |
![]() |
bool | bLogDetailedResults | Should detailed BeginEvent/EndEvent timing information be written to log. |
![]() |
bool | bLogInfoOnly | Should we log only Info messages, or all messages? |
![]() |
bool | bSilentMode | Should we be silent? |
![]() |
int | EventDisplayThresholdMs | Minimum event time (ms) for events include in detailed results. |
![]() |
TMap< TWeakObjectPtr< const UEdGraphNode >, TWeakObjectPtr< UEdGraphNode > > | FullMacroBacktrackMap | Map to track intermediate nodes back to the source macro instance nodes. |
![]() |
TMap< TWeakObjectPtr< const UEdGraphNode >, TWeakObjectPtr< const UEdGraphNode > > | IntermediateTunnelNodeToTunnelInstanceMap | Map to track intermediate tunnel nodes back to the intermediate expansion tunnel instance. |
![]() |
TArray< TSharedRef< FTokenizedMessage > > | Messages | List of all tokenized messages. |
![]() |
int32 | NumErrors | Number of error messages. |
![]() |
int32 | NumWarnings | Number of warnings. |
![]() |
FBacktrackMap | SourceBacktrackMap | Maps from transient object created during compiling to original 'source code' object. |
![]() |
FString | SourcePath | Name of the source object being compiled. |
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
FCompilerResultsLog
(
bool bIsCompatibleWithEvents |
Destructors
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
Functions
Type | Name | Description | |
---|---|---|---|
![]() |
void | AddChildEvent
(
TSharedPtr< FCompilerEvent >& ParentEventScope, |
Helper method to add a child event to the given parent event scope |
![]() |
void | AddTokenizedMessage
(
TSharedRef< FTokenizedMessage > InMessage |
Store an already tokenized message. |
![]() |
void | AnnotateNode
(
const TArray< UEdGraphNode* >& Nodes, |
Links the UEdGraphNode with the LogLine: |
![]() |
void | Append
(
FCompilerResultsLog const& Other, |
Copy errors from an existing log into this one, and optionally write out to log if it was suppressed the first time |
![]() |
void | BeginEvent
(
const TCHAR* InName |
Begin a new compiler event |
![]() |
int32 | CalculateStableIdentifierForLatentActionManager
(
const UEdGraphNode* Node |
Returns a int32 used to uniquely identify an action for the latent action manager |
![]() |
bool | CommitPotentialMessages
(
UEdGraphNode* Source |
Commit all stored potential messages for a given node. Returns true if any messages were written. |
![]() |
void | EndEvent () |
End the current compiler event |
![]() |
TSharedRef< FTokenizedMessage > | Write an error in to the compiler log. | |
![]() |
void | FEdGraphToken_Create
(
const UObject* InObject, |
|
![]() |
void | FEdGraphToken_Create
(
const FField* InField, |
|
![]() |
void | FEdGraphToken_Create
(
const UEdGraphPin* InPin, |
|
![]() |
void | FEdGraphToken_Create
(
const TCHAR* String, |
|
![]() ![]() |
UObject * | FindSourceMacroInstance
(
const UEdGraphNode* IntermediateNode |
|
![]() |
UObject * | FindSourceObject
(
UObject* PossiblyDuplicatedObject |
Returns the true source object for the passed in object |
![]() ![]() |
UObject const * | FindSourceObject
(
UObject const* PossiblyDuplicatedObject |
|
![]() |
T * | FindSourceObjectTypeChecked
(
UObject* PossiblyDuplicatedObject |
Returns the true source object for the passed in object; does type checking on the result |
![]() ![]() |
T const * | FindSourceObjectTypeChecked
(
UObject const* PossiblyDuplicatedObject |
|
![]() |
UEdGraphPin * | FindSourcePin
(
UEdGraphPin* PossiblyDuplicatedPin |
|
![]() ![]() |
const UEdGraphPin * | FindSourcePin
(
const UEdGraphPin* PossiblyDuplicatedPin |
|
![]() ![]() |
TSharedRef< IMessageLogListing > | GetBlueprintMessageLog
(
UBlueprint* InBlueprint |
Get the message log listing for this blueprint |
![]() ![]() |
FCompilerResultsLog * | ||
![]() ![]() |
const UEdGraphNode * | GetIntermediateTunnelInstance
(
const UEdGraphNode* IntermediateNode |
Returns the intermediate tunnel instance that generated the node |
![]() ![]() |
FName | GetLogName () |
Accessor for the LogName, so it can be opened elsewhere |
![]() |
void | ||
![]() |
void | ||
![]() |
void | InternalLogEvent
(
const FCompilerEvent& InEvent, |
Internal helper method to recursively append event details into the MessageLog |
![]() |
void | InternalLogMessage
(
FName MessageID, |
|
![]() |
void | InternalLogMessage
(
FName MessageID, |
|
![]() |
void | Internal method to append the final compiler results summary to the MessageLog | |
![]() |
bool | IsMessageEnabled
(
FName ID |
|
![]() |
TSharedRef< FTokenizedMessage > | Write a note in to the compiler log. | |
![]() |
void | NotifyIntermediateMacroNode
(
UEdGraphNode* SourceNode, |
Update the map that tracks nodes created by macro instance nodes |
![]() |
void | NotifyIntermediateObjectCreation
(
UObject* NewObject, |
Update the source backtrack map to note that NewObject was most closely generated/caused by the SourceObject |
![]() |
void | NotifyIntermediatePinCreation
(
UEdGraphPin* NewObject, |
|
![]() |
void | NotifyIntermediateTunnelNode
(
const UEdGraphNode* Node, |
Update the expansion map to note that Node was expanded from OuterTunnelInstance, both the node and tunnel instance should be intermediate nodes |
![]() ![]() |
void | Register () |
Register this log with the MessageLog module |
![]() |
void | SetSilentMode
(
bool bValue |
ICompilerResultsLog implementation |
![]() |
void | SetSourcePath
(
const FString& InSourcePath |
Set the source name for the final log summary |
![]() |
TSharedRef< FTokenizedMessage > | StorePotentialError
(
const UEdGraphNode* Source, |
Store a potential error for a given node in the compiler log. |
![]() |
TSharedRef< FTokenizedMessage > | StorePotentialNote
(
const UEdGraphNode* Source, |
Store a potential note for a given node in the compiler log. |
![]() |
TSharedRef< FTokenizedMessage > | StorePotentialWarning
(
const UEdGraphNode* Source, |
Store a potential warning for a given node in the compiler log. |
![]() |
void | Tokenize
(
const TCHAR* Text, |
|
![]() |
void | Tokenize
(
const TCHAR* Format, |
|
![]() ![]() |
void | Unregister () |
Unregister this log from the MessageLog module |
![]() |
TSharedRef< FTokenizedMessage > | Write a warning in to the compiler log. | |
![]() |
void | Write a warning in to the compiler log. |
Constants
Name | Description |
---|---|
GetGlobalModuleCompilerDumpDelegateHandle | Handle to the registered GetGlobalModuleCompilerDump delegate. |
Name | The log's name, for easy re-use |