JUCE
|
Public Member Functions | |
String | toString (bool extended=false) const |
BlocksVersion (const String &) | |
Constructs a version number from an formatted String. More... | |
BlocksVersion (const BlocksVersion &other)=default | |
Constructs a version number from another BlocksVersion. More... | |
BlocksVersion ()=default | |
Creates an empty version number. More... | |
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. More... | |
Public Attributes | |
int | major = 0 |
The main value in a version number x.0.0. More... | |
int | minor = 0 |
The secondary value in a version number 1.x.0. More... | |
int | patch = 0 |
The tertiary value in a version number 1.0.x. More... | |
String | releaseType |
The release tag for this version, such as "beta", "alpha", "rc", etc. More... | |
int | releaseCount = 0 |
A numerical value associated with the release tag, such as "beta 4". More... | |
String | commit |
The associated git commit that generated this firmware version. More... | |
bool | forced = false |
Identify "forced" firmware builds. More... | |
BlocksVersion::BlocksVersion | ( | const String & | ) |
Constructs a version number from an formatted String.
|
default |
Constructs a version number from another 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 |
bool BlocksVersion::operator!= | ( | const BlocksVersion & | ) | const |
bool BlocksVersion::operator< | ( | const BlocksVersion & | ) | const |
bool BlocksVersion::operator> | ( | const BlocksVersion & | ) | const |
bool BlocksVersion::operator<= | ( | const BlocksVersion & | ) | const |
bool BlocksVersion::operator>= | ( | const BlocksVersion & | ) | const |
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.