#include <juce_BlocksVersion.h>

Public Member Functions | |
| BlocksVersion (const juce::String &) | |
| Constructs a version number from an formatted juce::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 |
| juce::String | toString (bool extended=false) const |
Static Public Member Functions | |
| static bool | isValidVersion (const juce::String &versionString) |
| Returns true if string format is valid. More... | |
Public Attributes | |
| juce::String | commit |
| The assosiated git commit that generated this firmware version. More... | |
| bool | forced = false |
| Identify "forced" firmware builds. More... | |
| 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... | |
| int | releaseCount = 0 |
| A numberical value assosiated with the release tag, such as "beta 4". More... | |
| juce::String | releaseType |
| The release tag for this version, such as "beta", "alpha", "rc", etc. More... | |
Private Member Functions | |
| bool | evaluate (const juce::String &versionString) |
| bool | isEqualTo (const BlocksVersion &other) const |
| bool | isGreaterThan (const BlocksVersion &other) const |
| bool | releaseTypeGreaterThan (const BlocksVersion &otherReleaseType) const |
| juce::BlocksVersion::BlocksVersion | ( | const juce::String & | ) |
Constructs a version number from an formatted juce::String.
|
default |
Constructs a version number from another BlocksVersion.
|
default |
Creates an empty version number.
|
private |
|
private |
|
private |
|
static |
Returns true if string format is valid.
| bool juce::BlocksVersion::operator!= | ( | const BlocksVersion & | ) | const |
| bool juce::BlocksVersion::operator< | ( | const BlocksVersion & | ) | const |
| bool juce::BlocksVersion::operator<= | ( | const BlocksVersion & | ) | const |
| bool juce::BlocksVersion::operator== | ( | const BlocksVersion & | ) | const |
| bool juce::BlocksVersion::operator> | ( | const BlocksVersion & | ) | const |
| bool juce::BlocksVersion::operator>= | ( | const BlocksVersion & | ) | const |
|
private |
| juce::String juce::BlocksVersion::toString | ( | bool | extended = false | ) | const |
| juce::String juce::BlocksVersion::commit |
The assosiated git commit that generated this firmware version.
| bool juce::BlocksVersion::forced = false |
Identify "forced" firmware builds.
| int juce::BlocksVersion::major = 0 |
The main value in a version number x.0.0.
| int juce::BlocksVersion::minor = 0 |
The secondary value in a version number 1.x.0.
| int juce::BlocksVersion::patch = 0 |
The tertiary value in a version number 1.0.x.
| int juce::BlocksVersion::releaseCount = 0 |
A numberical value assosiated with the release tag, such as "beta 4".
| juce::String juce::BlocksVersion::releaseType |
The release tag for this version, such as "beta", "alpha", "rc", etc.