src
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
std::string
getEnvironmentVariable
(
std::string
const
&
name
,
std::string
const
&
defaultValue
=
std::string
()) {
9
char
*
p
= std::getenv(
name
.c_str());
10
return
(
p
?
std::string
(
p
) :
defaultValue
);
11
}
12
}
// namespace edm
13
#endif
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
mergeVDriftHistosByStation.name
name
Definition:
mergeVDriftHistosByStation.py:78
hltPixelClustersMultiplicity_cfi.defaultValue
defaultValue
Definition:
hltPixelClustersMultiplicity_cfi.py:4
edm
HLT enums.
Definition:
AlignableModifier.h:19
edm::getEnvironmentVariable
std::string getEnvironmentVariable(std::string const &name, std::string const &defaultValue=std::string())
Definition:
GetEnvironmentVariable.h:8
AlCaHLTBitMon_ParallelJobs.p
def p
Definition:
AlCaHLTBitMon_ParallelJobs.py:153
Generated for CMSSW Reference Manual by
1.8.14