Version number with major, minor and patch segments. More...
#include <tversionnumber.h>
Public Member Functions | |
constexpr | VersionNumber (unsigned int major, unsigned int minor, unsigned int patch=0) |
constexpr unsigned int | combinedVersion () const |
constexpr unsigned int | majorVersion () const |
constexpr unsigned int | minorVersion () const |
constexpr unsigned int | patchVersion () const |
constexpr bool | operator== (const VersionNumber &rhs) const |
constexpr bool | operator!= (const VersionNumber &rhs) const |
constexpr bool | operator< (const VersionNumber &rhs) const |
constexpr bool | operator> (const VersionNumber &rhs) const |
constexpr bool | operator<= (const VersionNumber &rhs) const |
constexpr bool | operator>= (const VersionNumber &rhs) const |
String | toString () const |
Related Symbols | |
(Note that these are not member symbols.) | |
TAGLIB_EXPORT VersionNumber | runtimeVersion () |
Version number with major, minor and patch segments.
|
inlineconstexpr |
Constructs a version number from major, minor and patch segments.
Returns the version as an unsigned integer in the form (major version << 16) | (minor version << 8) | (patch version), e.g. 0x020100 for version 2.1.0.
Returns the major version, e.g. 2
Returns the minor version, e.g. 1
|
inlineconstexpr |
Returns true
if this version is not equal to rhs.
|
inlineconstexpr |
Returns true
if this version is less than rhs.
|
inlineconstexpr |
Returns true
if this version is less or equal than rhs.
|
inlineconstexpr |
Returns true
if this version is equal to rhs.
|
inlineconstexpr |
Returns true
if this version is greater than rhs.
|
inlineconstexpr |
Returns true
if this version is greater or equal than rhs.
Returns the patch version, e.g. 0
String TagLib::VersionNumber::toString | ( | ) | const |
Returns a string with major, minor, and patch versions separated by periods.
|
related |
Returns the version number of TagLib in use at runtime. This does not need not be the version the application was compiled with.