Rebel Fork Framework
|
JSON input archive block. More...
#include <Urho3D/Resource/JSONArchive.h>
Public Member Functions | |
JSONInputArchiveBlock (const char *name, ArchiveBlockType type, const JSONValue *value) | |
unsigned | GetSizeHint () const |
Return size hint. | |
const JSONValue & | ReadElement (ArchiveBase &archive, const char *elementName, const ArchiveBlockType *elementBlockType) |
Read current child and move to the next one. | |
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 | |
const JSONValue * | value_ {} |
unsigned | nextElementIndex_ {} |
Next array index (for sequential and array blocks). | |
Additional Inherited Members | |
Protected Attributes inherited from Urho3D::ArchiveBlockBase | |
const ea::string_view | name_ |
const ArchiveBlockType | type_ {} |
unsigned | inlineBlockDepth_ {} |
JSON input archive block.