Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/Misc
References
| Module | Core |
| Header | /Engine/Source/Runtime/Core/Public/Misc/Parse.h |
| Include | #include "Misc/Parse.h" |
Syntax
struct FParse
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | AlnumToken
(
const TCHAR*& Str, |
Grabs the next alpha-numeric space-delimited token from the input stream. | |
| bool | Parses a boolean value. | ||
| bool | Sees if Stream starts with the named command. | ||
| FGrammarBasedParseResult | GrammarBasedCLIParse
(
const TCHAR* Stream, |
Grammar Line -> Cmd* Cmd -> "Cmd*" allowed if EGrammaredParseFlags::AllowQuotedCommands is given | Key(=Value)? invokes OnCommandCallback Key -> (/|(-?-?))Ident Value -> "[^"]*" | |
| int32 | Parse a hex digit. | ||
| uint32 | Parses a hexadecimal string value. | ||
| uint64 | HexNumber64
(
const TCHAR* HexString |
||
| bool | Get a line of Stream (everything up to, but not including, CR/LF. Returns 0 if ok, nonzero if at end of stream and returned 0-length string. | ||
| bool | Line
(
const TCHAR** Stream, |
Get a line of Stream (everything up to, but not including, CR/LF. Returns 0 if ok, nonzero if at end of stream and returned 0-length string. | |
| bool | Get a line of Stream (everything up to, but not including, CR/LF. Returns 0 if ok, nonzero if at end of stream and returned 0-length string. | ||
| bool | LineExtended
(
const TCHAR** Stream, |
||
| bool | LineExtended
(
const TCHAR** Stream, |
Get a line of Stream, with support for extending beyond that line with certain characters, e.g. {} and \ the out character array will not include the ignored endlines | |
| void | Get next command. Skips past comments and cr's. | ||
| bool | Checks if a command-line parameter exists in the stream. | ||
| bool | QuotedString
(
const TCHAR* Stream, |
Parse a quoted string token. | |
| bool | QuotedString
(
const TCHAR* Stream, |
||
| bool | SchemeNameFromURI
(
const TCHAR* InURI, |
Parses the scheme name from a URI | |
| bool | Parse an Text token. | ||
| FString | Grabs the next space-delimited string from the input stream. If quoted, gets entire quoted string. | ||
| bool | Grabs the next space-delimited (unless SingleCharacterDelimiter is provided) string from the input stream. | ||
| bool | Grabs the next space-delimited (unless SingleCharacterDelimiter is provided) string from the input stream. | ||
| bool | Parses an FText. | ||
| bool | Parses a signed quadword. | ||
| bool | Parses a quadword. | ||
| bool | Parses a signed double word. | ||
| bool | Parses a double precision floating-point value. | ||
| bool | Parses a floating-point value. | ||
| bool | Parses a signed byte. | ||
| bool | Parses a uint16. | ||
| bool | Parses a byte. | ||
| bool | Parses a globally unique identifier. | ||
| bool | Parses a uint32. | ||
| bool | Parses a name. | ||
| bool | Parses a string. | ||
| bool | Parses a signed word. | ||
| bool | Parses a string from a text string. |
Classes
| Type | Name | Description | |
|---|---|---|---|
| FGrammarBasedParseResult |
Enums
| Type | Name | Description | |
|---|---|---|---|
| EGrammarBasedParseErrorCode | |||
| EGrammarBasedParseFlags | CLI string parsing using grammar based parser. |