JUCE  v5.4.1-191-g0ab5e696f
JUCE API
Looking for a senior C++ dev?
I'm looking for work. Hire me!
juce::BlocksVersion Struct Reference

#include <juce_BlocksVersion.h>

Collaboration diagram for juce::BlocksVersion:

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
 

Constructor & Destructor Documentation

◆ BlocksVersion() [1/3]

juce::BlocksVersion::BlocksVersion ( const juce::String )

Constructs a version number from an formatted juce::String.

◆ BlocksVersion() [2/3]

juce::BlocksVersion::BlocksVersion ( const BlocksVersion other)
default

Constructs a version number from another BlocksVersion.

◆ BlocksVersion() [3/3]

juce::BlocksVersion::BlocksVersion ( )
default

Creates an empty version number.

Member Function Documentation

◆ evaluate()

bool juce::BlocksVersion::evaluate ( const juce::String versionString)
private

◆ isEqualTo()

bool juce::BlocksVersion::isEqualTo ( const BlocksVersion other) const
private

◆ isGreaterThan()

bool juce::BlocksVersion::isGreaterThan ( const BlocksVersion other) const
private

◆ isValidVersion()

static bool juce::BlocksVersion::isValidVersion ( const juce::String versionString)
static

Returns true if string format is valid.

◆ operator!=()

bool juce::BlocksVersion::operator!= ( const BlocksVersion ) const

◆ operator<()

bool juce::BlocksVersion::operator< ( const BlocksVersion ) const

◆ operator<=()

bool juce::BlocksVersion::operator<= ( const BlocksVersion ) const

◆ operator==()

bool juce::BlocksVersion::operator== ( const BlocksVersion ) const

◆ operator>()

bool juce::BlocksVersion::operator> ( const BlocksVersion ) const

◆ operator>=()

bool juce::BlocksVersion::operator>= ( const BlocksVersion ) const

◆ releaseTypeGreaterThan()

bool juce::BlocksVersion::releaseTypeGreaterThan ( const BlocksVersion otherReleaseType) const
private

◆ toString()

juce::String juce::BlocksVersion::toString ( bool  extended = false) const

Member Data Documentation

◆ commit

juce::String juce::BlocksVersion::commit

The assosiated git commit that generated this firmware version.

◆ forced

bool juce::BlocksVersion::forced = false

Identify "forced" firmware builds.

◆ major

int juce::BlocksVersion::major = 0

The main value in a version number x.0.0.

◆ minor

int juce::BlocksVersion::minor = 0

The secondary value in a version number 1.x.0.

◆ patch

int juce::BlocksVersion::patch = 0

The tertiary value in a version number 1.0.x.

◆ releaseCount

int juce::BlocksVersion::releaseCount = 0

A numberical value assosiated with the release tag, such as "beta 4".

◆ releaseType

juce::String juce::BlocksVersion::releaseType

The release tag for this version, such as "beta", "alpha", "rc", etc.


The documentation for this struct was generated from the following file: