The Gaudi Framework
master (bdbe7744)
Toggle main menu visibility
Loading...
Searching...
No Matches
SystemLinux.h
Go to the documentation of this file.
1
/***********************************************************************************\
2
* (c) Copyright 1998-2025 CERN for the benefit of the LHCb and ATLAS collaborations *
3
* *
4
* This software is distributed under the terms of the Apache version 2 licence, *
5
* copied verbatim in the file "LICENSE". *
6
* *
7
* In applying this licence, CERN does not waive the privileges and immunities *
8
* granted to it by virtue of its status as an Intergovernmental Organization *
9
* or submit itself to any jurisdiction. *
10
\***********************************************************************************/
11
// Dear emacs, this is -*- c++ -*-
12
#pragma once
13
14
#include <string>
15
#include <vector>
16
17
namespace
System
{
19
namespace
Linux
{
20
22
std::vector<std::string>
cmdLineArgs
();
23
25
std::string
typeinfoName
(
const
char
* name );
26
28
std::string
hostName
();
29
31
std::string
osName
();
32
34
std::string
osVersion
();
35
37
std::string
machineType
();
38
40
std::string
accountName
();
41
42
}
// namespace Linux
43
45
namespace
Platform
=
Linux
;
46
47
}
// namespace System
System::Linux
Namespace holding Linux specific functions.
Definition
SystemLinux.cpp:22
System::Linux::typeinfoName
std::string typeinfoName(const char *class_name)
Get the human readable type name from a typeinfo name.
Definition
SystemLinux.cpp:48
System::Linux::accountName
std::string accountName()
Get the account name of the current user.
Definition
SystemLinux.cpp:90
System::Linux::cmdLineArgs
std::vector< std::string > cmdLineArgs()
Get the command line arguments of the process.
Definition
SystemLinux.cpp:24
System::Linux::machineType
std::string machineType()
Get the runner machine's type.
Definition
SystemLinux.cpp:83
System::Linux::osVersion
std::string osVersion()
Get the operating system's version.
Definition
SystemLinux.cpp:76
System::Linux::osName
std::string osName()
Get the operating system's name.
Definition
SystemLinux.cpp:69
System::Linux::hostName
std::string hostName()
Get the system's host name.
Definition
SystemLinux.cpp:50
System
Note: OS specific details for environment resolution.
Definition
Environment.h:25
GaudiKernel
src
Lib
Platform
SystemLinux.h
Generated on
for The Gaudi Framework by
1.17.0