41 typedef unsigned long ( *
EntryPoint )(
const unsigned long iid,
void** ppvObject );
43 typedef void* ( *Creator )();
96 inline bool getEnv(
const std::string& var, std::string& value ) {
return getEnv( var.c_str(), value ); }
104 GAUDI_API int setEnv(
const std::string& name,
const std::string& value,
int overwrite = 1 );
119 GAUDI_API bool backTrace( std::string& btrace,
const int depth,
const int offset = 0 );
Note: OS specific details for environment resolution.
GAUDI_API bool getStackLevel(void *addresses, void *&addr, std::string &fnc, std::string &lib)
GAUDI_API const std::string & osName()
OS name.
GAUDI_API int backTrace(void **addresses, const int depth)
void *(* Creator)()
Definition of the "generic" DLL entry point function.
GAUDI_API bool isEnvSet(const char *var)
Check if an environment variable is set or not.
unsigned long(* EntryPoint)(const unsigned long iid, void **ppvObject)
Definition of the "generic" DLL entry point function.
GAUDI_API const std::string & machineType()
Machine type.
GAUDI_API unsigned long loadDynamicLib(const std::string &name, ImageHandle *handle)
Load dynamic link library.
ThreadHandle threadSelf()
thread handle "accessor"
GAUDI_API long numCmdLineArgs()
Number of arguments passed to the commandline.
GAUDI_API const std::string getLastErrorString()
Get last system error as string.
GAUDI_API unsigned long unloadDynamicLib(ImageHandle handle)
unload dynamic link library
GAUDI_API unsigned long getProcedureByName(ImageHandle handle, const std::string &name, EntryPoint *pFunction)
Get a specific function defined in the DLL.
GAUDI_API const std::string typeinfoName(const std::type_info &)
Get platform independent information about the class type.
void * ImageHandle
Definition of an image handle.
GAUDI_API std::vector< std::string > getEnv()
get all environment variables
GAUDI_API const std::string & hostName()
Host name.
GAUDI_API const std::string & accountName()
User login name.
GAUDI_API unsigned long getLastError()
Get last system known error.
GAUDI_API long argc()
Number of arguments passed to the commandline (==numCmdLineArgs()); just to match argv call....
void * ProcessHandle
Definition of the process handle.
GAUDI_API const std::string getErrorString(unsigned long error)
Retrieve error code as string for a given error.
GAUDI_API const std::vector< std::string > cmdLineArgs()
Command line arguments including executable name as arg[0] as vector of strings.
GAUDI_API int setEnv(const std::string &name, const std::string &value, int overwrite=1)
Set an environment variables.
void * ThreadHandle
A Thread handle.
GAUDI_API char ** argv()
char** command line arguments including executable name as arg[0]; You may not modify them!
GAUDI_API const std::string & osVersion()
OS version.
GAUDI_API int instructionsetLevel()
Instruction Set "Level".