#include <KVMap.h>
Inheritance diagram for _KVMap:
Public Types | |
typedef std::map< std::string, std::string > | map_type |
Public Member Functions | |
_KVMap () | |
_KVMap (const map_type &kvmap_r) | |
bool | has (const std::string &key_r) const |
Static Public Member Functions | |
static map_type | split (const std::string &str_r, const Options &opts_r) |
static std::string | join (const map_type &kvmap_r, const Options &opts_r) |
Classes | |
struct | CharSep |
Options for KVMaps using a single char as separator (e.g. mount options). More... | |
struct | Options |
Options for conversion of KVMaps to/from string. More... |
|
(key,value) map type |
|
|
|
|
|
Test whether key is set. |
|
Join (key,value) map into string, using the separators defined by opts_r. |
|
Split str_r into (key,value) map, using the separators defined by opts_r. |