CMS 3D CMS Logo

Functions
edmplugin::standard Namespace Reference

Functions

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

Function Documentation

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

Definition at line 47 of file standard.cc.

References callgraph::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 mps_fire::i, plotBeamSpotDB::last, callgraph::path, edmplugin::PluginManager::Config::searchPath(), and AlCaHLTBitMon_QueryRunRegistry::string.

Referenced by FWLiteEnabler::enable(), StorageFactory::getMaker(), main(), edm::ProblemTracker::ProblemTracker(), cond::Utilities::run(), and edm::PluginDescription< T >::writeCfi_().

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  }
uint16_t size_type
const std::string & edmplugin::standard::pluginPrefix ( )

Definition at line 58 of file standard.cc.

References AlCaHLTBitMon_QueryRunRegistry::string.

Referenced by main().

58  {
59  static const std::string s_prefix("plugin");
60  return s_prefix;
61  }
const boost::filesystem::path & edmplugin::standard::poisonedCachefileName ( )

Definition at line 52 of file standard.cc.

References callgraph::path.

Referenced by edmplugin::PluginManager::PluginManager().

52  {
53  static const boost::filesystem::path s_path(".poisonededmplugincache");
54  return s_path;
55  }