Skip to main content

sys::Version

Functions

Version()=default#

sys::Version::Version ()=default

Version(const var::StringView value)#

inline explicit

sys::Version::Version (const var::StringView value)

cstring() const#

inline

const char * sys::Version::cstring () const

Type: const char *

operator<(const Version &a) const#

inline

bool sys::Version::operator< (const Version &a) const

Type: bool

Parameters:

operator<=(const Version &a) const#

inline

bool sys::Version::operator<= (const Version &a) const

Type: bool

Parameters:

operator==(const Version &a) const#

inline

bool sys::Version::operator== (const Version &a) const

Type: bool

Parameters:

operator>(const Version &a) const#

inline

bool sys::Version::operator> (const Version &a) const

Type: bool

Parameters:

operator>=(const Version &a) const#

inline

bool sys::Version::operator>= (const Version &a) const

Type: bool

Parameters:

string_view() const#

inline

var::StringView sys::Version::string_view () const

Type: var::StringView

to_bcd() const#

u32 sys::Version::to_bcd () const

Type: u32

to_bcd16() const#

inline

u16 sys::Version::to_bcd16 () const

Type: u16

Static Functions

compare(const Version &a, const Version &b)#

static int sys::Version::compare (const Version &a, const Version &b)

Type: int

Parameters:

from_triple(u16 major, u8 minor, u8 patch)#

static Version sys::Version::from_triple (u16 major, u8 minor, u8 patch)

Type: Version

Parameters:

  • u16 major
  • u8 minor
  • u8 patch

from_u16(u16 major_minor)#

static Version sys::Version::from_u16 (u16 major_minor)

Type: Version

Parameters:

  • u16 major_minor