sys::Version
Functions
#
Version()=defaultsys::Version::Version ()=default
#
Version(const var::StringView value)inline
explicit
sys::Version::Version (const var::StringView value)
#
cstring() constinline
const char * sys::Version::cstring () const
Type: const char *
#
operator<(const Version &a) constinline
bool sys::Version::operator< (const Version &a) const
Type: bool
Parameters:
- const Version &
a
#
operator<=(const Version &a) constinline
bool sys::Version::operator<= (const Version &a) const
Type: bool
Parameters:
- const Version &
a
#
operator==(const Version &a) constinline
bool sys::Version::operator== (const Version &a) const
Type: bool
Parameters:
- const Version &
a
#
operator>(const Version &a) constinline
bool sys::Version::operator> (const Version &a) const
Type: bool
Parameters:
- const Version &
a
#
operator>=(const Version &a) constinline
bool sys::Version::operator>= (const Version &a) const
Type: bool
Parameters:
- const Version &
a
#
string_view() constinline
var::StringView sys::Version::string_view () const
Type: var::StringView
#
to_bcd() constu32 sys::Version::to_bcd () const
Type: u32
#
to_bcd16() constinline
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