|
cleanCppProject
0.2.0
|
Functions | |
| std::string | getBuildTime () |
| Get time of build in format like: Feb 20 2016 14:38:27. More... | |
| int | getMajor () |
| Returns Major part of version. More... | |
| int | getMinor () |
| Returns Minor part of version. More... | |
| int | getPatch () |
| Return Patch part of version. More... | |
| long long | getVersionNumber () |
| Returns version in one big number with format: More... | |
| std::string | getVersionShort () |
| Returns version string with version in format: More... | |
| std::string | getVersionLong () |
| Returns Version + Date + Build machine. More... | |
| std::string | getBuildMachine () |
| Returns name of the build machine. More... | |
| std::string Version::getBuildMachine | ( | ) |
Returns name of the build machine.
Can be changed with cmake .. -DVERSION_HOST=newName
| std::string Version::getBuildTime | ( | ) |
Get time of build in format like: Feb 20 2016 14:38:27.
| int Version::getMajor | ( | ) |
Returns Major part of version.
| int Version::getMinor | ( | ) |
Returns Minor part of version.
| int Version::getPatch | ( | ) |
Return Patch part of version.
| std::string Version::getVersionLong | ( | ) |
Returns Version + Date + Build machine.
Will produce result similar to: 1.2.6 beta / Feb 20 2016 14:42:41 / buildMachine
Referenced by printHelp().

| long long Version::getVersionNumber | ( | ) |
Returns version in one big number with format:
So 1.2.3 will be 100020003 (leading zeroes are not displayed)
| std::string Version::getVersionShort | ( | ) |
Returns version string with version in format:
Referenced by main().

1.8.11