Navigation
Unreal Engine C++ API Reference > Runtime > Core > Misc > FCommandLine
References
Module | Core |
Header | /Engine/Source/Runtime/Core/Public/Misc/CommandLine.h |
Include | #include "Misc/CommandLine.h" |
Source | /Engine/Source/Runtime/Core/Private/Misc/CommandLine.cpp |
static bool FilterCLIUsingGrammarBasedParser
(
TCHAR * OutLine,
int32 MaxLen,
const TCHAR * InLine,
const TArrayView < FString > & AllowedList
)
Remarks
FilterCLIUsingGrammarBasedParser parses CLI style arguments. filters for commands or keys specified in the AllowedList and writes the to the OutLine. OutLine and InLine may be point to the same buffer.
Returns true if Outline was large enough to hold the filtered string, Otherwise returns false.
Parameters
Name | Description |
---|---|
OutLine | [out] the destination of the filtered InLine |
MaxLen | the maximum length the OutLIne can hold. |
InLine | the CLI to be filtered. |
AllowedList | the list of commands or key permitted to pass the filter. |