| # Gaudi Framework, version v20r2
Generated: 18 Jul 2008

- Main Page
- Namespaces
- Classes
- Files
- Directories
- Related Pages

- Search for |

- File List
- File Members

# System.h File Reference

`#include "GaudiKernel/Kernel.h"`
`#include <string>`
`#include <vector>`
`#include <typeinfo>`
`#include "GaudiKernel/Timing.h"`
`#include "GaudiKernel/ModuleInfo.h"`

Include dependency graph for System.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

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