Go to the documentation of this file.
65 #ifndef XSSIMPLEVERSION_H
66 #define XSSIMPLEVERSION_H
78 #define XSSIMPLEVERSION_INITIALIZER { 0, 0, 0 }
173 return !(*
this <= other);
179 return !(*
this < other);
183 inline bool empty()
const
189 inline int major()
const
194 inline int minor()
const
199 inline int revision()
const
XSTYPES_DLL_API void XsSimpleVersion_swap(XsSimpleVersion *a, XsSimpleVersion *b)
Swap the contents of a with those of b.
XSTYPES_DLL_API int XsSimpleVersion_compare(XsSimpleVersion const *a, XsSimpleVersion const *b)
Compare two XsSimpleVersion objects.
XSTYPES_DLL_API void XsSimpleVersion_osVersion(XsSimpleVersion *thisPtr)
Platdorm independent request of the OS version. Results are cached and of course platform dependent.
uint8_t m_major
The major part of the version number.
A class to store version information.
int XsSimpleVersion_empty(const XsSimpleVersion *thisPtr)
Test if this is a null-version.
uint8_t m_minor
The minor part of the version number.
bool operator==(const XsFilterProfile &lhs, const XsFilterProfile &rhs)
Returns true if lhs has the same type as rhs.
uint8_t m_revision
The revision number of the version.
struct XsSimpleVersion XsSimpleVersion