Rebel Fork Framework
Urho3D::XMLOutputArchiveBlock Class Reference

XML output archive block. More...

#include <Urho3D/Resource/XMLArchive.h>

Inheritance diagram for Urho3D::XMLOutputArchiveBlock:
Urho3D::ArchiveBlockBase

Public Member Functions

 XMLOutputArchiveBlock (const char *name, ArchiveBlockType type, XMLElement blockElement, unsigned sizeHint)
 
XMLElement CreateElement (ArchiveBase &archive, const char *elementName)
 
XMLAttributeReference CreateElementOrAttribute (ArchiveBase &archive, const char *elementName)
 
bool IsUnorderedAccessSupported () const
 
bool HasElementOrBlock (const char *name) const
 
void Close (ArchiveBase &archive)
 
- Public Member Functions inherited from Urho3D::ArchiveBlockBase
 ArchiveBlockBase (const char *name, ArchiveBlockType type)
 
ea::string_view GetName () const
 
ArchiveBlockType GetType () const
 
void OpenInlineBlock ()
 
void CloseInlineBlock ()
 
bool HasOpenInlineBlock () const
 
bool IsUnorderedAccessSupported () const =delete
 
bool HasElementOrBlock (const char *name) const =delete
 
void Close ()=delete
 

Private Attributes

XMLElement blockElement_ {}
 
unsigned expectedElementCount_ {M_MAX_UNSIGNED}
 Expected block size (for arrays).
 
unsigned numElements_ {}
 Number of elements in block.
 
ea::hash_set< ea::string > usedNames_ {}
 Set of used names for checking.
 

Additional Inherited Members

- Protected Attributes inherited from Urho3D::ArchiveBlockBase
const ea::string_view name_
 
const ArchiveBlockType type_ {}
 
unsigned inlineBlockDepth_ {}
 

Detailed Description

XML output archive block.


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