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