![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
Public Member Functions | |
| FFastXmlImpl (IFastXmlCallback *InitCallback, TCHAR *InitXmlFileContents, const SIZE_T InitXmlFileContentsLength, FFeedbackContext *InitFeedbackContext) | |
| ~FFastXmlImpl (void) | |
| bool | ProcessXmlFile (FText &OutErrorMessage, int32 &OutErrorLineNumber) |
Protected Types | |
| enum class | ECharType : uint8 { Data = 0 , EndOfFile , Whitespace , EndOfElement , EndOfLine } |
Protected Member Functions | |
| TCHAR * | ProcessClose (const TCHAR Char, const TCHAR *Element, TCHAR *Buffer, const int32 AttributeCount, const TCHAR **Attributes) |
| TCHAR * | ProcessClose (TCHAR *Buffer) |
| bool | ProcessXmlFileInternal () |
| TCHAR * | NextWhitespace (TCHAR *Buffer) |
| TCHAR * | NextWhitespaceOrClose (TCHAR *Buffer, bool &IsClose) |
| TCHAR * | NextSeparator (TCHAR *Buffer) |
| TCHAR * | SkipNextData (TCHAR *Buffer) |
| void | PushElement (const TCHAR *Element) |
| const TCHAR * | PopElement (void) |
| bool | IsCharTypeEqual (TCHAR Character, ECharType Type) |
Protected Attributes | |
| IFastXmlCallback * | Callback |
| TCHAR * | XmlFileContents |
| SIZE_T | XmlFileContentsLength |
| FFeedbackContext * | FeedbackContext |
| FText | ErrorMessage |
| ECharType | CharacterTypeMap [256] |
| uint32 | StackIndex |
| int32 | LineNumber |
| const TCHAR * | Stack [MaxStackDepth+1] |
| bool | IsStackAllocated [MaxStackDepth+1] |
Static Protected Attributes | |
| static const int | MaxStackDepth = 2048 |
| static const int | MaxAttributes = 2048 |
Implementation of fast XML parser
|
strongprotected |
|
inline |
|
inline |
|
inlineprotected |
|
inlineprotected |
|
protected |
User callback to report XML data and progress
|
protected |
Maps each ASCII character to the type of character we think it is
|
protected |
If anything goes wrong or the user cancels, the error message to return will be stored here
|
protected |
Feedback context for status reporting. Can be nullptr.
|
protected |
For each stack level, whether we've allocated that stack or not yet
|
protected |
The current line number we're on in the file
|
staticprotected |
Maximum number of attributes in an element that we can support
|
staticprotected |
Maximum stack depth. We can't support XML documents that go deeper than this!
|
protected |
Stack of characters, one for each stack depth
|
protected |
Current stack depth as we descend through XML nodes and attributes
|
protected |
Reference to the the contents of the XML file to parse
|
protected |
Length of the XmlFileContents string