Go to the documentation of this file.
81 #define XSVERSION_INITIALIZER { 0, 0, 0, 0, 0, XsString_INITIALIZER }
109 explicit XsVersion(
int maj = 0,
int min = 0,
int rev = 0,
int build = 0,
int reposVersion = 0,
const XsString& extra =
XsString())
153 inline bool isEqual(
const XsVersion& other)
const
165 inline bool operator != (
const XsVersion& other)
const
171 inline bool operator < (
const XsVersion& other)
const
190 inline bool operator <= (
const XsVersion& other)
const
209 inline bool operator > (
const XsVersion& other)
const
211 return !(*
this <= other);
215 inline bool operator >= (
const XsVersion& other)
const
217 return !(*
this < other);
221 inline bool empty()
const
235 inline XsString toSimpleString()
const
251 inline int major()
const
256 inline int minor()
const
261 inline int revision()
const
266 inline int build()
const
271 inline int reposVersion()
const
276 inline const XsString& extra()
const
282 inline void setMajor(
int major)
287 inline void setMinor(
int minor)
292 inline void setRevision(
int revision)
297 inline void setBuild(
int build)
302 inline void setReposVersion(
int reposVersion)
307 inline void setExtra(
const XsString& extra)
int m_revision
The revision number of the version.
XsString m_extra
Storage for some extra information about the version.
void XsVersion_toString(const XsVersion *thisPtr, XsString *version)
Get a string with the version expressed in a readable format.
int m_build
The build number for this build.
struct XsVersion XsVersion
void XsVersion_toSimpleVersion(const XsVersion *thisPtr, XsSimpleVersion *simpleVersion)
Create a XsSimpleVersion (version) from a XsVersion.
A class to store version information.
int XsVersion_empty(const XsVersion *thisPtr)
Test if this is a null-version.
bool operator==(const XsFilterProfile &lhs, const XsFilterProfile &rhs)
Returns true if lhs has the same type as rhs.
void XsVersion_toSimpleString(const XsVersion *thisPtr, XsString *version)
Get a string with the version expressed in a readable format.
void XsVersion_fromSimpleVersion(XsVersion *thisPtr, const XsSimpleVersion *simpleVersion)
Create a XsVersion a XsSimpleVersion, simpleVersion.
int m_minor
The minor part of the version number.
A class to store version information.
void XsVersion_fromString(XsVersion *thisPtr, const XsString *version)
Set the version to the values in the string.
int m_major
The major part of the version number.
A 0-terminated managed string of characters.
int m_reposVersion
The source revision used for this build.