Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/UCommandlet
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static void ParseCommandLine
(
const TCHAR* CmdLine, |
Parses a string into tokens, separating switches (beginning with - or /) from other parameters | Commandlets/Commandlet.h | |
static void ParseCommandLine
(
const TCHAR* CmdLine, |
Parses a string into tokens, separating switches (beginning with - or /) from other parameters | Commandlets/Commandlet.h |
ParseCommandLine(const TCHAR *, TArray< FString > &, TArray< FString > &)
Description
Parses a string into tokens, separating switches (beginning with - or /) from other parameters
| Name | ParseCommandLine |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Commandlets/Commandlet.h |
| Include Path | #include "Commandlets/Commandlet.h" |
static void ParseCommandLine
(
const TCHAR * CmdLine,
TArray < FString > & Tokens,
TArray < FString > & Switches
)
Parameters
| Name | Remarks |
|---|---|
| CmdLine | the string to parse |
| Tokens | [out] filled with all parameters found in the string |
| Switches | [out] filled with all switches found in the string |
ParseCommandLine(const TCHAR *, TArray< FString > &, TArray< FString > &, TMap< FString, FString > &)
Description
Parses a string into tokens, separating switches (beginning with - or /) from other parameters
| Name | ParseCommandLine |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Commandlets/Commandlet.h |
| Include Path | #include "Commandlets/Commandlet.h" |
static void ParseCommandLine
(
const TCHAR * CmdLine,
TArray < FString > & Tokens,
TArray < FString > & Switches,
TMap < FString, FString > & Params
)
Parameters
| Name | Remarks |
|---|---|
| CmdLine | the string to parse |
| Tokens | [out] filled with all parameters found in the string |
| Switches | [out] filled with all switches found in the string |
| Params | [out] filled with all switches found in the string with the format key=value |