libzypp
13.10.6
|
A map of (key,value) strings. More...
#include <KVMap.h>
Public Member Functions | |
KVMap () | |
KVMap (const char *str_r) | |
KVMap (const std::string &str_r) | |
KVMap (const map_type &map_r) | |
~KVMap () | |
std::string | asString () const |
Public Member Functions inherited from zypp::kvmap::KVMapBase | |
KVMapBase () | |
KVMapBase (const map_type &kvmap_r) | |
bool | has (const std::string &key_r) const |
Test whether key is set. More... | |
Additional Inherited Members | |
Public Types inherited from zypp::kvmap::KVMapBase | |
typedef std::map< std::string, std::string > | map_type |
(key,value) map type More... | |
Static Public Member Functions inherited from zypp::kvmap::KVMapBase | |
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. More... | |
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. More... | |
A map of (key,value) strings.
The template argument defines the kvmap::Options for split and join.
E.g. mount options (a comma separated list of key[=value] pairs) could be handled by KVMap<kvmap::KVMapBase::Comma>.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |