Sese Framework
x.y.z
A cross-platform framework
|
版本类 更多...
#include <Version.h>
Public 成员函数 | |
Version (uint16_t major, uint16_t minor, uint16_t patch, uint16_t revision) | |
uint16_t | getMajor () const |
void | setMajor (uint16_t major) |
uint16_t | getMinor () const |
void | setMinor (uint16_t minor) |
uint16_t | getPatch () const |
void | setPatch (uint16_t patch) |
uint16_t | getRevision () const |
void | setRevision (uint16_t revision) |
std::string | toString () const |
std::string | toShortString () const |
bool | operator== (const Version &other) const |
bool | operator< (const Version &other) const |
bool | operator> (const Version &other) const |
bool | operator<= (const Version &other) const |
bool | operator>= (const Version &other) const |
bool | operator!= (const Version &other) const |
静态 Public 成员函数 | |
static std::optional< Version > | parse (const std::string &version) |
Private 属性 | |
uint16_t | major_ |
uint16_t | minor_ |
uint16_t | patch_ |
uint16_t | revision_ |
版本类
Version::Version | ( | uint16_t | major, |
uint16_t | minor, | ||
uint16_t | patch, | ||
uint16_t | revision ) |
被这些函数引用 parse().
|
inlinenodiscard |
引用了 major_.
|
inlinenodiscard |
引用了 minor_.
|
inlinenodiscard |
引用了 patch_.
|
inlinenodiscard |
引用了 revision_.
|
inline |
引用了 major_.
|
inline |
引用了 minor_.
|
inline |
引用了 patch_.
|
inline |
引用了 revision_.
|
nodiscard |
|
nodiscard |
|
private |
被这些函数引用 getMajor(), operator!=(), operator<(), operator<=(), operator==(), operator>(), operator>=(), setMajor(), toShortString() , 以及 toString().
|
private |
被这些函数引用 getMinor(), operator!=(), operator<(), operator<=(), operator==(), operator>(), operator>=(), setMinor(), toShortString() , 以及 toString().
|
private |
被这些函数引用 getPatch(), operator!=(), operator<(), operator<=(), operator==(), operator>(), operator>=(), setPatch(), toShortString() , 以及 toString().
|
private |
被这些函数引用 getRevision(), operator!=(), operator<(), operator<=(), operator==(), operator>(), operator>=(), setRevision(), toShortString() , 以及 toString().