UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FExportObjectInnerContext Class Reference

#include <UnrealExporter.h>

Public Member Functions

ENGINE_API FExportObjectInnerContext ()
 
ENGINE_API FExportObjectInnerContext (const TArray< UObject * > &ObjsToIgnore)
 
 FExportObjectInnerContext (const bool bIgnoredValue)
 
virtual ~FExportObjectInnerContext ()=default
 
virtual int32 GetObjectNumber () const
 
const TArray< UObject * > * GetObjectInners (UObject *InObj) const
 
virtual ENGINE_API bool IsObjectSelected (const UObject *InObj) const
 

Protected Types

typedef TArray< UObject * > InnerList
 
typedef TMap< UObject *, InnerListObjectToInnerMapType
 

Protected Member Functions

ENGINE_API void AddObjectToInnerMap (UObject *InObject)
 

Protected Attributes

ObjectToInnerMapType ObjectToInnerMap
 

Friends

class UExporter
 

Detailed Description

Encapsulates a map from objects to their direct inners, used by UExporter::ExportObjectInner when exporting objects. Should be recreated before new objects are created within objects that are to be exported!

Typical usage pattern is:

const FExportObjectInnerContext Context;
foreach( Object in a set of objects)
    Exporter->ExportObjectInner( Context, Object ); 

Member Typedef Documentation

◆ InnerList

Data structure used to map an object to its inners.

◆ ObjectToInnerMapType

Constructor & Destructor Documentation

◆ FExportObjectInnerContext() [1/3]

FExportObjectInnerContext::FExportObjectInnerContext ( )

Creates the map from objects to their direct inners.

◆ FExportObjectInnerContext() [2/3]

FExportObjectInnerContext::FExportObjectInnerContext ( const TArray< UObject * > &  ObjsToIgnore)

Creates the map from objects to their direct inners.

Parameters
ObjsToIgnoreAn array of objects that should NOT be put in the list

◆ FExportObjectInnerContext() [3/3]

FExportObjectInnerContext::FExportObjectInnerContext ( const bool  bIgnoredValue)
inline

Empty Constructor for derived export contexts

◆ ~FExportObjectInnerContext()

virtual FExportObjectInnerContext::~FExportObjectInnerContext ( )
virtualdefault

Member Function Documentation

◆ AddObjectToInnerMap()

void FExportObjectInnerContext::AddObjectToInnerMap ( UObject InObject)
protected

◆ GetObjectInners()

const TArray< UObject * > * FExportObjectInnerContext::GetObjectInners ( UObject InObj) const
inline

Get the inner list of an object

Parameters
InObj- Object
Returns
Object Inners

◆ GetObjectNumber()

virtual int32 FExportObjectInnerContext::GetObjectNumber ( ) const
inlinevirtual

◆ IsObjectSelected()

bool FExportObjectInnerContext::IsObjectSelected ( const UObject InObj) const
virtual

Should the given object be considered selected by the current export?

Friends And Related Symbol Documentation

◆ UExporter

friend class UExporter
friend

Member Data Documentation

◆ ObjectToInnerMap

ObjectToInnerMapType FExportObjectInnerContext::ObjectToInnerMap
protected

The documentation for this class was generated from the following files: