kanzi::KzbMemoryParser Class Reference

#include <kanzi/core.ui/kzb/kzb_loading.hpp>

Public Types

typedef vector< pair< AbstractPropertyType, Variant > > PropertyContainer
 

Public Member Functions

 KzbMemoryParser (KzbFile *kzbFile, const byte *data, uint64_t dataSize)
 
void parseKzbMagic ()
 
uint32_t parseUint32 ()
 
uint64_t parseUint64 ()
 
int32_t parseInt32 ()
 
uint16_t parseUint16 ()
 
uint8_t parseUint8 ()
 
float parseFloat ()
 
bool parseBool ()
 
ColorRGBA parseColorRGBA ()
 
Vector2 parseVector2 ()
 
Vector3 parseVector3 ()
 
Vector4 parseVector4 ()
 
Matrix3x3 parseMatrix3x3 ()
 
Matrix4x4 parseMatrix4x4 ()
 
string_view parseNullTerminatedString ()
 
string_view parseSizedString ()
 
string_view parseSizedData ()
 
SRTValue2D parseSRT2D ()
 
kanzi::SRTValue3D parseSRT3D ()
 
void loadProperties (Object &object)
 
void loadProperties (PropertyContainer &properties, bool resolveResources)
 
Variant loadVariant (PropertyDataType dataType, bool resolveResources)
 
const MetaclassloadMetaclass ()
 
AbstractPropertyType loadPropertyType ()
 
string_view loadString ()
 
ObjectSharedPtr loadObject ()
 
void skip (size_t sizeBytes)
 
const bytegetData () const
 
const bytegetCurrentData () const
 
uint64_t getSize () const
 

Member Typedef Documentation

Constructor & Destructor Documentation

kanzi::KzbMemoryParser::KzbMemoryParser ( KzbFile kzbFile,
const byte data,
uint64_t  dataSize 
)
inlineexplicit

Member Function Documentation

void kanzi::KzbMemoryParser::parseKzbMagic ( )
inline
uint32_t kanzi::KzbMemoryParser::parseUint32 ( )
inline
uint64_t kanzi::KzbMemoryParser::parseUint64 ( )
inline
int32_t kanzi::KzbMemoryParser::parseInt32 ( )
inline
uint16_t kanzi::KzbMemoryParser::parseUint16 ( )
inline
uint8_t kanzi::KzbMemoryParser::parseUint8 ( )
inline
float kanzi::KzbMemoryParser::parseFloat ( )
inline
bool kanzi::KzbMemoryParser::parseBool ( )
inline
ColorRGBA kanzi::KzbMemoryParser::parseColorRGBA ( )
inline
Vector2 kanzi::KzbMemoryParser::parseVector2 ( )
inline
Vector3 kanzi::KzbMemoryParser::parseVector3 ( )
inline
Vector4 kanzi::KzbMemoryParser::parseVector4 ( )
inline
Matrix3x3 kanzi::KzbMemoryParser::parseMatrix3x3 ( )
inline
Matrix4x4 kanzi::KzbMemoryParser::parseMatrix4x4 ( )
inline
string_view kanzi::KzbMemoryParser::parseNullTerminatedString ( )
inline
string_view kanzi::KzbMemoryParser::parseSizedString ( )
inline
string_view kanzi::KzbMemoryParser::parseSizedData ( )
inline
SRTValue2D kanzi::KzbMemoryParser::parseSRT2D ( )
inline
kanzi::SRTValue3D kanzi::KzbMemoryParser::parseSRT3D ( )
inline
void kanzi::KzbMemoryParser::loadProperties ( Object object)
void kanzi::KzbMemoryParser::loadProperties ( PropertyContainer properties,
bool  resolveResources 
)
Variant kanzi::KzbMemoryParser::loadVariant ( PropertyDataType  dataType,
bool  resolveResources 
)
const Metaclass* kanzi::KzbMemoryParser::loadMetaclass ( )
AbstractPropertyType kanzi::KzbMemoryParser::loadPropertyType ( )
string_view kanzi::KzbMemoryParser::loadString ( )
ObjectSharedPtr kanzi::KzbMemoryParser::loadObject ( )
void kanzi::KzbMemoryParser::skip ( size_t  sizeBytes)
inline
const byte* kanzi::KzbMemoryParser::getData ( ) const
inline
const byte* kanzi::KzbMemoryParser::getCurrentData ( ) const
inline
uint64_t kanzi::KzbMemoryParser::getSize ( ) const
inline

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