platform class
More...
#include <platform.hpp>
|
static Platform | makePlatform () |
| Create platform from makefile system. This is the platform set for building the software not where the software was build on nor the where it is run on (think cross-compilation and compatible distributions) More...
|
|
static Platform | runtimePlatform () |
| Create plaform as seen at runtime. This function uses functions to determine the runtime platform we are running on, not the platform we built the software for. More...
|
|
_Wolframe::Platform::Platform |
( |
| ) |
|
|
inline |
Empty Version constructor. This will contruct an empty Platform object having version numbers set to 0 and string be empty.
_Wolframe::Platform::Platform |
( |
const Platform & |
o | ) |
|
|
inline |
static Platform _Wolframe::Platform::makePlatform |
( |
| ) |
|
|
static |
Create platform from makefile system. This is the platform set for building the software not where the software was build on nor the where it is run on (think cross-compilation and compatible distributions)
static Platform _Wolframe::Platform::runtimePlatform |
( |
| ) |
|
|
static |
Create plaform as seen at runtime. This function uses functions to determine the runtime platform we are running on, not the platform we built the software for.
std::string _Wolframe::Platform::toString |
( |
| ) |
const |
Print the plaform in human readable format.
std::string _Wolframe::Platform::m_distro |
|
private |
Name of the Linux distribution.
unsigned short _Wolframe::Platform::m_distro_major |
|
private |
Linux distribution major version.
unsigned short _Wolframe::Platform::m_distro_minor |
|
private |
Linux distribution minor version.
bool _Wolframe::Platform::m_hasDisto |
|
private |
Is it a Linux distribution?
bool _Wolframe::Platform::m_hasDistroVersion |
|
private |
Distribution has a version?
bool _Wolframe::Platform::m_hasOsVersion |
|
private |
std::string _Wolframe::Platform::m_os |
|
private |
unsigned short _Wolframe::Platform::m_os_major |
|
private |
Operating system major version.
unsigned short _Wolframe::Platform::m_os_minor |
|
private |
Operating system minor version.
The documentation for this class was generated from the following file: