📄 uexporter.h
字号:
/*=============================================================================
UExporter.cpp: Exporter class definition.
Copyright 1997-1999 Epic Games, Inc. All Rights Reserved.
Revision history:
* Created by Tim Sweeney
=============================================================================*/
/*----------------------------------------------------------------------------
UExporter.
----------------------------------------------------------------------------*/
//
// An object responsible for exporting other objects to files.
//
class CORE_API UExporter : public UObject
{
DECLARE_ABSTRACT_CLASS(UExporter,UObject,0)
// Variables.
UClass* SupportedClass;
TArray<FString> Formats;
INT TextIndent;
BITFIELD bText : 1;
BITFIELD bMulti : 1;
// Constructor.
UExporter();
// UObject interface.
void Serialize( FArchive& Ar );
void StaticConstructor();
// UExporter interface.
virtual UBOOL ExportText( UObject* Object, const TCHAR* Type, FOutputDevice& Ar, FFeedbackContext* Warn ) {return NULL;}
virtual UBOOL ExportBinary( UObject* Object, const TCHAR* Type, FArchive& Ar, FFeedbackContext* Warn ) {return NULL;}
static UExporter* FindExporter( UObject* Object, const TCHAR* Filetype );
static INT ExportToFile( UObject* Object, UExporter* Exporter, const TCHAR* Filename, UBOOL NoReplaceIdentical=0, UBOOL Prompt=0 );
static void ExportToArchive( UObject* Object, UExporter* Exporter, FArchive& Ar, const TCHAR* FileType );
static void ExportToOutputDevice( UObject* Object, UExporter* Exporter, FOutputDevice& Out, const TCHAR* FileType, INT Indent );
};
/*----------------------------------------------------------------------------
The End.
----------------------------------------------------------------------------*/
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -