Class jac::KeyValueNamespace
ClassList > jac > KeyValueNamespace
Public Types
Type | Name |
---|---|
enum uint8_t | DataType |
Public Functions
Type | Name |
---|---|
KeyValueNamespace () |
|
virtual bool | commit () = 0 |
virtual bool | erase (const std::string & name) = 0 |
bool | exists (const std::string & name) |
virtual float | getFloat (const std::string & name, float def_value=0.f) = 0 |
virtual int64_t | getInt (const std::string & name, int64_t def_value=0) = 0 |
virtual std::string | getString (const std::string & name, std::string def_value="") = 0 |
virtual DataType | getType (const std::string & name) = 0 |
virtual void | setFloat (const std::string & name, float value) = 0 |
virtual void | setInt (const std::string & name, int64_t value) = 0 |
virtual void | setString (const std::string & name, const std::string & value) = 0 |
virtual | ~KeyValueNamespace () |
Public Types Documentation
enum DataType
Public Functions Documentation
function KeyValueNamespace [2/2]
function commit
function erase
function exists
function getFloat
virtual float jac::KeyValueNamespace::getFloat (
const std::string & name,
float def_value=0.f
) = 0
function getInt
virtual int64_t jac::KeyValueNamespace::getInt (
const std::string & name,
int64_t def_value=0
) = 0
function getString
virtual std::string jac::KeyValueNamespace::getString (
const std::string & name,
std::string def_value=""
) = 0
function getType
function setFloat
function setInt
function setString
virtual void jac::KeyValueNamespace::setString (
const std::string & name,
const std::string & value
) = 0
function ~KeyValueNamespace
The documentation for this class was generated from the following file src/jac/device/keyvalue.h