CMS 3D CMS Logo

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

Functions

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

Function Documentation

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

Definition at line 47 of file standard.cc.

References fed_dqm_sourceclient-live_cfg::path.

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

47  {
48  static const std::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, fed_dqm_sourceclient-live_cfg::path, mergeAndRegister::paths, edmplugin::PluginManager::Config::searchPath(), and AlCaHLTBitMon_QueryRunRegistry::string.

Referenced by FWLiteEnabler::enable(), edm::storage::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
tuple last
Definition: dqmdumpme.py:56
tuple 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 std::filesystem::path & edmplugin::standard::poisonedCachefileName ( )

Definition at line 52 of file standard.cc.

References fed_dqm_sourceclient-live_cfg::path.

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

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