29#ifndef TAGLIB_VERSIONNUMBER_H
30#define TAGLIB_VERSIONNUMBER_H
46 unsigned int patch = 0)
47 : m_combined(((major & 0xff) << 16) | ((minor & 0xff) << 8)
64 return (m_combined & 0xff0000) >> 16;
71 return (m_combined & 0xff00) >> 8;
78 return m_combined & 0xff;
85 return m_combined == rhs.m_combined;
92 return m_combined != rhs.m_combined;
99 return m_combined < rhs.m_combined;
106 return m_combined > rhs.m_combined;
113 return m_combined <= rhs.m_combined;
120 return m_combined >= rhs.m_combined;
130 unsigned int m_combined;
A wide string class suitable for unicode.
Definition: tstring.h:83
Version number with major, minor and patch segments.
Definition: tversionnumber.h:40
constexpr unsigned int majorVersion() const
Definition: tversionnumber.h:63
TAGLIB_EXPORT VersionNumber runtimeVersion()
constexpr bool operator>(const VersionNumber &rhs) const
Definition: tversionnumber.h:105
constexpr unsigned int combinedVersion() const
Definition: tversionnumber.h:56
constexpr bool operator==(const VersionNumber &rhs) const
Definition: tversionnumber.h:84
constexpr bool operator<(const VersionNumber &rhs) const
Definition: tversionnumber.h:98
constexpr VersionNumber(unsigned int major, unsigned int minor, unsigned int patch=0)
Definition: tversionnumber.h:45
constexpr bool operator!=(const VersionNumber &rhs) const
Definition: tversionnumber.h:91
constexpr bool operator<=(const VersionNumber &rhs) const
Definition: tversionnumber.h:112
constexpr unsigned int minorVersion() const
Definition: tversionnumber.h:70
constexpr unsigned int patchVersion() const
Definition: tversionnumber.h:77
constexpr bool operator>=(const VersionNumber &rhs) const
Definition: tversionnumber.h:119
A namespace for all TagLib related classes and functions.
Definition: apefile.h:41
#define TAGLIB_EXPORT
Definition: taglib_export.h:40