Jpp
software
JSystem
JUTSName.hh
Go to the documentation of this file.
1
#ifndef __JSYSTEM__JUTSNAME__
2
#define __JSYSTEM__JUTSNAME__
3
4
#include <sys/utsname.h>
5
6
7
/**
8
* \file
9
* System information.
10
* \author mdejong
11
*/
12
namespace
JSYSTEM
{}
13
namespace
JPP
{
using namespace
JSYSTEM
; }
14
15
namespace
JSYSTEM
{
16
17
/**
18
* Auxiliary class for operating system information.
19
* This class encapsulates the <tt>utsname</tt> data structure.
20
*/
21
struct
JUTSName
:
22
public
utsname
23
{
24
/**
25
* Default constructor.
26
*/
27
JUTSName
()
28
{
29
::uname(static_cast<utsname*>(
this
));
30
}
31
};
32
}
33
34
#endif
JSYSTEM::JUTSName::JUTSName
JUTSName()
Default constructor.
Definition:
JUTSName.hh:27
JPP
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
Definition:
JAAnetToolkit.hh:37
JSYSTEM
Auxiliary classes and methods for operating system calls.
Definition:
JDate.hh:13
JSYSTEM::JUTSName
Auxiliary class for operating system information.
Definition:
JUTSName.hh:21
Generated by
1.8.16