![]() |
LicenseSpring C++ SDK 7.32.0
Easily add Software Licensing to your application
|
Simple class for handling app versions. Format: Major.Minor.Patch.Build, where all parts are integer numbers. In case you use such version format without alphabetical symbols then it fits your needs. For example: "1.3.0.45", "2.13.1.3735". More...
#include <LicenseSpring/Version.h>
Static Public Member Functions | |
| static Version | fromString (const std::string &input, char delimeter='.') |
Static Public Member Functions inherited from LicenseSpring::VersionBase | |
| static int | compare (const VersionBase &left, const VersionBase &right) |
Static Public Attributes | |
| static Version | InvalidVersion |
Static Public Attributes inherited from LicenseSpring::VersionBase | |
| static constexpr int | INVALID_VERSION_NUMBER = -1 |
Protected Attributes | |
| int | m_patch |
| int | m_build |
Protected Attributes inherited from LicenseSpring::VersionBase | |
| int | m_major |
| int | m_minor |
| char | m_delimeter |
Simple class for handling app versions. Format: Major.Minor.Patch.Build, where all parts are integer numbers. In case you use such version format without alphabetical symbols then it fits your needs. For example: "1.3.0.45", "2.13.1.3735".
| LicenseSpring::Version::Version | ( | ) |
| LicenseSpring::Version::Version | ( | int | major, |
| int | minor, | ||
| int | patch, | ||
| int | build, | ||
| char | delimeter = '.' |
||
| ) |
|
inline |
|
inline |
|
overridevirtual |
Reimplemented from LicenseSpring::VersionBase.
|
overridevirtual |
Reimplemented from LicenseSpring::VersionBase.
Reimplemented in LicenseSpring::VersionEx.
|
overridevirtual |
Reimplemented from LicenseSpring::VersionBase.
Reimplemented in LicenseSpring::VersionEx.
|
static |