![]() |
LicenseSpring C++ SDK 7.31.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 int | compare (const VersionBase &left, const VersionBase &right) |
Static Public Attributes | |
static Version | InvalidVersion |
![]() | |
static constexpr int | INVALID_VERSION_NUMBER = -1 |
Protected Attributes | |
int | m_patch |
int | m_build |
![]() | |
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 |