#include <KVMap.h>
Public Types | |
| typedef std::map < std::string, std::string > | map_type |
| (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. | |
Classes | |
| struct | CharSep |
Definition at line 84 of file KVMap.h.
| typedef std::map<std::string,std::string> zypp::kvmap::KVMapBase::map_type |
| zypp::kvmap::KVMapBase::KVMapBase | ( | const map_type & | kvmap_r | ) | [inline] |
| bool zypp::kvmap::KVMapBase::has | ( | const std::string & | key_r | ) | const [inline] |
| static map_type zypp::kvmap::KVMapBase::split | ( | const std::string & | str_r, | |
| const KVMapPolicy & | opts_r | |||
| ) | [inline, static] |
Split str_r into (key,value) map, using the separators defined by opts_r.
Definition at line 116 of file KVMap.h.
References zypp::kvmap::KVMapPolicy::_fsplit, zypp::kvmap::KVMapPolicy::_kvsplit, and zypp::url::split().
| static std::string zypp::kvmap::KVMapBase::join | ( | const map_type & | kvmap_r, | |
| const KVMapPolicy & | opts_r | |||
| ) | [inline, static] |
Join (key,value) map into string, using the separators defined by opts_r.
Definition at line 138 of file KVMap.h.
References zypp::kvmap::KVMapPolicy::_fjoin, and zypp::kvmap::KVMapPolicy::_kvjoin.
Referenced by zypp::KVMap< KVMapOpts >::asString().
1.5.3