flux sdk  v01.05.00-3-gedf3296
Embedded C++ SDK
Loading...
Searching...
No Matches
flxKVPStore Class Reference

#include <flxKVPStore.h>

Inheritance diagram for flxKVPStore:
flxKVPStorePrefs

Public Member Functions

 flxKVPStore ()
 
flxKVPError_t initialize (void)
 
uint8_t getNameSpace (const char *szNS)
 
flxKVPError_t setValue (uint8_t iNS, const char *szKey, const char *value)
 
flxKVPError_t setValue (uint8_t iNS, const char *szKey, char *value)
 
template<typename T >
flxKVPError_t setValue (uint8_t iNS, const char *szKey, T &value)
 
flxKVPError_t setValue (uint8_t iNS, const char *szKey, const void *value, size_t valueSize)
 
template<typename T >
flxKVPError_t getValue (uint8_t iNS, const char *szKey, T &value)
 
flxKVPError_t getValue (uint8_t iNS, const char *szKey, char *value, size_t len)
 
flxKVPError_t getValue (uint8_t iNS, const char *szKey, void *value, size_t len)
 
flxKVPError_t deleteValue (uint8_t iNS, const char *szKey)
 
bool keyExists (uint8_t iNS, const char *szKey)
 
void commit (void)
 
void reset (void)
 
void setStorageDevice (flxKVPStoreDevice *device)
 
void setStorageDevice (flxKVPStoreDevice &device)
 

Static Public Attributes

static constexpr int16_t kNullPage = -1
 

Protected Member Functions

flxKVPError_t getNameSpaceIndex (const char *szNS, uint8_t &outNSIndex)
 

Constructor & Destructor Documentation

◆ flxKVPStore()

flxKVPStore::flxKVPStore ( )
inline

Member Function Documentation

◆ commit()

void flxKVPStore::commit ( void  )
inline

◆ deleteValue()

flxKVPError_t flxKVPStore::deleteValue ( uint8_t  iNS,
const char *  szKey 
)

◆ getNameSpace()

uint8_t flxKVPStore::getNameSpace ( const char *  szNS)

◆ getNameSpaceIndex()

flxKVPError_t flxKVPStore::getNameSpaceIndex ( const char *  szNS,
uint8_t &  outNSIndex 
)
protected

◆ getValue() [1/3]

flxKVPError_t flxKVPStore::getValue ( uint8_t  iNS,
const char *  szKey,
char *  value,
size_t  len 
)
inline

◆ getValue() [2/3]

template<typename T >
flxKVPError_t flxKVPStore::getValue ( uint8_t  iNS,
const char *  szKey,
T &  value 
)
inline

◆ getValue() [3/3]

flxKVPError_t flxKVPStore::getValue ( uint8_t  iNS,
const char *  szKey,
void *  value,
size_t  len 
)
inline

◆ initialize()

flxKVPError_t flxKVPStore::initialize ( void  )

◆ keyExists()

bool flxKVPStore::keyExists ( uint8_t  iNS,
const char *  szKey 
)

◆ reset()

void flxKVPStore::reset ( void  )

◆ setStorageDevice() [1/2]

void flxKVPStore::setStorageDevice ( flxKVPStoreDevice device)
inline

◆ setStorageDevice() [2/2]

void flxKVPStore::setStorageDevice ( flxKVPStoreDevice device)
inline

◆ setValue() [1/4]

flxKVPError_t flxKVPStore::setValue ( uint8_t  iNS,
const char *  szKey,
char *  value 
)
inline

◆ setValue() [2/4]

flxKVPError_t flxKVPStore::setValue ( uint8_t  iNS,
const char *  szKey,
const char *  value 
)
inline

◆ setValue() [3/4]

flxKVPError_t flxKVPStore::setValue ( uint8_t  iNS,
const char *  szKey,
const void *  value,
size_t  valueSize 
)
inline

◆ setValue() [4/4]

template<typename T >
flxKVPError_t flxKVPStore::setValue ( uint8_t  iNS,
const char *  szKey,
T &  value 
)
inline

Member Data Documentation

◆ kNullPage

constexpr int16_t flxKVPStore::kNullPage = -1
staticconstexpr

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