SFlashVarValue

Variant type to pass values to flash variables. More...

#include

Public Types

enum Type {
eUndefined, eNull, eBool, eInt,
eUInt, eDouble, eFloat, eConstStrPtr,
eConstWstrPtr, eObject
}
Enumerates types that can be sent to and received from flash. More...

Public Member Functions

SFlashVarValue (bool val)
SFlashVarValue (int val)
SFlashVarValue (unsigned int val)
SFlashVarValue (double val)
SFlashVarValue (float val)
SFlashVarValue (const char *val)
SFlashVarValue (const wchar_t *val)
bool GetBool () const
int GetInt () const
unsigned int GetUInt () const
double GetDouble () const
float GetFloat () const
const char * GetConstStrPtr () const
const wchar_t * GetConstWstrPtr () const
Type GetType () const
bool IsUndefined () const
bool IsNull () const
bool IsBool () const
bool IsInt () const
bool IsUInt () const
bool IsDouble () const
bool IsFloat () const
bool IsConstStr () const
bool IsConstWstr () const
bool IsObject () const

Static Public Member Functions

static SFlashVarValue CreateUndefined ()
static SFlashVarValue CreateNull ()

Protected Member Functions

SFlashVarValue ()
Don't define default constructor to enforce efficient default initialization of argument lists!
SFlashVarValue (Type t)

Protected Attributes

Type type
Data data

Detailed Description

Variant type to pass values to flash variables.

Member Enumeration Documentation

◆ Type

Enumerates types that can be sent to and received from flash.

Enumerator
eObject

Receive only!