test
Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
CondCore
ORA
interface
SharedLibraryName.h
Go to the documentation of this file.
1
#ifndef INCLUDE_ORA_SHAREDLIBRARYNAME_H
2
#define INCLUDE_ORA_SHAREDLIBRARYNAME_H
3
#include <string>
4
#include <boost/filesystem/path.hpp>
5
6
namespace
ora {
13
struct
SharedLibraryName
{
14
const
boost::filesystem::path
operator ()
(
const
std::string
&
name
){
15
#ifdef _WIN32
16
return
boost::filesystem::path
(name +
".dll"
);
17
#elif defined __DARWIN
18
return
boost::filesystem::path
(
"lib"
+ name +
".dylib"
);
19
#elif defined __hpux
20
return
boost::filesystem::path
(
"lib"
+ name +
".sl"
);
21
#else
22
return
boost::filesystem::path
(
"lib"
+ name +
".so"
);
23
#endif
24
}
25
};
26
}
27
#endif
mergeVDriftHistosByStation.name
string name
Definition:
mergeVDriftHistosByStation.py:77
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:255
ora::SharedLibraryName::operator()
const boost::filesystem::path operator()(const std::string &name)
Definition:
SharedLibraryName.h:14
fed_dqm_sourceclient-live_cfg.path
string path
Definition:
fed_dqm_sourceclient-live_cfg.py:33
ora::SharedLibraryName
Definition:
SharedLibraryName.h:13
Generated for CMSSW Reference Manual by
1.8.5