CMS 3D CMS Logo

edm::root Namespace Reference


Classes

class  FWLiteDelayedReader
struct  TFWLiteSelectorMembers

Functions

std::string stdNamespaceAdder (const std::string &iClassName)


Function Documentation

std::string edm::root::stdNamespaceAdder ( const std::string &  iClassName  ) 

Definition at line 26 of file stdNamespaceAdder.cc.

References e.

Referenced by edm::loadLibraryForClass().

00027     {
00028       //adds the std:: prefix to vector, string, map, list or deque if it is not
00029       // already there
00030       static const boost::regex e("(^|[^[:alnum:]_:])((?:vector)|(?:string)|(?:map)|(?:list)|(?:deque))");
00031       const std::string format("\\1std::\\2");
00032       
00033       return regex_replace(iClassName, e, format, boost::match_default | boost::format_sed);
00034     }


Generated on Tue Jun 9 18:46:27 2009 for CMSSW by  doxygen 1.5.4