#include <FCDVersion.h>
Public Member Functions | |
FCDVersion () | |
Default Constructor. | |
FCDVersion (const fm::string &v) | |
Constructs a version number structure from a string. | |
FCDVersion (uint32 major, uint32 minor, uint32 revision) | |
Constructs a version number structure from a series of numbers. | |
~FCDVersion () | |
Destructor. | |
void | ParseVersionNumbers (const fm::string &v) |
Extracts the version number from a string in the form of major.minor.revision (ex: 1.4.1). | |
bool | operator< (const FCDVersion &b) const |
Returns whether this version is older than a second version. | |
bool | operator<= (const FCDVersion &b) const |
Returns whether this version is older than or equal to a second version. | |
bool | operator> (const FCDVersion &b) const |
Returns whether this version is newer than a second version. | |
bool | operator>= (const FCDVersion &b) const |
Returns whether this version is newer or equal to a second version. | |
Public Attributes | |
uint32 | major |
The major release number of the version. | |
uint32 | minor |
The minor release number of the version. | |
uint32 | revision |
The revision number of the release. | |
Friends | |
FCOLLADA_EXPORT bool | IsEquivalent (const FCDVersion &a, const FCDVersion &b) |
Returns whether two versions are equivalent. |
Format is major.minor.revision.
|
Default Constructor. Leaves all the numbers at zero. |
|
Constructs a version number structure from a string.
|
|
Constructs a version number structure from a series of numbers.
|
|
Returns whether this version is older than a second version.
|
|
Returns whether this version is older than or equal to a second version.
|
|
Returns whether this version is newer than a second version.
|
|
Returns whether this version is newer or equal to a second version.
|
|
Extracts the version number from a string in the form of major.minor.revision (ex: 1.4.1).
|
|
Returns whether two versions are equivalent.
|