Rebel Fork Framework
Urho3D::PrefabWriterToArchive Class Reference

Utility class to write prefab data to Archive. More...

#include <Urho3D/Scene/PrefabWriter.h>

Inheritance diagram for Urho3D::PrefabWriterToArchive:
Urho3D::PrefabWriter Urho3D::NonCopyable

Public Member Functions

 PrefabWriterToArchive (Archive &archive, const char *blockName, PrefabSaveFlags saveFlags={}, PrefabArchiveFlags archiveFlags={})
 
void WriteNode (unsigned id, const Serializable *node) override
 
void WriteNumComponents (unsigned numComponents) override
 
void WriteComponent (unsigned id, const Serializable *component) override
 
void WriteNumChildren (unsigned numChildren) override
 
void BeginChild () override
 
void EndChild () override
 
bool IsEOF () const override
 
PrefabSaveFlags GetFlags () const override
 

Private Member Functions

void NextSerializable ()
 
void CheckEOF ()
 

Private Attributes

Archivearchive_
 
const PrefabArchiveFlags nodeFlags_
 
const PrefabArchiveFlags componentFlags_
 
const PrefabSaveFlags saveFlags_
 
SerializablePrefab buffer_
 
bool hasRootBlock_ {}
 
ea::vector< ea::pair< ArchiveBlock, unsigned > > stack_
 
bool eof_ {}
 

Additional Inherited Members

- Protected Member Functions inherited from Urho3D::NonCopyable
 NonCopyable (const NonCopyable &other)=delete
 
 NonCopyable (NonCopyable &&other)=delete
 
NonCopyableoperator= (const NonCopyable &other)=delete
 
NonCopyableoperator= (NonCopyable &&other)=delete
 

Detailed Description

Utility class to write prefab data to Archive.


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