C# 클래스 GenerateQTProject.ProjectFileParser

This class provides an abstract interface to load defines, includes and engine path from a project file
파일 보기 프로젝트 열기: NAlphaDev/Unreal-Qt-project-generator 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
projectFileContent string

공개 메소드들

메소드 설명
GetEngineDefines ( ) : string

Retrieve engine defines in QtCreator format

GetEngineIncludes ( ) : string

Retrieve engine includes in QtCreator format

GetEnginePath ( ) : string

Retrieve engine path from project file

IsLauncherBuild ( ) : bool

Is the engine build which is associated with this project a launcher build?

ProjectFileParser ( string projectPath, string projectName ) : System.IO

Loads content of the code project file into projectFileContent

보호된 메소드들

메소드 설명
ConvertDefinesToQtFormat ( string defines ) : string

Converts defines to Qt format

ConvertIncludesToQtFormat ( string includes ) : string

Converts includes to Qt format

ExtractEngineDefines ( ) : string

Read engine defines from project file (can be implemented with Regex or String operations)

ExtractEngineIncludes ( ) : string

Read engine includes from project file (can be implemented with Regex or String operations)

GetUnrealPathRegexPattern ( ) : string

Stores a regex which matches the Unreal Engine path in the project file. IMPORTANT: The part of the matching pattern which contains the actual string needs to be in the matching group "path"

LoadProjectFile ( string path, string projectName ) : string

Loads the project file content

메소드 상세

ConvertDefinesToQtFormat() 보호된 추상적인 메소드

Converts defines to Qt format
protected abstract ConvertDefinesToQtFormat ( string defines ) : string
defines string Defines in original format
리턴 string

ConvertIncludesToQtFormat() 보호된 추상적인 메소드

Converts includes to Qt format
protected abstract ConvertIncludesToQtFormat ( string includes ) : string
includes string Includes in original format
리턴 string

ExtractEngineDefines() 보호된 추상적인 메소드

Read engine defines from project file (can be implemented with Regex or String operations)
protected abstract ExtractEngineDefines ( ) : string
리턴 string

ExtractEngineIncludes() 보호된 추상적인 메소드

Read engine includes from project file (can be implemented with Regex or String operations)
protected abstract ExtractEngineIncludes ( ) : string
리턴 string

GetEngineDefines() 공개 메소드

Retrieve engine defines in QtCreator format
public GetEngineDefines ( ) : string
리턴 string

GetEngineIncludes() 공개 메소드

Retrieve engine includes in QtCreator format
public GetEngineIncludes ( ) : string
리턴 string

GetEnginePath() 공개 메소드

Retrieve engine path from project file
public GetEnginePath ( ) : string
리턴 string

GetUnrealPathRegexPattern() 보호된 추상적인 메소드

Stores a regex which matches the Unreal Engine path in the project file. IMPORTANT: The part of the matching pattern which contains the actual string needs to be in the matching group "path"
protected abstract GetUnrealPathRegexPattern ( ) : string
리턴 string

IsLauncherBuild() 공개 메소드

Is the engine build which is associated with this project a launcher build?
public IsLauncherBuild ( ) : bool
리턴 bool

LoadProjectFile() 보호된 추상적인 메소드

Loads the project file content
protected abstract LoadProjectFile ( string path, string projectName ) : string
path string Path to the Unreal Engine project folder
projectName string Name of the .uproject file
리턴 string

ProjectFileParser() 공개 메소드

Loads content of the code project file into projectFileContent
public ProjectFileParser ( string projectPath, string projectName ) : System.IO
projectPath string Path to the project folder
projectName string Name of .uproject file
리턴 System.IO

프로퍼티 상세

projectFileContent 보호되어 있는 프로퍼티

protected string projectFileContent
리턴 string