flux sdk  v01.02.02-3-g292b3a7
Embedded C++ SDK
Loading...
Searching...
No Matches
flxStorageJSONBlock Class Reference

#include <flxStorageJSONPref.h>

Inheritance diagram for flxStorageJSONBlock:
flxStorageBlock

Public Member Functions

 flxStorageJSONBlock ()
 
bool writeBool (const char *tag, bool data)
 
bool writeInt8 (const char *tag, int8_t data)
 
bool writeInt16 (const char *tag, int16_t data)
 
bool writeInt32 (const char *tag, int32_t data)
 
bool writeUInt8 (const char *tag, uint8_t data)
 
bool writeUInt16 (const char *tag, uint16_t data)
 
bool writeUInt32 (const char *tag, uint32_t data)
 
bool writeFloat (const char *tag, float data)
 
bool writeDouble (const char *tag, double data)
 
bool writeString (const char *tag, const char *data)
 
bool writeBytes (const char *tag, const uint8_t *data, size_t len)
 
bool readBool (const char *tag, bool &value)
 
bool readInt8 (const char *tag, int8_t &value)
 
bool readInt16 (const char *tag, int16_t &value)
 
bool readInt32 (const char *tag, int32_t &value)
 
bool readUInt8 (const char *tag, uint8_t &value)
 
bool readUInt16 (const char *tag, uint16_t &value)
 
bool readUInt32 (const char *tag, uint32_t &value)
 
bool readFloat (const char *tag, float &value)
 
bool readDouble (const char *tag, double &value)
 
size_t readString (const char *tag, char *data, size_t len)
 
size_t readBytes (const char *tag, uint8_t *data, size_t len)
 
size_t getStringLength (const char *tag)
 
size_t getBytesLength (const char *tag)
 
bool valueExists (const char *tag)
 
flxStorage::flxStorageKind_t kind (void)
 
void setReadOnly (bool readonly)
 
- Public Member Functions inherited from flxStorageBlock
virtual bool writeBool (const char *tag, bool data)=0
 
virtual bool writeInt8 (const char *tag, int8_t data)=0
 
virtual bool writeInt16 (const char *tag, int16_t data)=0
 
virtual bool writeInt32 (const char *tag, int32_t data)=0
 
virtual bool writeUInt8 (const char *tag, uint8_t data)=0
 
virtual bool writeUInt16 (const char *tag, uint16_t data)=0
 
virtual bool writeUInt32 (const char *tag, uint32_t data)=0
 
virtual bool writeFloat (const char *tag, float data)=0
 
virtual bool writeDouble (const char *tag, double data)=0
 
virtual bool writeString (const char *tag, const char *data)=0
 
virtual bool writeBytes (const char *tag, const uint8_t *data, size_t len)=0
 
virtual flxStorage::flxStorageKind_t kind (void)=0
 
virtual void setReadOnly (bool)=0
 
bool write (const char *tag, bool data)
 
bool write (const char *tag, int8_t data)
 
bool write (const char *tag, int16_t data)
 
bool write (const char *tag, int32_t data)
 
bool write (const char *tag, uint8_t data)
 
bool write (const char *tag, uint16_t data)
 
bool write (const char *tag, uint32_t data)
 
bool write (const char *tag, float data)
 
bool write (const char *tag, double data)
 
bool write (const char *tag, const char *data)
 
virtual bool valueExists (const char *tag)=0
 
virtual bool readBool (const char *tag, bool &value)=0
 
virtual bool readInt8 (const char *tag, int8_t &value)=0
 
virtual bool readInt16 (const char *tag, int16_t &value)=0
 
virtual bool readInt32 (const char *tag, int32_t &value)=0
 
virtual bool readUInt8 (const char *tag, uint8_t &value)=0
 
virtual bool readUInt16 (const char *tag, uint16_t &value)=0
 
virtual bool readUInt32 (const char *tag, uint32_t &value)=0
 
virtual bool readFloat (const char *tag, float &value)=0
 
virtual bool readDouble (const char *tag, double &value)=0
 
virtual size_t getStringLength (const char *tag)=0
 
virtual size_t readString (const char *tag, char *data, size_t len)=0
 
virtual size_t readBytes (const char *tag, uint8_t *data, size_t len)=0
 
virtual size_t getBytesLength (const char *tag)=0
 
bool read (const char *tag, bool &value)
 
bool read (const char *tag, int8_t &value)
 
bool read (const char *tag, int16_t &value)
 
bool read (const char *tag, int32_t &value)
 
bool read (const char *tag, uint8_t &value)
 
bool read (const char *tag, uint16_t &value)
 
bool read (const char *tag, uint32_t &value)
 
bool read (const char *tag, float &value)
 
bool read (const char *tag, double &value)
 
