CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Functions
edmplugin::standard Namespace Reference

Functions

const boost::filesystem::path & cachefileName ()
 
PluginManager::Config config ()
 
const std::string & pluginPrefix ()
 

Function Documentation

const boost::filesystem::path & edmplugin::standard::cachefileName ( )

Definition at line 47 of file standard.cc.

References getHLTPrescaleColumns::path.

Referenced by main(), and edmplugin::PluginManager::PluginManager().

47  {
48  static const boost::filesystem::path s_path(".edmplugincache");
49  return s_path;
50  }
PluginManager::Config edmplugin::standard::config ( )

Definition at line 21 of file standard.cc.

References i, prof2calltree::last, getHLTPrescaleColumns::path, EgammaValidation_cff::paths, edmplugin::PluginManager::Config::searchPath(), and AlCaHLTBitMon_QueryRunRegistry::string.

Referenced by AutoLibraryLoader::enable(), StorageFactory::getMaker(), HcalO2OManager::HcalO2OManager(), cond::Utilities::initializePluginManager(), HPDNoiseLibraryReader::initializeServices(), main(), edm::ProblemTracker::ProblemTracker(), and cond::topinit().

22  {
23  PluginManager::Config returnValue;
24 
25 #ifdef __APPLE__
26  const char *path = getenv ("DYLD_FALLBACK_LIBRARY_PATH");
27 #else
28  const char *path = getenv ("LD_LIBRARY_PATH");
29 #endif
30  if (! path) path = "";
31 
32  std::string spath(path);
35  std::vector<std::string> paths;
36  while( (i=spath.find_first_of(':',last))!=std::string::npos) {
37  paths.push_back(spath.substr(last,i-last));
38  last = i+1;
39  //std::cout <<paths.back()<<std::endl;
40  }
41  paths.push_back(spath.substr(last,std::string::npos));
42  returnValue.searchPath(paths);
43 
44  return returnValue;
45  }
int i
Definition: DBlmapReader.cc:9
uint16_t size_type
const std::string & edmplugin::standard::pluginPrefix ( )

Definition at line 53 of file standard.cc.

References AlCaHLTBitMon_QueryRunRegistry::string.

Referenced by main().

53  {
54  static const std::string s_prefix("plugin");
55  return s_prefix;
56  }