VideoTools
|
An adaptor for reading a const map<string,string> with at(key). More...
#include <gstrings.h>
Public Member Functions | |
StringMapReader (const StringMap &map_) | |
Implicit constructor. | |
const std::string & | at (const std::string &key) const |
Returns the value from the map, or throws. | |
const std::string & | at (const std::string &key, const std::string &default_) const |
Returns the value from the map, or the default. | |
StringArray | keys (unsigned int limit=0U, const char *elipsis=nullptr) const |
Returns a list of the keys in the map (optionally up to some limit). | |
An adaptor for reading a const map<string,string> with at(key).
Definition at line 45 of file gstrings.h.