Geometrize  1.0
An application for geometrizing images into geometric primitives
Functions
geometrize::version Namespace Reference

Functions

QString getApplicationVersionString ()
 getApplicationVersionString Gets the application version as a string in VERSION.MAJOR.MINOR format e.g. "1.0.0", "2.7.13". More...
 
QString getRuntimeMachineHostName ()
 getRuntimeMachineHostName Gets the system's runtime host name, if one is set. More...
 
QString getRuntimeCpuArchitectureName ()
 getRuntimeCpuArchitectureName Gets the architecture of the CPU that the application is currently running on. More...
 
QString getRuntimeQtVersionName ()
 getRuntimeQtVersionName Gets the version of Qt that the application is currently running on. More...
 
QString getBuildDateTime ()
 getBuildDateTime Gets a string that describes the date and time the application was built. More...
 
QString getBuildOperatingSystemName ()
 getBuildOperatingSystemName Gets the name of the OS the application is built to run on e.g. "Windows", or "Linux". More...
 
QString getBuildAbiName ()
 getBuildAbiName Gets the full architecture that the application was compiled for. More...
 
QString getBuildCpuArchitectureName ()
 getBuildCpuArchitectureName Gets the architecture of the CPU the application was compiled for. More...
 
QString getBuildQtVersionName ()
 getBuildQtVersionName Gets the version of Qt the application was compiled against. More...
 

Function Documentation

◆ getApplicationVersionString()

QString geometrize::version::getApplicationVersionString ( )

getApplicationVersionString Gets the application version as a string in VERSION.MAJOR.MINOR format e.g. "1.0.0", "2.7.13".

Returns
The application version as a string.
14 {
15  return "1.0.1";
16 }
Here is the caller graph for this function:

◆ getBuildAbiName()

QString geometrize::version::getBuildAbiName ( )

getBuildAbiName Gets the full architecture that the application was compiled for.

Returns
The full architecture that the application was compiled for.
56 {
57  return QSysInfo::buildAbi();
58 }
Here is the caller graph for this function:

◆ getBuildCpuArchitectureName()

QString geometrize::version::getBuildCpuArchitectureName ( )

getBuildCpuArchitectureName Gets the architecture of the CPU the application was compiled for.

Returns
The architecture of the CPU the application was compiled for.
61 {
62  return QSysInfo::buildCpuArchitecture();
63 }

◆ getBuildDateTime()

QString geometrize::version::getBuildDateTime ( )

getBuildDateTime Gets a string that describes the date and time the application was built.

Returns
The date and time the application was built.
34 {
35  return QString(__DATE__) + " " + QString(__TIME__);
36 }
Here is the caller graph for this function:

◆ getBuildOperatingSystemName()

QString geometrize::version::getBuildOperatingSystemName ( )

getBuildOperatingSystemName Gets the name of the OS the application is built to run on e.g. "Windows", or "Linux".

Returns
The name of the OS the application is built to run on.
39 {
40 #ifdef Q_OS_WIN
41  return "Windows";
42 #endif
43 
44 #ifdef Q_OS_MAC
45  return "OSX";
46 #endif
47 
48 #ifdef Q_OS_LINUX
49  return "Linux";
50 #endif
51 
52  return "Unknown";
53 }
Here is the caller graph for this function:

◆ getBuildQtVersionName()

QString geometrize::version::getBuildQtVersionName ( )

getBuildQtVersionName Gets the version of Qt the application was compiled against.

Returns
The version of Qt the application was compiled against.
66 {
67  return QT_VERSION_STR;
68 }

◆ getRuntimeCpuArchitectureName()

QString geometrize::version::getRuntimeCpuArchitectureName ( )

getRuntimeCpuArchitectureName Gets the architecture of the CPU that the application is currently running on.

Returns
The architecture of the CPU the application is currently running on.
24 {
25  return QSysInfo::currentCpuArchitecture();
26 }
Here is the caller graph for this function:

◆ getRuntimeMachineHostName()

QString geometrize::version::getRuntimeMachineHostName ( )

getRuntimeMachineHostName Gets the system's runtime host name, if one is set.

Returns
The system's host name.
19 {
20  return QSysInfo::machineHostName();
21 }
Here is the caller graph for this function:

◆ getRuntimeQtVersionName()

QString geometrize::version::getRuntimeQtVersionName ( )

getRuntimeQtVersionName Gets the version of Qt that the application is currently running on.

Returns
The version of Qt that the application is currently running on.
29 {
30  return qVersion();
31 }
Here is the caller graph for this function: