Preferences¶
詳細情報¶
メンバー¶
Preferences()¶
Preferences::Preferences()
~Preferences()¶
Preferences::~Preferences()
begin()¶
bool Preferences::begin(const char *name, bool readOnly=false)
引数
- constchar *
name
- bool
readOnly
戻り値
bool
end()¶
void Preferences::end()
clear()¶
bool Preferences::clear()
戻り値
bool
remove()¶
bool Preferences::remove(const char *key)
引数
- constchar *
key
戻り値
bool
putChar()¶
size_t Preferences::putChar(const char *key, int8_t value)
引数
- constchar *
key
- int8_t
value
戻り値
size_t
putUChar()¶
size_t Preferences::putUChar(const char *key, uint8_t value)
引数
- constchar *
key
- uint8_t
value
戻り値
size_t
putShort()¶
size_t Preferences::putShort(const char *key, int16_t value)
引数
- constchar *
key
- int16_t
value
戻り値
size_t
putUShort()¶
size_t Preferences::putUShort(const char *key, uint16_t value)
引数
- constchar *
key
- uint16_t
value
戻り値
size_t
putInt()¶
size_t Preferences::putInt(const char *key, int32_t value)
引数
- constchar *
key
- int32_t
value
戻り値
size_t
putUInt()¶
size_t Preferences::putUInt(const char *key, uint32_t value)
引数
- constchar *
key
- uint32_t
value
戻り値
size_t
putLong()¶
size_t Preferences::putLong(const char *key, int32_t value)
引数
- constchar *
key
- int32_t
value
戻り値
size_t
putULong()¶
size_t Preferences::putULong(const char *key, uint32_t value)
引数
- constchar *
key
- uint32_t
value
戻り値
size_t
putLong64()¶
size_t Preferences::putLong64(const char *key, int64_t value)
引数
- constchar *
key
- int64_t
value
戻り値
size_t
putULong64()¶
size_t Preferences::putULong64(const char *key, uint64_t value)
引数
- constchar *
key
- uint64_t
value
戻り値
size_t
putFloat()¶
size_t Preferences::putFloat(const char *key, float_t value)
引数
- constchar *
key
- float_t
value
戻り値
size_t
putDouble()¶
size_t Preferences::putDouble(const char *key, double_t value)
引数
- constchar *
key
- double_t
value
戻り値
size_t
putBool()¶
size_t Preferences::putBool(const char *key, bool value)
引数
- constchar *
key
- bool
value
戻り値
size_t
putString()¶
size_t Preferences::putString(const char *key, const char *value)
引数
- constchar *
key
- constchar *
value
戻り値
size_t
putString()¶
size_t Preferences::putString(const char *key, String value)
引数
- constchar *
key
- String
value
戻り値
size_t
putBytes()¶
size_t Preferences::putBytes(const char *key, const void *value, size_t len)
引数
- constchar *
key
- constvoid *
value
- size_t
len
戻り値
size_t
getChar()¶
int8_t Preferences::getChar(const char *key, int8_t defaultValue=0)
引数
- constchar *
key
- int8_t
defaultValue
戻り値
int8_t
getUChar()¶
uint8_t Preferences::getUChar(const char *key, uint8_t defaultValue=0)
引数
- constchar *
key
- uint8_t
defaultValue
戻り値
uint8_t
getShort()¶
int16_t Preferences::getShort(const char *key, int16_t defaultValue=0)
引数
- constchar *
key
- int16_t
defaultValue
戻り値
int16_t
getUShort()¶
uint16_t Preferences::getUShort(const char *key, uint16_t defaultValue=0)
引数
- constchar *
key
- uint16_t
defaultValue
戻り値
uint16_t
getInt()¶
int32_t Preferences::getInt(const char *key, int32_t defaultValue=0)
引数
- constchar *
key
- int32_t
defaultValue
戻り値
int32_t
getUInt()¶
uint32_t Preferences::getUInt(const char *key, uint32_t defaultValue=0)
引数
- constchar *
key
- uint32_t
defaultValue
戻り値
uint32_t
getLong()¶
int32_t Preferences::getLong(const char *key, int32_t defaultValue=0)
引数
- constchar *
key
- int32_t
defaultValue
戻り値
int32_t
getULong()¶
uint32_t Preferences::getULong(const char *key, uint32_t defaultValue=0)
引数
- constchar *
key
- uint32_t
defaultValue
戻り値
uint32_t
getLong64()¶
int64_t Preferences::getLong64(const char *key, int64_t defaultValue=0)
引数
- constchar *
key
- int64_t
defaultValue
戻り値
int64_t
getULong64()¶
uint64_t Preferences::getULong64(const char *key, uint64_t defaultValue=0)
引数
- constchar *
key
- uint64_t
defaultValue
戻り値
uint64_t
getFloat()¶
float_t Preferences::getFloat(const char *key, float_t defaultValue=NAN)
引数
- constchar *
key
- float_t
defaultValue
戻り値
float_t
getDouble()¶
double_t Preferences::getDouble(const char *key, double_t defaultValue=NAN)
引数
- constchar *
key
- double_t
defaultValue
戻り値
double_t
getBool()¶
bool Preferences::getBool(const char *key, bool defaultValue=false)
引数
- constchar *
key
- bool
defaultValue
戻り値
bool
getString()¶
size_t Preferences::getString(const char *key, char *value, size_t maxLen)
引数
- constchar *
key
- char *
value
- size_t
maxLen
戻り値
size_t
getString()¶
String Preferences::getString(const char *key, String defaultValue=String())
引数
- constchar *
key
- String
defaultValue
戻り値
String
getBytesLength()¶
size_t Preferences::getBytesLength(const char *key)
引数
- constchar *
key
戻り値
size_t
getBytes()¶
size_t Preferences::getBytes(const char *key, void *buf, size_t maxLen)
引数
- constchar *
key
- void *
buf
- size_t
maxLen
戻り値
size_t
freeEntries()¶
size_t Preferences::freeEntries()
戻り値
size_t