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 | Bool
(
const TCHAR* Stream, |
Parses a boolean value. | |
| bool | Command
(
const TCHAR** Stream, |
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 | HexDigit
(
TCHAR c |
Parse a hex digit. | |
| uint32 | HexNumber
(
const TCHAR* HexString |
Parses a hexadecimal string value. | |
| uint64 | HexNumber64
(
const TCHAR* HexString |
Parses a hexadecimal string value. | |
| 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 | 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 | 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 | |
| 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 | Next
(
const TCHAR** Stream |
Get next command. Skips past comments and cr's. | |
| bool |
Param
(
const TCHAR* Stream, |
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, |
Parse a quoted string token. | |
| bool | Resolution
(
const TCHAR* InResolution, |
Parses a resolution in the form 1920x1080 |
|
| bool | Resolution
(
const TCHAR* InResolution, |
Parses a resolution in the form 1920x1080. | |
| bool | SchemeNameFromURI
(
const TCHAR* InURI, |
Parses the scheme name from a URI | |
| bool | Parse an Text token. | ||
| FString | Token
(
const TCHAR*& Str, |
Grabs the next space-delimited string from the input stream. If quoted, gets entire quoted string. | |
| bool | Grabs the next space-delimited string from the input stream. If quoted, gets entire quoted string. | ||
| bool | Token
(
const TCHAR*& Str, |
Grabs the next space-delimited string from the input stream. If quoted, gets entire quoted string. | |
| bool | Parses a string. | ||
| bool | Parses an FText. | ||
| bool | Value
(
const TCHAR* Stream, |
Parses a signed quadword. | |
| bool | Value
(
const TCHAR* Stream, |
Parses a quadword. | |
| bool | Value
(
const TCHAR* Stream, |
Parses a signed double word. | |
| bool | Value
(
const TCHAR* Stream, |
Parses a double precision floating-point value. | |
| bool | Value
(
const TCHAR* Stream, |
Parses a floating-point value. | |
| bool | Value
(
const TCHAR* Stream, |
Parses a signed byte. | |
| bool | Value
(
const TCHAR* Stream, |
Parses a uint16. | |
| bool | Value
(
const TCHAR* Stream, |
Parses a byte. | |
| bool | Parses a globally unique identifier. | ||
| bool | Value
(
const TCHAR* Stream, |
Parses a uint32. | |
| bool | Parses a name. | ||
| bool | Value
(
const TCHAR* Stream, |
Parses a signed word. | |
| bool | Value
(
const TCHAR* Stream, |
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. |