cargo SQLite with Json interface
More...
|
template<class Cargo > |
void | cargo::loadFromKVStoreWithJson (const std::string &kvfile, const std::string &json, Cargo &visitable, const std::string &kvVisitableName) |
| Load the visitable from KVStore with defaults given in json. More...
|
|
template<class Cargo > |
void | cargo::loadFromKVStoreWithJsonFile (const std::string &kvfile, const std::string &jsonfile, Cargo &visitable, const std::string &kvVisitableName) |
| Load the data from KVStore with defaults given in json file. More...
|
|
cargo SQLite with Json interface
template<class Cargo >
void cargo::loadFromKVStoreWithJson |
( |
const std::string & |
kvfile, |
|
|
const std::string & |
json, |
|
|
Cargo & |
visitable, |
|
|
const std::string & |
kvVisitableName |
|
) |
| |
Load the visitable from KVStore with defaults given in json.
- Parameters
-
kvfile | path to the KVStore db |
json | path to json file with defaults |
visitable | visitable structure to save |
kvVisitableName | name of the structure inside the KVStore db |
template<class Cargo >
void cargo::loadFromKVStoreWithJsonFile |
( |
const std::string & |
kvfile, |
|
|
const std::string & |
jsonfile, |
|
|
Cargo & |
visitable, |
|
|
const std::string & |
kvVisitableName |
|
) |
| |
Load the data from KVStore with defaults given in json file.
- Parameters
-
kvfile | path to the KVStore db |
jsonfile | path to json file with defaults |
visitable | visitable structure to save |
kvVisitableName | name of the structure inside the KVStore db |