31bool get_value(
const uint32_t key, uint32_t& value);
37void set_value(
const uint32_t key,
const uint32_t value);
47uint32_t
dropMatchingKeys(
const uint32_t bitMatch,
const uint32_t bitSelect = 0xffffffff);
80bool get_value(
const uint32_t key, uint32_t& value);
86void set_value(
const uint32_t key,
const uint32_t value);
96uint32_t
dropMatchingKeys(
const uint32_t bitMatch,
const uint32_t bitSelect = 0xffffffff);
uint32_t dropMatchingKeys(const uint32_t bitMatch, const uint32_t bitSelect)
Drop all keys using the given bit prefix.
Definition: filesystem.cpp:212
bool load_from_file()
Load system values from memory.
Definition: filesystem.cpp:251
bool get_value(const uint32_t key, uint32_t &value)
Check and return a value stored in a filesystem.
Definition: filesystem.cpp:193
void write_to_file()
Write the system parameters to a file.
Definition: filesystem.cpp:240
void set_value(const uint32_t key, const uint32_t value)
Store a key/value in the filesystem.
Definition: filesystem.cpp:210
bool format()
Delete the system file (Should not be used)
Definition: filesystem.cpp:253
bool doKeyExists(const uint32_t key)
Return true if the given key exists in the filesystem.
Definition: filesystem.cpp:191
void clear_cached()
clear the stored values in the currently loaded file system.
Definition: filesystem.cpp:238
bool format()
Delete the user file.
Definition: filesystem.cpp:338
bool doKeyExists(const uint32_t key)
Return true if the given key exists in the filesystem.
Definition: filesystem.cpp:270
uint32_t dropMatchingKeys(const uint32_t bitMatch, const uint32_t bitSelect)
Drop all keys using the given bit prefix.
Definition: filesystem.cpp:291
void write_to_file()
Write the user parameters to a file.
Definition: filesystem.cpp:323
bool get_value(const uint32_t key, uint32_t &value)
Check and return a value stored in a filesystem.
Definition: filesystem.cpp:272
bool load_from_file()
Load user values from memory.
Definition: filesystem.cpp:336
void set_value(const uint32_t key, const uint32_t value)
Store a key/value in the filesystem.
Definition: filesystem.cpp:289
void clear_cached()
clear the stored values in the currently loaded file system.
Definition: filesystem.cpp:317
void clear_internal_fs()
hard clean of the whole filesystem, you will loose all stored data.
Definition: filesystem.cpp:48
void shutdown()
call once on program stop.
Definition: filesystem.cpp:46
Program scope.
Definition: control_fixed_modes.hpp:12