EHS
Loading...
Searching...
No Matches
ehs::JsonObj Class Referencefinal

#include <JsonObj.h>

Inheritance diagram for ehs::JsonObj:
ehs::JsonBase

Public Member Functions

 ~JsonObj () override
 
 JsonObj ()
 
 JsonObj (UInt_64 size, UInt_64 extra)
 
 JsonObj (UInt_64 extra)
 
 JsonObj (JsonObj &&value) noexcept
 
 JsonObj (const JsonObj &value)
 
JsonObjoperator= (JsonObj &&value) noexcept
 
JsonObjoperator= (const JsonObj &value)
 
 operator JsonVar * () const
 
UInt_64 Size () const
 
UInt_64 Extra () const
 
UInt_64 RawSize () const
 
bool HasVar (UInt_64 hashId) const
 
bool HasVar (const Str_8 &identifier) const
 
bool AddVar (const JsonVar &var)
 
const JsonVarGetVar (UInt_64 hashId) const
 
const JsonVarGetVar (const Str_8 &identifier) const
 
JsonVarGetVar (UInt_64 hashId)
 
JsonVarGetVar (const Str_8 &identifier)
 
Str_8 ToStr (UInt_64 level, bool compact) const override
 
- Public Member Functions inherited from ehs::JsonBase
virtual ~JsonBase ()=default
 
 JsonBase ()
 
 JsonBase (JsonType type)
 
 JsonBase (const JsonBase &base)=default
 
JsonType GetType () const
 

Protected Attributes

UInt_64 size
 
UInt_64 extra
 
UInt_64 rawSize
 
JsonVarvars
 

Constructor & Destructor Documentation

◆ ~JsonObj()

ehs::JsonObj::~JsonObj ( )
override

◆ JsonObj() [1/5]

ehs::JsonObj::JsonObj ( )

◆ JsonObj() [2/5]

ehs::JsonObj::JsonObj ( UInt_64 size,
UInt_64 extra )

◆ JsonObj() [3/5]

ehs::JsonObj::JsonObj ( UInt_64 extra)

◆ JsonObj() [4/5]

ehs::JsonObj::JsonObj ( JsonObj && value)
noexcept

◆ JsonObj() [5/5]

ehs::JsonObj::JsonObj ( const JsonObj & value)

Member Function Documentation

◆ AddVar()

bool ehs::JsonObj::AddVar ( const JsonVar & var)

◆ Extra()

UInt_64 ehs::JsonObj::Extra ( ) const

◆ GetVar() [1/4]

JsonVar * ehs::JsonObj::GetVar ( const Str_8 & identifier)

◆ GetVar() [2/4]

const JsonVar * ehs::JsonObj::GetVar ( const Str_8 & identifier) const

◆ GetVar() [3/4]

JsonVar * ehs::JsonObj::GetVar ( UInt_64 hashId)

◆ GetVar() [4/4]

const JsonVar * ehs::JsonObj::GetVar ( UInt_64 hashId) const

◆ HasVar() [1/2]

bool ehs::JsonObj::HasVar ( const Str_8 & identifier) const

◆ HasVar() [2/2]

bool ehs::JsonObj::HasVar ( UInt_64 hashId) const

◆ operator JsonVar *()

ehs::JsonObj::operator JsonVar * ( ) const

◆ operator=() [1/2]

JsonObj & ehs::JsonObj::operator= ( const JsonObj & value)

◆ operator=() [2/2]

JsonObj & ehs::JsonObj::operator= ( JsonObj && value)
noexcept

◆ RawSize()

UInt_64 ehs::JsonObj::RawSize ( ) const

◆ Size()

UInt_64 ehs::JsonObj::Size ( ) const

◆ ToStr()

Str_8 ehs::JsonObj::ToStr ( UInt_64 level,
bool compact ) const
overridevirtual

Reimplemented from ehs::JsonBase.

Member Data Documentation

◆ extra

UInt_64 ehs::JsonObj::extra
protected

◆ rawSize

UInt_64 ehs::JsonObj::rawSize
protected

◆ size

UInt_64 ehs::JsonObj::size
protected

◆ vars

JsonVar* ehs::JsonObj::vars
protected

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