ATLAS Offline Software
Loading...
Searching...
No Matches
Database
APR
POOLCore
POOLCore
SystemTools.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef POOL_SYSTEMTOOLS_H
6
#define POOL_SYSTEMTOOLS_H
7
8
#include "GaudiKernel/IMessageSvc.h"
9
10
namespace
pool
{
11
15
class
SystemTools
16
{
17
public
:
19
static
const
char
*
GetEnv
(
const
char
* key);
20
static
std::string
GetEnvStr
(
const
std::string& key);
21
23
static
bool
FileExists
(
const
char
* filename);
24
25
static
std::string
itostr
(
const
int
i);
26
27
// get base component of the FC connection string
28
static
std::string
FCBasename
(
const
std::string& cat);
29
30
// return the output level for PFC
31
static
MSG::Level
GetOutputLvl
();
32
33
// read the PFC_MSGLEVEL env setting
34
static
MSG::Level
GetOutputLvlFromEnv
();
35
36
// initialize the Gaudi framework for standalone executables
37
static
bool
initGaudi
();
38
};
39
}
// ns pool
40
#endif
pool::SystemTools
Misc utility methods.
Definition
SystemTools.h:16
pool::SystemTools::itostr
static std::string itostr(const int i)
pool::SystemTools::GetOutputLvl
static MSG::Level GetOutputLvl()
pool::SystemTools::FCBasename
static std::string FCBasename(const std::string &cat)
pool::SystemTools::GetEnvStr
static std::string GetEnvStr(const std::string &key)
pool::SystemTools::initGaudi
static bool initGaudi()
pool::SystemTools::FileExists
static bool FileExists(const char *filename)
Check if a file exists.
pool::SystemTools::GetOutputLvlFromEnv
static MSG::Level GetOutputLvlFromEnv()
pool::SystemTools::GetEnv
static const char * GetEnv(const char *key)
Read an environment variable.
pool
pool namespace
Definition
libname.h:15
Generated on
for ATLAS Offline Software by
1.14.0