OpenMS
Loading...
Searching...
No Matches
BuildInfo.h File Reference
#include <OpenMS/build_config.h>
#include <OpenMS/DATASTRUCTURES/StringUtils.h>
#include <cstddef>
#include <string>
#include <fstream>
#include <cstring>
Include dependency graph for BuildInfo.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  OpenMSOSInfo
 Snapshot of the runtime operating system: name, version, and pointer-width architecture. More...
 
struct  OpenMSBuildInfo
 Build-configuration accessors: build type, OpenMP availability, and OpenMP thread count. More...
 

Namespaces

namespace  OpenMS
 Main OpenMS namespace.
 
namespace  OpenMS::Internal
 Namespace used to hide implementation details from users.
 

Enumerations

enum class  OpenMS_OS {
  OS_UNKNOWN , OS_MACOS , OS_WINDOWS , OS_LINUX ,
  SIZE_OF_OPENMS_OS
}
 Operating systems OpenMSOSInfo can report. SIZE_OF_OPENMS_OS is a sentinel for array sizing. More...
 
enum class  OpenMS_Architecture { ARCH_UNKNOWN , ARCH_32BIT , ARCH_64BIT , SIZE_OF_OPENMS_ARCHITECTURE }
 Pointer-width architectures OpenMSOSInfo can report. SIZE_OF_OPENMS_ARCHITECTURE is a sentinel for array sizing. More...
 

Functions

std::string getOSVersionString_ ()
 Return the running OS version using a platform-specific probe.
 

Variables

const std::string OpenMS_OSNames [] = {"unknown", "MacOS", "Windows", "Linux"}
 String labels paired with OpenMS_OS; index by static_cast<size_t>(enum_value).
 
const std::string OpenMS_ArchNames [] = {"unknown", "32 bit", "64 bit"}
 String labels paired with OpenMS_Architecture; index by static_cast<size_t>(enum_value).