#include <to-kvstore-visitor.hpp>
|
| ToKVStoreVisitor (const ToKVStoreVisitor &visitor, const std::string &prefix) |
|
template<typename T , typename std::enable_if< isStreamableOut< T >::value, int >::type = 0> |
void | setInternal (const std::string &name, const T &value) |
|
template<typename T , typename std::enable_if< isVisitable< T >::value, int >::type = 0> |
void | setInternal (const std::string &name, const T &value) |
|
template<typename T , typename std::enable_if< std::is_enum< T >::value, int >::type = 0> |
void | setInternal (const std::string &name, const T &value) |
|
template<typename I > |
void | setRangeInternal (const std::string &name, const I &begin, const I &end, const size_t size) |
|
template<typename T > |
void | setInternal (const std::string &name, const std::vector< T > &values) |
|
template<typename T , std::size_t N> |
void | setInternal (const std::string &name, const std::array< T, N > &values) |
|
template<typename V > |
void | setInternal (const std::string &name, const std::map< std::string, V > &values) |
|
template<typename T > |
void | setInternal (const std::string &name, const std::initializer_list< T > &values) |
|
template<typename T , typename std::enable_if< isLikeTuple< T >::value, int >::type = 0> |
void | setInternal (const std::string &name, const T &values) |
|
cargo::ToKVStoreVisitor::ToKVStoreVisitor |
( |
KVStore & |
store, |
|
|
const std::string & |
prefix |
|
) |
| |
|
inline |
cargo::ToKVStoreVisitor::ToKVStoreVisitor |
( |
const ToKVStoreVisitor & |
visitor, |
|
|
const std::string & |
prefix |
|
) |
| |
|
inlineprivate |
template<typename T , typename std::enable_if< isStreamableOut< T >::value, int >::type = 0>
void cargo::ToKVStoreVisitor::setInternal |
( |
const std::string & |
name, |
|
|
const T & |
value |
|
) |
| |
|
inlineprivate |
template<typename T , typename std::enable_if< isVisitable< T >::value, int >::type = 0>
void cargo::ToKVStoreVisitor::setInternal |
( |
const std::string & |
name, |
|
|
const T & |
value |
|
) |
| |
|
inlineprivate |
template<typename T , typename std::enable_if< std::is_enum< T >::value, int >::type = 0>
void cargo::ToKVStoreVisitor::setInternal |
( |
const std::string & |
name, |
|
|
const T & |
value |
|
) |
| |
|
inlineprivate |
template<typename T >
void cargo::ToKVStoreVisitor::setInternal |
( |
const std::string & |
name, |
|
|
const std::vector< T > & |
values |
|
) |
| |
|
inlineprivate |
template<typename T , std::size_t N>
void cargo::ToKVStoreVisitor::setInternal |
( |
const std::string & |
name, |
|
|
const std::array< T, N > & |
values |
|
) |
| |
|
inlineprivate |
template<typename V >
void cargo::ToKVStoreVisitor::setInternal |
( |
const std::string & |
name, |
|
|
const std::map< std::string, V > & |
values |
|
) |
| |
|
inlineprivate |
template<typename T >
void cargo::ToKVStoreVisitor::setInternal |
( |
const std::string & |
name, |
|
|
const std::initializer_list< T > & |
values |
|
) |
| |
|
inlineprivate |
template<typename T , typename std::enable_if< isLikeTuple< T >::value, int >::type = 0>
void cargo::ToKVStoreVisitor::setInternal |
( |
const std::string & |
name, |
|
|
const T & |
values |
|
) |
| |
|
inlineprivate |
template<typename I >
void cargo::ToKVStoreVisitor::setRangeInternal |
( |
const std::string & |
name, |
|
|
const I & |
begin, |
|
|
const I & |
end, |
|
|
const size_t |
size |
|
) |
| |
|
inlineprivate |
template<typename T >
void cargo::ToKVStoreVisitor::visit |
( |
const std::string & |
name, |
|
|
const T & |
value |
|
) |
| |
|
inline |
std::string cargo::ToKVStoreVisitor::mKeyPrefix |
|
private |
KVStore& cargo::ToKVStoreVisitor::mStore |
|
private |
The documentation for this class was generated from the following file: