Jpp test-rotations-old
the software that should make you happy
Loading...
Searching...
No Matches
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 */
12namespace JSYSTEM {}
13namespace JPP { using namespace JSYSTEM; }
14
15namespace 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 */
28 {
29 ::uname(static_cast<utsname*>(this));
30 }
31 };
32}
33
34#endif
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
Auxiliary classes and methods for operating system calls.
Auxiliary class for operating system information.
Definition JUTSName.hh:23
JUTSName()
Default constructor.
Definition JUTSName.hh:27