ArticyXImporter
ArticyXImporter for Unreal Engine
Loading...
Searching...
No Matches
BuildToolParser Class Reference

A class to parse build tool files and manage Articy runtime references. More...

#include <BuildToolParser.h>

Public Member Functions

 BuildToolParser (const FString &filePath)
 Constructs a BuildToolParser object with the specified file path.
bool VerifyArticyRuntimeRef ()
 Verifies the presence of Articy runtime references in the build tool file.
void AddArticyRuntimmeRef ()
 Adds Articy runtime references to the build tool file if not already present.
 ~BuildToolParser ()
 Default destructor for BuildToolParser.

Detailed Description

A class to parse build tool files and manage Articy runtime references.

Constructor & Destructor Documentation

◆ BuildToolParser()

BuildToolParser::BuildToolParser ( const FString & filePath)

Constructs a BuildToolParser object with the specified file path.

Constructs a BuildToolParser object and sets the file path.

Parameters
filePathThe path to the build tool file.

Member Function Documentation

◆ AddArticyRuntimmeRef()

void BuildToolParser::AddArticyRuntimmeRef ( )

Adds Articy runtime references to the build tool file if not already present.

Adds the Articy runtime reference to the build tool file if it is not already present.

Opens the file, checks for the PublicDependencyModuleNames section, and inserts the Articy runtime reference if it's missing.

◆ VerifyArticyRuntimeRef()

bool BuildToolParser::VerifyArticyRuntimeRef ( )

Verifies the presence of Articy runtime references in the build tool file.

Verifies if the Articy runtime reference is present in the build tool file.

Returns
true if the Articy runtime reference is found, false otherwise.

Opens the file specified by the path, removes comments, and checks for the presence of Articy runtime in the dependency module names.

Returns
true if the Articy runtime reference is found, false otherwise.

The documentation for this class was generated from the following files:
  • Source/ArticyEditor/Private/BuildToolParser/BuildToolParser.h
  • Source/ArticyEditor/Private/BuildToolParser/BuildToolParser.cpp