libzypp 17.32.2
|
Base class for KVMaps, (key,value) pairs. More...
#include <kvmap.h>
Classes | |
struct | CharSep |
KVMapPolicy for KVMaps using a single char as separator (e.g. More... | |
Public Types | |
using | map_type = std::map<std::string, std::string> |
(key,value) map type | |
Public Member Functions | |
KVMapBase () | |
KVMapBase (const map_type &kvmap_r) | |
bool | has (const std::string &key_r) const |
Test whether key is set. | |
Static Public Member Functions | |
static map_type | split (const std::string &str_r, const KVMapPolicy &opts_r) |
Split str_r into (key,value) map, using the separators defined by opts_r. | |
static std::string | join (const map_type &kvmap_r, const KVMapPolicy &opts_r) |
Join (key,value) map into string, using the separators defined by opts_r. | |
using zypp::kvmap::KVMapBase::map_type = std::map<std::string, std::string> |
|
inline |
|
inline |
|
inlinestatic |
|
inlinestatic |