Rebel Fork Framework
Urho3D::PrefabWriterToMemory Class Reference

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

#include <Urho3D/Scene/PrefabWriter.h>

Inheritance diagram for Urho3D::PrefabWriterToMemory:
Urho3D::PrefabWriter Urho3D::NonCopyable

Public Member Functions

 PrefabWriterToMemory (NodePrefab &nodePrefab, PrefabSaveFlags flags={})
 
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

NodePrefabCurrentNode () const
 
void StartChildren ()
 
void NextNode ()
 
void CheckEOF ()
 

Private Attributes

NodePrefabnodePrefab_
 
const PrefabSaveFlags flags_
 
ea::vector< ea::pair< NodePrefab *, unsigned > > stack_
 
unsigned componentIndex_ {}
 

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 NodePrefab.


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