Lamp-Da 0.1
A compact lantern project
Loading...
Searching...
No Matches
Classes | Namespaces | Functions
keystore.hpp File Reference

Filesystem interaction tools. More...

Go to the source code of this file.

Namespaces

namespace  lampda
 Program scope.
 
namespace  lampda::modes
 Contains basic interface types to implement custom user modes.
 
namespace  lampda::modes::store
 Mode key store interface, see ContextTy::KeyProxy.
 

Functions

template<int16_t N>
static void LMBD_INLINE lampda::modes::store::setValue (const char(&key)[N], uint32_t value)
 Set value for named key and read in in out.
 
template<int16_t N>
static bool LMBD_INLINE lampda::modes::store::getValue (const char(&key)[N], uint32_t &out)
 Get value for named key and write it in out.
 
static void lampda::modes::store::clear_stored ()
 Force clear the stored parameters.
 
static void LMBD_INLINE lampda::modes::store::migrateIfNeeded ()
 Check for migration and erase all values if needed IT WILL ERASE THE WHOLE MEMORY, EVENT STATISTICS.
 

Detailed Description

Filesystem interaction tools.