C# Класс CClash.Compiler

Class for processing compiler inputs, running the compiler and deducing outputs.
Наследование: CClash.ICompiler
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
CommandLineToArgvW System.IntPtr
Compiler System
CreateHardLink int
GetEnvironmentStringsA System.IntPtr
NotSupported bool
_Find string
cygwinEnvFixup void
getFullOption string
getOption string

Открытые методы

Метод Описание
CommandLineToArgs ( string commandLine ) : List
Find ( ) : string
FixEnvironmentDictionary ( string>.Dictionary envs ) : string>.Dictionary
FixupArgs ( IEnumerable args ) : IEnumerable
GetEnvironmentDictionary ( ) : string>.Dictionary
GetPotentialIncludeFiles ( IEnumerable incdirs, IEnumerable incfiles ) : List
GetUsedIncludeDirs ( List files ) : List
InvokeCompiler ( IEnumerable args, Action onStdErr, Action onStdOut, bool showIncludes, List foundIncludes ) : int
InvokePreprocessor ( StreamWriter stdout ) : int
JoinAguments ( IEnumerable args ) : string
ProcessArguments ( string args ) : bool
SetEnvironment ( string>.Dictionary envs ) : void
SetWorkingDirectory ( string path ) : void

Приватные методы

Метод Описание
CommandLineToArgvW ( [ lpCmdLine, int &pNumArgs ) : IntPtr
Compiler ( ) : System
CreateHardLink ( string lpFileName, string lpExistingFileName, IntPtr lpSecurityAttributes ) : int
GetEnvironmentStringsA ( ) : IntPtr
NotSupported ( string fmt ) : bool
_Find ( ) : string
cygwinEnvFixup ( ) : void
getFullOption ( string arg ) : string
getOption ( string arg ) : string

Описание методов

CommandLineToArgs() публичный статический Метод

public static CommandLineToArgs ( string commandLine ) : List
commandLine string
Результат List

Find() публичный статический Метод

public static Find ( ) : string
Результат string

FixEnvironmentDictionary() публичный статический Метод

public static FixEnvironmentDictionary ( string>.Dictionary envs ) : string>.Dictionary
envs string>.Dictionary
Результат string>.Dictionary

FixupArgs() публичный Метод

public FixupArgs ( IEnumerable args ) : IEnumerable
args IEnumerable
Результат IEnumerable

GetEnvironmentDictionary() публичный статический Метод

public static GetEnvironmentDictionary ( ) : string>.Dictionary
Результат string>.Dictionary

GetPotentialIncludeFiles() публичный Метод

public GetPotentialIncludeFiles ( IEnumerable incdirs, IEnumerable incfiles ) : List
incdirs IEnumerable
incfiles IEnumerable
Результат List

GetUsedIncludeDirs() публичный Метод

public GetUsedIncludeDirs ( List files ) : List
files List
Результат List

InvokeCompiler() публичный Метод

public InvokeCompiler ( IEnumerable args, Action onStdErr, Action onStdOut, bool showIncludes, List foundIncludes ) : int
args IEnumerable
onStdErr Action
onStdOut Action
showIncludes bool
foundIncludes List
Результат int

InvokePreprocessor() публичный Метод

public InvokePreprocessor ( StreamWriter stdout ) : int
stdout System.IO.StreamWriter
Результат int

JoinAguments() публичный статический Метод

public static JoinAguments ( IEnumerable args ) : string
args IEnumerable
Результат string

ProcessArguments() публичный Метод

public ProcessArguments ( string args ) : bool
args string
Результат bool

SetEnvironment() публичный Метод

public SetEnvironment ( string>.Dictionary envs ) : void
envs string>.Dictionary
Результат void

SetWorkingDirectory() публичный Метод

public SetWorkingDirectory ( string path ) : void
path string
Результат void