9 #ifndef ThePEG_DynamicLoader_H 10 #define ThePEG_DynamicLoader_H 13 #include "ThePEG/Config/ThePEG.h" 42 static bool load(
string file);
65 static void dlname(
string);
77 static const vector<string> &
allPaths();
static vector< string > defaultPaths()
Used to initialize the paths vector from the ThePEG_PATH environment.
static string lastErrorMessage
Return the last error message issued from the platforms loader.
static bool load(string file)
Try to load the file given as argument.
static void prependPath(string)
Add a path to the top of the list of directories to seach for dynaically linkable libraries...
static string dlnameversion(string libs)
Given a list of generic library names, return the same list with appended version numbers where avail...
static const vector< string > & allPaths()
Return the full list of directories to seach for dynaically linkable libraries.
static bool loadcmd(string)
The actual load command used on the current platform.
static vector< string > apppaths
The list of appended directories to seach for dynaically linkable libraries.
This is the main namespace within which all identifiers in ThePEG are declared.
static vector< string > prepaths
The list of prepended directories to seach for dynaically linkable libraries.
static map< string, string > versionMap
Map of names of dynamic libraries with correct version numbers indexed by their generic names...
static const vector< string > & prependedPaths()
Return the list of prepended directories to seach for dynaically linkable libraries.
static void dlname(string)
Insert the name of the given library with correct version numbers appended, in the corresponding map...
DynamicLoader is the general interface to the dynamic loader functions of the underlying operating sy...
static vector< string > paths
The list of directories to seach for dynaically linkable libraries.
static void appendPath(string)
Add a path to the bottom of the list of directories to seach for dynaically linkable libraries...
static const vector< string > & appendedPaths()
Return the list of appended directories to seach for dynaically linkable libraries.