CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
ShmOuputModuleRegistry.cc
Go to the documentation of this file.
3 
4 
5 namespace evf{
6 
8  }
9 
11  {
12  clm_.insert(std::pair<std::string, edm::FUShmOutputModule*>(name,op));
13  }
14 
15 
17  {
18  edm::FUShmOutputModule* retval = 0;
19  idct it= clm_.find(name);
20  if(it!=clm_.end())
21  retval = (it->second);
22  return retval;
23  }
25  idct it= clm_.begin();
26  while(it!=clm_.end()){
27  std::cout << "name " << it->first << "add "
28  << (unsigned long)(it->second) << std::endl;
29  it++;
30  }
31  }
33  {
34  clm_.clear();
35  }
36 
37 
38 } //end namespace evf
ShmOutputModuleRegistry(const edm::ParameterSet &)
edm::FUShmOutputModule * get(std::string &name)
void registerModule(std::string &name, edm::FUShmOutputModule *op)
tuple cout
Definition: gather_cfg.py:41