RBControl
Library for the RB3201-RBControl board with the ESP32 by RoboticsBrno.
Public Member Functions | List of all members
rb::Nvs Class Reference

#include <RBControl_nvs.hpp>

Public Member Functions

 Nvs (const char *name_space, const char *partition="nvs")
 
 ~Nvs ()
 
 Nvs (const Nvs &)=delete
 
bool existsInt (const char *key)
 
int getInt (const char *key)
 
void writeInt (const char *key, int 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]

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

◆ ~Nvs()

rb::Nvs::~Nvs ( )

◆ Nvs() [2/2]

rb::Nvs::Nvs ( const Nvs )
delete

Member Function Documentation

◆ commit()

void rb::Nvs::commit ( )

◆ existsInt()

bool rb::Nvs::existsInt ( const char *  key)

◆ existsString()

bool rb::Nvs::existsString ( const char *  key)

◆ getInt()

int rb::Nvs::getInt ( const char *  key)

◆ getString()

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

◆ writeInt()

void rb::Nvs::writeInt ( const char *  key,
int  value 
)

◆ writeString()

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

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