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

◆ cachefileName()

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

Definition at line 47 of file standard.cc.

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

References castor_dqm_sourceclient_file_cfg::path.

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

◆ config()

PluginManager::Config edmplugin::standard::config ( )

Definition at line 21 of file standard.cc.

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  }

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_().

◆ pluginPrefix()

const std::string & edmplugin::standard::pluginPrefix ( )

Definition at line 57 of file standard.cc.

57  {
58  static const std::string s_prefix("plugin");
59  return s_prefix;
60  }

References AlCaHLTBitMon_QueryRunRegistry::string.

Referenced by main().

◆ poisonedCachefileName()

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

Definition at line 52 of file standard.cc.

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

References castor_dqm_sourceclient_file_cfg::path.

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

mps_fire.i
i
Definition: mps_fire.py:355
dqmdumpme.last
last
Definition: dqmdumpme.py:56
trigger::size_type
uint16_t size_type
Definition: TriggerTypeDefs.h:18
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
Skims_PA_cff.paths
paths
Definition: Skims_PA_cff.py:18
castor_dqm_sourceclient_file_cfg.path
path
Definition: castor_dqm_sourceclient_file_cfg.py:37
helper.Config
Config
Definition: helper.py:10