Navigation
API > API/Editor > API/Editor/UnrealEd > API/Editor/UnrealEd/UCSVImportFactory
Description
Create a new object by importing it from a file name.
The default implementation of this method will load the contents of the entire file into a byte buffer and call FactoryCreateBinary. User defined factories may override this behavior to process the provided file name on their own.
Virtual Inheritance
- UFactory::FactoryCreateFile → UCSVImportFactory::FactoryCreateFile
| Name | FactoryCreateFile |
| Type | function |
| Header File | /Engine/Source/Editor/UnrealEd/Classes/Factories/CSVImportFactory.h |
| Include Path | #include "Factories/CSVImportFactory.h" |
| Source | /Engine/Source/Editor/UnrealEd/Private/Factories/CSVImportFactory.cpp |
virtual UObject * FactoryCreateFile
(
UClass * InClass,
UObject * InParent,
FName InName,
EObjectFlags Flags,
const FString & Filename,
const TCHAR * Parms,
FFeedbackContext * Warn,
bool & bOutOperationCanceled
)
The new object.
Parameters
| Name | Remarks |
|---|---|
| InClass | |
| InParent | |
| InName | |
| Flags | |
| Filename | |
| Parms | |
| Warn | |
| bOutOperationCanceled | Will indicate whether the user canceled the import. |