Module |
|
Header |
/Engine/Source/Editor/UnrealEd/Public/Factories.h |
Include |
#include "Factories.h" |
class FCustomizableTextObjectFactory
This class is a simple customizable object factory driven from a text buffer. Subclasses need to implement CanCreateClass and ProcessConstructedObject.
Name | Description | ||
---|---|---|---|
|
InstanceGraph |
||
|
WarningContext |
Name | Description | |
---|---|---|
|
FCustomizableTextObjectFactory ( |
Constructor for the factory; takes a context for emitting warnings such as GWarn |
Name | Description | |
---|---|---|
|
~FCustomizableTextObjectFactory() |
Name | Description | ||
---|---|---|---|
|
CanCreateClass |
Return true if the an object of type ObjectClass is allowed to be created; If false is returned, the object and subobjects will be ignored. |
|
|
CanCreateObjectsFromText ( |
Determine if it is possible to create objects from the specified TextBuffer |
|
|
ClearObjectNameUsage |
Util to ensure that InName is a valid name for a new object within InParent. |
|
|
UObject *... |
GetParentForNewObject ( |
Allow child class to override new object parent (only called when parent supplied to ProcessBuffer is NULL |
|
PostProcessConstructedObjects() |
Post handling of constructed objects by the factory |
|
|
ProcessBuffer ( |
Parse a text buffer and factories objects from it, subject to the restrictions imposed by CanCreateClass() |
|
|
ProcessBuffer ( |
||
|
ProcessConstructedObject ( |
This is called on each created object after the property text is imported |
|
|
ProcessUnidentifiedLine ( |
If we cant do anything with the line ourselves hand off to child class |
|
|
UpdateObjectName |
Provide the opportunity to change the name during import |