cargo KVStore interface
More...
|
template<class Cargo > |
void | cargo::loadFromKVStore (const std::string &filename, Cargo &visitable, const std::string &visitableName) |
| Loads a visitable structure from KVStore. More...
|
|
template<class Cargo > |
void | cargo::saveToKVStore (const std::string &filename, const Cargo &visitable, const std::string &visitableName) |
| Saves the visitable to a KVStore. More...
|
|
cargo KVStore interface
template<class Cargo >
void cargo::loadFromKVStore |
( |
const std::string & |
filename, |
|
|
Cargo & |
visitable, |
|
|
const std::string & |
visitableName |
|
) |
| |
Loads a visitable structure from KVStore.
- Parameters
-
filename | path to the KVStore db |
visitable | visitable structure to load |
visitableName | name of the structure inside the KVStore db |
template<class Cargo >
void cargo::saveToKVStore |
( |
const std::string & |
filename, |
|
|
const Cargo & |
visitable, |
|
|
const std::string & |
visitableName |
|
) |
| |
Saves the visitable to a KVStore.
- Parameters
-
filename | path to the KVStore db |
visitable | visitable structure to save |
visitableName | name of the structure inside the KVStore db |