UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FastXml.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3#pragma once
4
5#include "CoreMinimal.h"
6#include "HAL/Platform.h"
7
8class FText;
9
24{
25
26public:
27
43 XMLPARSER_API static bool ParseXmlFile( class IFastXmlCallback* Callback, const TCHAR* XmlFilePath, TCHAR* XmlFileContents, class FFeedbackContext* FeedbackContext, const bool bShowSlowTaskDialog, const bool bShowCancelButton, FText& OutErrorMessage, int32& OutErrorLineNumber );
44
45};
46
47
55{
56
57public:
58
67 virtual bool ProcessXmlDeclaration( const TCHAR* ElementData, int32 XmlFileLineNumber ) = 0;
68
79 virtual bool ProcessElement( const TCHAR* ElementName, const TCHAR* ElementData, int32 XmlFileLineNumber ) = 0;
80
89 virtual bool ProcessAttribute( const TCHAR* AttributeName, const TCHAR* AttributeValue ) = 0;
90
98 virtual bool ProcessClose( const TCHAR* Element ) = 0;
99
105 virtual bool ProcessComment( const TCHAR* Comment ) = 0;
106
107};
108
109
FPlatformTypes::TCHAR TCHAR
Either ANSICHAR or WIDECHAR, depending on whether the platform supports wide characters or the requir...
Definition Platform.h:1135
FPlatformTypes::int32 int32
A 32-bit signed integer.
Definition Platform.h:1125
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
Definition FastXml.h:24
static XMLPARSER_API bool ParseXmlFile(class IFastXmlCallback *Callback, const TCHAR *XmlFilePath, TCHAR *XmlFileContents, class FFeedbackContext *FeedbackContext, const bool bShowSlowTaskDialog, const bool bShowCancelButton, FText &OutErrorMessage, int32 &OutErrorLineNumber)
Definition FastXml.cpp:630
Definition FeedbackContext.h:30
Definition Text.h:385
Definition FastXml.h:55
virtual bool ProcessClose(const TCHAR *Element)=0
virtual bool ProcessComment(const TCHAR *Comment)=0
virtual bool ProcessElement(const TCHAR *ElementName, const TCHAR *ElementData, int32 XmlFileLineNumber)=0
virtual bool ProcessAttribute(const TCHAR *AttributeName, const TCHAR *AttributeValue)=0
virtual bool ProcessXmlDeclaration(const TCHAR *ElementData, int32 XmlFileLineNumber)=0