EHS
ehs::JsonVar Class Referencefinal

#include <JsonVar.h>

Public Member Functions

 ~JsonVar ()
 
 JsonVar ()
 
 JsonVar (Str_8 id)
 
 JsonVar (Str_8 id, const JsonBase *value)
 
 JsonVar (Str_8 id, const JsonBase &value)
 
 JsonVar (Str_8 id, const JsonObj &value)
 
 JsonVar (Str_8 id, const JsonArray &value)
 
 JsonVar (Str_8 id, const JsonBool &value)
 
 JsonVar (Str_8 id, bool boolean)
 
 JsonVar (Str_8 id, const JsonNum &value)
 
 JsonVar (Str_8 id, SInt_64 num)
 
 JsonVar (Str_8 id, UInt_64 num)
 
 JsonVar (Str_8 id, SInt_32 num)
 
 JsonVar (Str_8 id, UInt_32 num)
 
 JsonVar (Str_8 id, SInt_16 num)
 
 JsonVar (Str_8 id, UInt_16 num)
 
 JsonVar (Str_8 id, SInt_8 num)
 
 JsonVar (Str_8 id, UInt_8 num)
 
 JsonVar (Str_8 id, double num)
 
 JsonVar (Str_8 id, float num)
 
 JsonVar (Str_8 id, const JsonStr &value)
 
 JsonVar (Str_8 id, const Char_8 *str, UInt_64 size=0)
 
 JsonVar (Str_8 id, Str_8 str)
 
 JsonVar (JsonVar &&var) noexcept
 
 JsonVar (const JsonVar &var)
 
JsonVaroperator= (JsonVar &&var) noexcept
 
JsonVaroperator= (const JsonVar &var)
 
UInt_64 GetHashId () const
 
Str_8 GetId () const
 
void SetValue (const JsonBase *newValue)
 
void SetValue (const JsonBase &newValue)
 
void SetValue (const JsonObj &newValue)
 
void SetValue (const JsonArray &newValue)
 
void SetValue (const JsonBool &newValue)
 
void SetValue (bool newValue)
 
void SetValue (const JsonNum &newValue)
 
void SetValue (float newValue)
 
void SetValue (const JsonStr &newValue)
 
void SetValue (const Char_8 *newValue, UInt_64 size=0)
 
void SetValue (const Str_8 &newValue)
 
const JsonBaseGetValue () const
 
JsonBaseGetValue ()
 
Str_8 ToStr (UInt_64 level, bool compact) const
 

Constructor & Destructor Documentation

◆ ~JsonVar()

ehs::JsonVar::~JsonVar ( )

◆ JsonVar() [1/24]

ehs::JsonVar::JsonVar ( )

◆ JsonVar() [2/24]

ehs::JsonVar::JsonVar ( Str_8  id)

◆ JsonVar() [3/24]

ehs::JsonVar::JsonVar ( Str_8  id,
const JsonBase value 
)

◆ JsonVar() [4/24]

ehs::JsonVar::JsonVar ( Str_8  id,
const JsonBase value 
)

◆ JsonVar() [5/24]

ehs::JsonVar::JsonVar ( Str_8  id,
const JsonObj value 
)

◆ JsonVar() [6/24]

ehs::JsonVar::JsonVar ( Str_8  id,
const JsonArray value 
)

◆ JsonVar() [7/24]

ehs::JsonVar::JsonVar ( Str_8  id,
const JsonBool value 
)

◆ JsonVar() [8/24]

ehs::JsonVar::JsonVar ( Str_8  id,
bool  boolean 
)

◆ JsonVar() [9/24]

ehs::JsonVar::JsonVar ( Str_8  id,
const JsonNum value 
)

◆ JsonVar() [10/24]

ehs::JsonVar::JsonVar ( Str_8  id,
SInt_64  num 
)

◆ JsonVar() [11/24]

ehs::JsonVar::JsonVar ( Str_8  id,
UInt_64  num 
)

◆ JsonVar() [12/24]

ehs::JsonVar::JsonVar ( Str_8  id,
SInt_32  num 
)

◆ JsonVar() [13/24]

ehs::JsonVar::JsonVar ( Str_8  id,
UInt_32  num 
)

◆ JsonVar() [14/24]

ehs::JsonVar::JsonVar ( Str_8  id,
SInt_16  num 
)

◆ JsonVar() [15/24]

ehs::JsonVar::JsonVar ( Str_8  id,
UInt_16  num 
)

◆ JsonVar() [16/24]

ehs::JsonVar::JsonVar ( Str_8  id,
SInt_8  num 
)

◆ JsonVar() [17/24]

ehs::JsonVar::JsonVar ( Str_8  id,
UInt_8  num 
)

◆ JsonVar() [18/24]

ehs::JsonVar::JsonVar ( Str_8  id,
double  num 
)

◆ JsonVar() [19/24]

ehs::JsonVar::JsonVar ( Str_8  id,
float  num 
)

◆ JsonVar() [20/24]

ehs::JsonVar::JsonVar ( Str_8  id,
const JsonStr value 
)

◆ JsonVar() [21/24]

ehs::JsonVar::JsonVar ( Str_8  id,
const Char_8 str,
UInt_64  size = 0 
)

◆ JsonVar() [22/24]

ehs::JsonVar::JsonVar ( Str_8  id,
Str_8  str 
)

◆ JsonVar() [23/24]

ehs::JsonVar::JsonVar ( JsonVar &&  var)
noexcept

◆ JsonVar() [24/24]

ehs::JsonVar::JsonVar ( const JsonVar var)

Member Function Documentation

◆ GetHashId()

UInt_64 ehs::JsonVar::GetHashId ( ) const

◆ GetId()

Str_8 ehs::JsonVar::GetId ( ) const

◆ GetValue() [1/2]

JsonBase * ehs::JsonVar::GetValue ( )

◆ GetValue() [2/2]

const JsonBase * ehs::JsonVar::GetValue ( ) const

◆ operator=() [1/2]

JsonVar & ehs::JsonVar::operator= ( const JsonVar var)

◆ operator=() [2/2]

JsonVar & ehs::JsonVar::operator= ( JsonVar &&  var)
noexcept

◆ SetValue() [1/11]

void ehs::JsonVar::SetValue ( bool  newValue)

◆ SetValue() [2/11]

void ehs::JsonVar::SetValue ( const Char_8 newValue,
UInt_64  size = 0 
)

◆ SetValue() [3/11]

void ehs::JsonVar::SetValue ( const JsonArray newValue)

◆ SetValue() [4/11]

void ehs::JsonVar::SetValue ( const JsonBase newValue)

◆ SetValue() [5/11]

void ehs::JsonVar::SetValue ( const JsonBase newValue)

◆ SetValue() [6/11]

void ehs::JsonVar::SetValue ( const JsonBool newValue)

◆ SetValue() [7/11]

void ehs::JsonVar::SetValue ( const JsonNum newValue)

◆ SetValue() [8/11]

void ehs::JsonVar::SetValue ( const JsonObj newValue)

◆ SetValue() [9/11]

void ehs::JsonVar::SetValue ( const JsonStr newValue)

◆ SetValue() [10/11]

void ehs::JsonVar::SetValue ( const Str_8 newValue)

◆ SetValue() [11/11]

void ehs::JsonVar::SetValue ( float  newValue)

◆ ToStr()

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

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