Class IPreferences
Public Functions
Type | Name |
---|---|
IPreferences () |
|
bool | begin (const char * name, bool readOnly=false, const char * partition_label=NULL) |
bool | clear () |
void | end () |
size_t | freeEntries () |
bool | getBool (const char * key, bool defaultValue=false) |
size_t | getBytes (const char * key, void * buf, size_t maxLen) |
size_t | getBytesLength (const char * key) |
int8_t | getChar (const char * key, int8_t defaultValue=0) |
double_t | getDouble (const char * key, double_t defaultValue=NAN) |
float_t | getFloat (const char * key, float_t defaultValue=NAN) |
int32_t | getInt (const char * key, int32_t defaultValue=0) |
int32_t | getLong (const char * key, int32_t defaultValue=0) |
int64_t | getLong64 (const char * key, int64_t defaultValue=0) |
int16_t | getShort (const char * key, int16_t defaultValue=0) |
size_t | getString (const char * key, char * value, size_t maxLen) |
String | getString (const char * key, String defaultValue=String()) |
PreferenceType | getType (const char * key) |
uint8_t | getUChar (const char * key, uint8_t defaultValue=0) |
uint32_t | getUInt (const char * key, uint32_t defaultValue=0) |
uint32_t | getULong (const char * key, uint32_t defaultValue=0) |
uint64_t | getULong64 (const char * key, uint64_t defaultValue=0) |
uint16_t | getUShort (const char * key, uint16_t defaultValue=0) |
bool | isKey (const char * key) |
size_t | putBool (const char * key, bool value) |
size_t | putBytes (const char * key, const void * value, size_t len) |
size_t | putChar (const char * key, int8_t value) |
size_t | putDouble (const char * key, double_t value) |
size_t | putFloat (const char * key, float_t value) |
size_t | putInt (const char * key, int32_t value) |
size_t | putLong (const char * key, int32_t value) |
size_t | putLong64 (const char * key, int64_t value) |
size_t | putShort (const char * key, int16_t value) |
size_t | putString (const char * key, const char * value) |
size_t | putString (const char * key, String value) |
size_t | putUChar (const char * key, uint8_t value) |
size_t | putUInt (const char * key, uint32_t value) |
size_t | putULong (const char * key, uint32_t value) |
size_t | putULong64 (const char * key, uint64_t value) |
size_t | putUShort (const char * key, uint16_t value) |
bool | remove (const char * key) |
~IPreferences () |
Public Functions Documentation
function IPreferences
function begin
bool IPreferences::begin (
const char * name,
bool readOnly=false,
const char * partition_label=NULL
)
function clear
function end
function freeEntries
function getBool
function getBytes
function getBytesLength
function getChar
function getDouble
function getFloat
function getInt
function getLong
function getLong64
function getShort
function getString [1/2]
function getString [2/2]
function getType
function getUChar
function getUInt
function getULong
function getULong64
function getUShort
function isKey
function putBool
function putBytes
function putChar
function putDouble
function putFloat
function putInt
function putLong
function putLong64
function putShort
function putString [1/2]
function putString [2/2]
function putUChar
function putUInt
function putULong
function putULong64
function putUShort
function remove
function ~IPreferences
The documentation for this class was generated from the following file cores/common/arduino/libraries/common/Preferences/Preferences.h