Go to the documentation of this file. 1 #ifndef cetlib_ProvideFilePathMacro_h 2 #define cetlib_ProvideFilePathMacro_h 10 #include "boost/filesystem.hpp" 15 namespace bfs = boost::filesystem;
17 #define CET_PROVIDE_FILE_PATH() \ 18 EXTERN_C_FUNC_DECLARE_START \ 19 std::string get_source_location() \ 21 bfs::path const p{__FILE__}; \ 22 return bfs::complete(p).native(); \ 24 EXTERN_C_FUNC_DECLARE_END