Scanframe Modular Application 0.1.0
Loading...
Searching...
No Matches
version.h
Go to the documentation of this file.
1#pragma once
2
3#include <misc/global.h>
4#include <string>
5
6namespace sf
7{
8
12std::string getGCCVersion();
13
17std::string_view getCppStandard();
18
23
27_MISC_FUNC std::string_view getCpuArchitecture();
28
33
38
39}// namespace sf
40
41// Include all inlined functions and template implementations.
42#include <misc/gen/version.hpp>
#define _MISC_FUNC
Definition misc/global.h:39
Definition Application.h:10
std::string getGCCVersion()
Gets the GNU compiler version.
_MISC_FUNC std::string_view getCpuArchitecture()
Gets the CPU architecture returned from 'uname -m' command.
std::string_view getCppStandard()
Gets the C++ standard used.
_MISC_FUNC std::string getOSVersion()
Gets the OS and version used.
_MISC_FUNC std::string getSystemName()
Gets the name of the system.
_MISC_FUNC std::string getUserLogin()
Gets the name of the current user of the system.