Zrythm v2.0.0-DEV
a highly automated and intuitive digital audio workstation
Loading...
Searching...
No Matches
zrythm::utils::Version Struct Reference

Represents a semantic version with major, minor, and optional patch. More...

#include <src/utils/version.h>

Public Member Functions

constexpr bool operator== (const Version &other) const
constexpr bool operator!= (const Version &other) const
constexpr bool operator< (const Version &other) const
constexpr bool operator> (const Version &other) const
constexpr bool operator<= (const Version &other) const
constexpr bool operator>= (const Version &other) const

Data Fields

int major
int minor
std::optional< int > patch

Detailed Description

Represents a semantic version with major, minor, and optional patch.

Definition at line 28 of file version.h.

Member Function Documentation

◆ operator!=()

bool zrythm::utils::Version::operator!= ( const Version & other) const
inlinenodiscardconstexpr

Definition at line 40 of file version.h.

◆ operator<()

bool zrythm::utils::Version::operator< ( const Version & other) const
inlinenodiscardconstexpr

Definition at line 45 of file version.h.

◆ operator<=()

bool zrythm::utils::Version::operator<= ( const Version & other) const
inlinenodiscardconstexpr

Definition at line 61 of file version.h.

◆ operator==()

bool zrythm::utils::Version::operator== ( const Version & other) const
inlinenodiscardconstexpr

Definition at line 34 of file version.h.

◆ operator>()

bool zrythm::utils::Version::operator> ( const Version & other) const
inlinenodiscardconstexpr

Definition at line 56 of file version.h.

◆ operator>=()

bool zrythm::utils::Version::operator>= ( const Version & other) const
inlinenodiscardconstexpr

Definition at line 66 of file version.h.

Field Documentation

◆ major

int zrythm::utils::Version::major

Definition at line 30 of file version.h.

◆ minor

int zrythm::utils::Version::minor

Definition at line 31 of file version.h.

◆ patch

std::optional<int> zrythm::utils::Version::patch

Definition at line 32 of file version.h.


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