1 #ifndef cetlib_LibraryManager_h 2 #define cetlib_LibraryManager_h 94 template <
class OutIter>
100 template <
class OutIter>
105 template <
class OutIter>
153 bool should_throw_on_dlsym =
true)
const;
156 bool should_throw_on_dlsym =
true)
const;
178 template <
typename T>
186 template <
typename T>
195 template <
typename T>
203 template <
typename T>
212 template <
class OutIter>
218 *dest++ = lib_loc.second;
225 template <
typename T>
234 template <
typename T>
244 template <
typename T>
253 template <
typename T>
263 template <
class OutIter>
269 *dest++ = lib_ptr.first;
275 template <
class OutIter>
281 *dest++ = spec_trans.first;
PTR_T hard_cast(void *src)
std::map< std::string, std::string > lib_loc_map_t
T getSymbolByPath(std::string const &lib_loc, std::string const &sym_name) const
void spec_trans_map_inserter(lib_loc_map_t::value_type const &entry)
size_t getLoadedLibraries(std::vector< std::string > &list) const
size_t getValidLibspecs(std::vector< std::string > &list) const
void * getSymbolByLibspec_(std::string const &libspec, std::string const &sym_name, bool should_throw_on_dlsym=true) const
bool libraryIsLoadable(std::string const &path) const
void * getSymbolByPath_(std::string const &lib_loc, std::string const &sym_name, bool should_throw_on_dlsym=true) const
void lib_loc_map_inserter(std::string const &path)
LibraryManager(cet::search_path search_path, std::string lib_type)
cet::search_path const search_path_
std::string const pattern_stem_
std::map< std::string, void * > lib_ptr_map_t
std::string shlib_suffix()
static std::string dllExtPattern()
T getSymbolByLibspec(std::string const &libspec, std::string const &sym_name) const
std::string patternStem() const
std::map< std::string, std::string > good_spec_trans_map_t
spec_trans_map_t spec_trans_map_
std::pair< std::string, std::string > getSpecsByPath(std::string const &lib_loc) const
good_spec_trans_map_t good_spec_trans_map_
size_t getLoadableLibraries(std::vector< std::string > &list) const
static struct cet::LibraryManager::nothrow_t nothrow
void loadAllLibraries() const
void good_spec_trans_map_inserter(spec_trans_map_t::value_type const &entry)
bool libraryIsLoaded(std::string const &path) const
lib_ptr_map_t lib_ptr_map_
std::map< std::string, std::set< std::string >> spec_trans_map_t
void * get_lib_ptr(std::string const &lib_loc) const
std::string const lib_type_
lib_loc_map_t lib_loc_map_
std::string libType() const