|
| static std::string | getString (const map_t &map, const char *key) |
| | Get a string value from the map, throwing if the key is not present. More...
|
| |
| static std::string | getString (const map_t &map, const char *key, const char *defaultValue) |
| | Get a string value from the map, returning the given default if the key is not present. More...
|
| |
| static std::string | getString (const map_t &map, const std::string &key) |
| | Get a string value from the map, throwing if the key is not present. More...
|
| |
| static std::string | getString (const map_t &map, const std::string &key, const std::string &defaultValue) |
| | Get a string value from the map, returning the given default if the key is not present. More...
|
| |
| static int64_t | getInteger (const map_t &map, const char *key) |
| | Get an integer value from the map, throwing if the key is not present. More...
|
| |
| static int64_t | getInteger (const map_t &map, const char *key, int64_t defaultValue) |
| | Get an integer value from the map, returning the given default if the key is not present. More...
|
| |
| static int64_t | getInteger (const map_t &map, const std::string &key) |
| | Get an integer value from the map, throwing if the key is not present. More...
|
| |
| static int64_t | getInteger (const map_t &map, const std::string &key, int64_t defaultValue) |
| | Get an integer value from the map, returning the given default if the key is not present. More...
|
| |
| static double | getDouble (const map_t &map, const char *key) |
| | Get a double value from the map, throwing if the key is not present. More...
|
| |
| static double | getDouble (const map_t &map, const char *key, double defaultValue) |
| | Get a double value from the map, returning the given default if the key is not present. More...
|
| |
| static double | getDouble (const map_t &map, const std::string &key) |
| | Get a double value from the map, throwing if the key is not present. More...
|
| |
| static double | getDouble (const map_t &map, const std::string &key, double defaultValue) |
| | Get a double value from the map, returning the given default if the key is not present. More...
|
| |
| static bool | getBoolean (const map_t &map, const char *key) |
| | Get a boolean value from the map, throwing if the key is not present. More...
|
| |
| static bool | getBoolean (const map_t &map, const char *key, bool defaultValue) |
| | Get a boolean value from the map, returning the given default if the key is not present. More...
|
| |
| static bool | getBoolean (const map_t &map, const std::string &key) |
| | Get a boolean value from the map, throwing if the key is not present. More...
|
| |
| static bool | getBoolean (const map_t &map, const std::string &key, bool defaultValue) |
| | Get a boolean value from the map, returning the given default if the key is not present. More...
|
| |
| static const map_t & | getMap (const map_t &map, const char *key) |
| | Get a map value from the map, throwing if the key is not present. More...
|
| |
| static const map_t & | getMap (const map_t &map, const char *key, const map_t &defaultValue) |
| | Get a map value from the map, returning the given default if the key is not present. More...
|
| |
| static const map_t & | getMap (const map_t &map, const std::string &key) |
| | Get a map value from the map, throwing if the key is not present. More...
|
| |
| static const map_t & | getMap (const map_t &map, const std::string &key, const map_t &defaultValue) |
| | Get a map value from the map, returning the given default if the key is not present. More...
|
| |
| static const list_t & | getList (const map_t &map, const char *key) |
| | Get a list value from the map, throwing if the key is not present. More...
|
| |
| static const list_t & | getList (const map_t &map, const char *key, const list_t &defaultValue) |
| | Get a list value from the map, returning the given default if the key is not present. More...
|
| |
| static const list_t & | getList (const map_t &map, const std::string &key) |
| | Get a list value from the map, throwing if the key is not present. More...
|
| |
| static const list_t & | getList (const map_t &map, const std::string &key, const list_t &defaultValue) |
| | Get a list value from the map, returning the given default if the key is not present. More...
|
| |
Helper class for extracting values from a string->data_t map_t in a type-safe way with error checking and support for defalut values.
It can be used by plugins for extracting values from both configuration and message payloads.