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 castor_dqm_sourceclient_file_cfg::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, dqmdumpme::last, castor_dqm_sourceclient_file_cfg::path, Skims_PA_cff::paths, 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_().

21  {
22  PluginManager::Config returnValue;
23 
24 #ifdef __APPLE__
25  const char* path = std::getenv("DYLD_FALLBACK_LIBRARY_PATH");
26 #else
27  const char* path = std::getenv("LD_LIBRARY_PATH");
28 #endif
29  if (!path)
30  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
Config
Definition: helper.py:10
const std::string & edmplugin::standard::pluginPrefix ( )

Definition at line 57 of file standard.cc.

References AlCaHLTBitMon_QueryRunRegistry::string.

Referenced by main().

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

Definition at line 52 of file standard.cc.

References castor_dqm_sourceclient_file_cfg::path.

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

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