JUCE
|
Represents the version number of a block device. More...
#include <juce_BlocksVersion.h>
Public Member Functions | |
String | toString (bool extended=false) const |
BlocksVersion (const String &) | |
Constructs a version number from an formatted String. | |
BlocksVersion (const BlocksVersion &other)=default | |
Constructs a version number from another BlocksVersion. | |
BlocksVersion ()=default | |
Creates an empty version number. | |
bool | operator== (const BlocksVersion &) const |
bool | operator!= (const BlocksVersion &) const |
bool | operator< (const BlocksVersion &) const |
bool | operator> (const BlocksVersion &) const |
bool | operator<= (const BlocksVersion &) const |
bool | operator>= (const BlocksVersion &) const |
Static Public Member Functions | |
static bool | isValidVersion (const String &versionString) |
Returns true if string format is valid. | |
Public Attributes | |
int | major = 0 |
The main value in a version number x.0.0. | |
int | minor = 0 |
The secondary value in a version number 1.x.0. | |
int | patch = 0 |
The tertiary value in a version number 1.0.x. | |
String | releaseType |
The release tag for this version, such as "beta", "alpha", "rc", etc. | |
int | releaseCount = 0 |
A numerical value associated with the release tag, such as "beta 4". | |
String | commit |
The associated git commit that generated this firmware version. | |
bool | forced = false |
Identify "forced" firmware builds. | |
Represents the version number of a block device.
BlocksVersion::BlocksVersion | ( | const String & | ) |
Constructs a version number from an formatted String.
Referenced by BlocksVersion(), operator!=(), operator<(), operator<=(), operator==(), operator>(), and operator>=().
|
default |
Constructs a version number from another BlocksVersion.
References BlocksVersion().
|
default |
Creates an empty version number.
String BlocksVersion::toString | ( | bool | extended = false | ) | const |
|
static |
Returns true if string format is valid.
bool BlocksVersion::operator== | ( | const BlocksVersion & | ) | const |
References BlocksVersion().
bool BlocksVersion::operator!= | ( | const BlocksVersion & | ) | const |
References BlocksVersion().
bool BlocksVersion::operator< | ( | const BlocksVersion & | ) | const |
References BlocksVersion().
bool BlocksVersion::operator> | ( | const BlocksVersion & | ) | const |
References BlocksVersion().
bool BlocksVersion::operator<= | ( | const BlocksVersion & | ) | const |
References BlocksVersion().
bool BlocksVersion::operator>= | ( | const BlocksVersion & | ) | const |
References BlocksVersion().
int BlocksVersion::major = 0 |
The main value in a version number x.0.0.
int BlocksVersion::minor = 0 |
The secondary value in a version number 1.x.0.
int BlocksVersion::patch = 0 |
The tertiary value in a version number 1.0.x.
String BlocksVersion::releaseType |
The release tag for this version, such as "beta", "alpha", "rc", etc.
int BlocksVersion::releaseCount = 0 |
A numerical value associated with the release tag, such as "beta 4".
String BlocksVersion::commit |
The associated git commit that generated this firmware version.
bool BlocksVersion::forced = false |
Identify "forced" firmware builds.