Extended class for handling app versions, compliant with Semantic Versioning 2.0.0 Format: Major.Minor.Patch[PrereleaseIdentifier].Build[BuildMetadata], see https://semver.org For example: "1.3.4573-alpha.3+sha:dff8df7gdsvnx", "2.13.3735b2.0-stable".
More...
|
| | VersionEx () |
| |
| | VersionEx (int major, int minor, int patch, char delimeter='.') |
| |
| | VersionEx (int major, int minor, int patch, int build, char delimeter='.') |
| |
| | VersionEx (const std::string &version, char delimeter='.') |
| |
| void | setPrereleaseType (PrereleaseType type) |
| |
| PrereleaseType | prereleaseType () const |
| |
| bool | isPrerelease () const |
| |
| const std::string & | prereleaseVersion () const |
| |
| void | setPrereleaseVersion (const std::string &version) |
| |
| const std::string & | buildMetadata () const |
| |
| void | setBuildMetadata (const std::string &data) |
| |
| std::string | toString () const override |
| |
| int | compare (const VersionBase &baseVer) const override |
| |
| | Version () |
| |
| | Version (int major, int minor, char delimeter='.') |
| |
| | Version (int major, int minor, int patch, char delimeter='.') |
| |
| | Version (int major, int minor, int patch, int build, char delimeter='.') |
| |
| | Version (const std::string &version, char delimeter='.') |
| |
| int | patchVersion () const |
| |
| int | buildVersion () const |
| |
| bool | hasPatchVersion () const |
| |
| bool | hasBuildVersion () const |
| |
| void | setPatchVersion (int number) |
| |
| void | setBuildVersion (int number) |
| |
| size_t | length () const override |
| |
| | VersionBase () |
| |
| | VersionBase (int major, int minor, char delimeter='.') |
| |
| virtual | ~VersionBase ()=default |
| |
| int | majorVersion () const |
| |
| int | minorVersion () const |
| |
| char | delimeter () const |
| |
| void | setDelimeter (char delimeter) |
| |
| size_t | size () const |
| |
| | operator std::string () const |
| |
| bool | operator== (const VersionBase &version) const |
| |
| bool | operator!= (const VersionBase &version) const |
| |
| bool | operator< (const VersionBase &version) const |
| |
| bool | operator> (const VersionBase &version) const |
| |
| bool | operator<= (const VersionBase &version) const |
| |
| bool | operator>= (const VersionBase &version) const |
| |
Extended class for handling app versions, compliant with Semantic Versioning 2.0.0 Format: Major.Minor.Patch[PrereleaseIdentifier].Build[BuildMetadata], see https://semver.org For example: "1.3.4573-alpha.3+sha:dff8df7gdsvnx", "2.13.3735b2.0-stable".
Definition at line 147 of file Version.h.