CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 {
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
list path
Definition: scaleCards.py:51
const boost::filesystem::path operator()(const std::string &name)