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 48 of file standard.cc.

References scaleCards::path.

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

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

Definition at line 22 of file standard.cc.

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

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

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

Definition at line 54 of file standard.cc.

Referenced by main().

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