#include <IDlgParser.h>
Definition at line 9 of file IDlgParser.h.
◆ ~IDlgParser()
virtual IDlgParser::~IDlgParser |
( |
| ) |
|
|
inlinevirtual |
◆ CreateNewUObject()
static UObject * IDlgParser::CreateNewUObject |
( |
const UClass * | StructDefinition, |
|
|
UObject * | ObjectOuter ) |
|
inlinestaticprotected |
Default way to create new objects
Definition at line 70 of file IDlgParser.h.
◆ GetChildClassFromName()
const UClass * IDlgParser::GetChildClassFromName |
( |
const UClass * | ParentClass, |
|
|
const FString & | Name ) |
|
inlineprotected |
Searches the proper not abstract class
- Parameters
-
ParentClass | the class we are looking for has to inherit from this class |
Name | the name of the class we are looking for (without engine pretags, e.g. Actor for AActor) |
- Returns
- the class, or nullptr if it does not exist
Definition at line 45 of file IDlgParser.h.
◆ InitializeParser()
virtual void IDlgParser::InitializeParser |
( |
const FString & | FilePath | ) |
|
|
pure virtual |
◆ InitializeParserFromString()
virtual void IDlgParser::InitializeParserFromString |
( |
const FString & | Text | ) |
|
|
inlinevirtual |
◆ IsLogVerbose()
bool IDlgParser::IsLogVerbose |
( |
| ) |
const |
|
inline |
◆ IsValidFile()
virtual bool IDlgParser::IsValidFile |
( |
| ) |
const |
|
pure virtual |
◆ ReadAllProperty()
virtual void IDlgParser::ReadAllProperty |
( |
const UStruct * | ReferenceClass, |
|
|
void * | TargetObject, |
|
|
UObject * | DefaultObjectOuter = nullptr ) |
|
pure virtual |
Reads all property from the config file.
- Parameters
-
ReferenceClass | UStruct (or UClass) of the TargetObject |
TargetObject | pointer to the object instance the function will modify based on the config values |
DefaultObjectOuter | Outer used for UObject construction if necessary |
Implemented in FDlgConfigParser, and FDlgJsonParser.
◆ SetLogVerbose()
void IDlgParser::SetLogVerbose |
( |
bool | bValue | ) |
|
|
inline |
◆ bLogVerbose
bool IDlgParser::bLogVerbose = false |
|
protected |
◆ StructCache
TArray<UClass*> IDlgParser::StructCache |
|
protected |
each time a class is read it also cached here, so next time when it has to be found based on name it can be found faster
Definition at line 78 of file IDlgParser.h.
The documentation for this class was generated from the following file:
- SDKDemo/Plugins/UnrealEngineSDK/VisualScripter/Source/DlgSystem/Public/IO/IDlgParser.h