Logic_library
Library for Logic board by RoboticsBrno.
Loading...
Searching...
No Matches
Public Member Functions | List of all members
Nvs Class Reference

#include <Nvs.hpp>

Public Member Functions

 Nvs (const char *name_space, const char *partition="nvs")
 
 ~Nvs ()
 
 Nvs (const Nvs &)=delete
 
bool existsInt (const char *key)
 
std::int32_t getInt (const char *key)
 
void writeInt (const char *key, std::int32_t value)
 
bool existsString (const char *key)
 
std::string getString (const char *key)
 
void writeString (const char *key, const std::string &value)
 
void commit ()
 

Constructor & Destructor Documentation

◆ Nvs() [1/2]

Nvs::Nvs ( const char *  name_space,
const char *  partition = "nvs" 
)

◆ ~Nvs()

Nvs::~Nvs ( )

◆ Nvs() [2/2]

Nvs::Nvs ( const Nvs )
delete

Member Function Documentation

◆ commit()

void Nvs::commit ( )

◆ existsInt()

bool Nvs::existsInt ( const char *  key)

◆ existsString()

bool Nvs::existsString ( const char *  key)

◆ getInt()

std::int32_t Nvs::getInt ( const char *  key)

◆ getString()

std::string Nvs::getString ( const char *  key)

◆ writeInt()

void Nvs::writeInt ( const char *  key,
std::int32_t  value 
)

◆ writeString()

void Nvs::writeString ( const char *  key,
const std::string &  value 
)

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