Jpp
15.0.1-rc.1-highqe
the software that should make you happy
Main Page
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
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
JSYSTEM::JUTSName
Auxiliary class for operating system information.
Definition:
JUTSName.hh:21
Generated by
1.8.5