CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Macros | Functions
generic.h File Reference
#include <map>
#include <string>

Go to the source code of this file.

Macros

#define _generic_h_
 

Functions

std::string get_from_multimap (std::multimap< string, string > &mymap, std::string key)
 

Macro Definition Documentation

#define _generic_h_

Definition at line 2 of file generic.h.

Function Documentation

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().

8 {
9  std::multimap<std::string, std::string>::iterator it;
10  it = mymap.find(key);
11  if (it != mymap.end())
12  {
13  return (it->second);
14  }
15  return "";
16 }
list key
Definition: combine.py:13