uexporter.h
来自「虚幻的再开发程序包源代码」· C头文件 代码 · 共 46 行
H
46 行
/*=============================================================================
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 + =
减小字号Ctrl + -
显示快捷键?