#include <map>
#include <string>
Go to the source code of this file.
Defines | |
#define | _generic_h_ |
Functions | |
std::string | get_from_multimap (std::multimap< string, string > &mymap, std::string key) |
std::string get_from_multimap | ( | std::multimap< string, string > & | mymap, |
std::string | key | ||
) |
Definition at line 7 of file generic.h.
Referenced by WebInterface::Configure(), WebInterface::ContentsOpen(), WebInterface::DrawGif(), WebInterface::handleStandardRequest(), and WebInterface::Open().
{ std::multimap<std::string, std::string>::iterator it; it = mymap.find(key); if (it != mymap.end()) { return (it->second); } return ""; }