bool saveSecureString (const char *tag, const char *data)
 
bool restoreSecureString (const char *tag, char *data, size_t len)
 

Constructor & Destructor Documentation

◆ flxStorageJSONBlock()

flxStorageJSONBlock::flxStorageJSONBlock ( )
inline

Member Function Documentation

◆ getBytesLength()

size_t flxStorageJSONBlock::getBytesLength ( const char *  tag)
virtual

Implements flxStorageBlock.

◆ getStringLength()

size_t flxStorageJSONBlock::getStringLength ( const char *  tag)
virtual

Implements flxStorageBlock.

◆ kind()

flxStorage::flxStorageKind_t flxStorageJSONBlock::kind ( void  )
inlinevirtual

Implements flxStorageBlock.

◆ readBool()

bool flxStorageJSONBlock::readBool ( const char *  tag,
bool &  value 
)
virtual

Implements flxStorageBlock.

◆ readBytes()

size_t flxStorageJSONBlock::readBytes ( const char *  tag,
uint8_t *  data,
size_t  len 
)
virtual

Implements flxStorageBlock.

◆ readDouble()

bool flxStorageJSONBlock::readDouble ( const char *  tag,
double &  value 
)
virtual

Implements flxStorageBlock.

◆ readFloat()

bool flxStorageJSONBlock::readFloat ( const char *  tag,
float &  value 
)
virtual

Implements flxStorageBlock.

◆ readInt16()

bool flxStorageJSONBlock::readInt16 ( const char *  tag,
int16_t &  value 
)
virtual

Implements flxStorageBlock.

◆ readInt32()

bool flxStorageJSONBlock::readInt32 ( const char *  tag,
int32_t &  value 
)
virtual

Implements flxStorageBlock.

◆ readInt8()

bool flxStorageJSONBlock::readInt8 ( const char *  tag,
int8_t &  value 
)
virtual

Implements flxStorageBlock.

◆ readString()

size_t flxStorageJSONBlock::readString ( const char *  tag,
char *  data,
size_t  len 
)
virtual

Implements flxStorageBlock.

◆ readUInt16()

bool flxStorageJSONBlock::readUInt16 ( const char *  tag,
uint16_t &  value 
)
virtual

Implements flxStorageBlock.

◆ readUInt32()

bool flxStorageJSONBlock::readUInt32 ( const char *  tag,
uint32_t &  value 
)
virtual

Implements flxStorageBlock.

◆ readUInt8()

bool flxStorageJSONBlock::readUInt8 ( const char *  tag,
uint8_t &  value 
)
virtual

Implements flxStorageBlock.

◆ setReadOnly()

void flxStorageJSONBlock::setReadOnly ( bool  readonly)
inlinevirtual

Implements flxStorageBlock.

◆ valueExists()

bool flxStorageJSONBlock::valueExists ( const char *  tag)
virtual

Implements flxStorageBlock.

◆ writeBool()

bool flxStorageJSONBlock::writeBool ( const char *  tag,
bool  data 
)
virtual

Implements flxStorageBlock.

◆ writeBytes()

bool flxStorageJSONBlock::writeBytes ( const char *  tag,
const uint8_t *  data,
size_t  len 
)
virtual

Implements flxStorageBlock.

◆ writeDouble()

bool flxStorageJSONBlock::writeDouble ( const char *  tag,
double  data 
)
virtual

Implements flxStorageBlock.

◆ writeFloat()

bool flxStorageJSONBlock::writeFloat ( const char *  tag,
float  data 
)
virtual

Implements flxStorageBlock.

◆ writeInt16()

bool flxStorageJSONBlock::writeInt16 ( const char *  tag,
int16_t  data 
)
virtual

Implements flxStorageBlock.

◆ writeInt32()

bool flxStorageJSONBlock::writeInt32 ( const char *  tag,
int32_t  data 
)
virtual

Implements flxStorageBlock.

◆ writeInt8()

bool flxStorageJSONBlock::writeInt8 ( const char *  tag,
int8_t  data 
)
virtual

Implements flxStorageBlock.

◆ writeString()

bool flxStorageJSONBlock::writeString ( const char *  tag,
const char *  data 
)
virtual

Implements flxStorageBlock.

◆ writeUInt16()

bool flxStorageJSONBlock::writeUInt16 ( const char *  tag,
uint16_t  data 
)
virtual

Implements flxStorageBlock.

◆ writeUInt32()

bool flxStorageJSONBlock::writeUInt32 ( const char *  tag,
uint32_t  data 
)
virtual

Implements flxStorageBlock.

◆ writeUInt8()

bool flxStorageJSONBlock::writeUInt8 ( const char *  tag,
uint8_t  data 
)
virtual

Implements flxStorageBlock.


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