Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
FWCore
Utilities
interface
GetEnvironmentVariable.h
Go to the documentation of this file.
1
#ifndef Utilities_GetEnvironmentVariable_h
2
#define Utilities_GetEnvironmentVariable_h
3
4
#include <cstdlib>
5
#include <string>
6
7
namespace
edm {
8
inline
9
std::string
getEnvironmentVariable
(
std::string
const
&
name
,
std::string
const
& defaultValue =
std::string
()) {
10
char
*
p
= ::getenv(name.c_str());
11
return
(p ?
std::string
(p) : defaultValue);
12
}
13
}
14
#endif
mergeVDriftHistosByStation.name
string name
Definition:
mergeVDriftHistosByStation.py:77
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:255
AlCaHLTBitMon_ParallelJobs.p
tuple p
Definition:
AlCaHLTBitMon_ParallelJobs.py:152
edm::getEnvironmentVariable
std::string getEnvironmentVariable(std::string const &name, std::string const &defaultValue=std::string())
Definition:
GetEnvironmentVariable.h:9
Generated for CMSSW Reference Manual by
1.8.5