![]() |
OpenMS
|
#include <OpenMS/SYSTEM/BuildInfo.h>
Public Member Functions | |
| OpenMSOSInfo () | |
| String | getOSAsString () const |
| Get the current operating system (Windows, MacOS, Linux) More... | |
| String | getArchAsString () const |
| Get the current architecture (32-bit or 64-bit) More... | |
| String | getOSVersionAsString () const |
| Get the OS version (e.g. 10.15 for macOS or 10 for Windows) More... | |
Static Public Member Functions | |
| static String | getBinaryArchitecture () |
| Get Architecture of this binary (simply by looking at size of a pointer, i.e. size_t). More... | |
| static String | getActiveSIMDExtensions () |
| Obtain a list of SIMD extensions which are currently in use (i.e. used by the compiler during optimization, as well as for SIMDe code within OpenMS) More... | |
| static OpenMSOSInfo | getOSInfo () |
| Constructs and returns an OpenMSOSInfo object. More... | |
Private Attributes | |
| OpenMS_OS | os_ |
| String | os_version_ |
| OpenMS_Architecture | arch_ |
|
inline |
|
static |
Obtain a list of SIMD extensions which are currently in use (i.e. used by the compiler during optimization, as well as for SIMDe code within OpenMS)
|
inline |
Get the current architecture (32-bit or 64-bit)
References OpenMS::Internal::OpenMS_ArchNames.
|
inlinestatic |
Get Architecture of this binary (simply by looking at size of a pointer, i.e. size_t).
References OpenMS::Internal::ARCH_32BIT, OpenMS::Internal::ARCH_64BIT, OpenMS::Internal::ARCH_UNKNOWN, and OpenMS::Internal::OpenMS_ArchNames.
|
inline |
Get the current operating system (Windows, MacOS, Linux)
References OpenMS::Internal::OpenMS_OSNames.
|
inlinestatic |
Constructs and returns an OpenMSOSInfo object.
References OpenMSOSInfo::arch_, OpenMS::Internal::ARCH_32BIT, OpenMS::Internal::ARCH_64BIT, OpenMSOSInfo::os_, OpenMS::Internal::OS_LINUX, OpenMS::Internal::OS_MACOS, OpenMSOSInfo::os_version_, and OpenMS::Internal::OS_WINDOWS.
|
inline |
Get the OS version (e.g. 10.15 for macOS or 10 for Windows)
|
private |
Referenced by OpenMSOSInfo::getOSInfo().
|
private |
Referenced by OpenMSOSInfo::getOSInfo().
|
private |
Referenced by OpenMSOSInfo::getOSInfo().