49 typedef std::map<std::string,std::string>
StringMap ;
56 class StringMapReader ;
68 const std::string &
at(
const std::string & key )
const ;
71 const std::string &
at(
const std::string & key ,
const std::string & default_ )
const ;
74 Strings keys(
unsigned int limit = 0U ,
const char * elipsis = NULL )
const ;
StringMapReader(const StringMap &map_)
Implicit constructor.
An adaptor for reading a const StringMap with at().
std::list< std::string > Strings
A std::list of std::strings.
std::vector< std::string > StringArray
A std::vector of std::strings.
Strings keys(unsigned int limit=0U, const char *elipsis=NULL) const
Returns a list of keys (optionally up to some limit).
const std::string & at(const std::string &key) const
Returns the value, or throws.
std::map< std::string, std::string > StringMap
A std::map of std::strings.