A very basic class for expressing an API or syntax version. More...
#include <version.h>
Public Member Functions | |
| SimpleVersion () | |
| Blank Constructor. | |
| SimpleVersion (const SimpleVersion &Other) | |
| Copy Constructor. More... | |
| SimpleVersion (const String &ToParse) | |
| String Constructor. More... | |
| SimpleVersion (const UInt16 VerMajor, const UInt16 VerMinor) | |
| Number Constructor. More... | |
| Boole | FromString (const String &ToParse, const Char8 Delim= '.') |
| Parses a String expressing a simple version. More... | |
| Boole | operator!= (const SimpleVersion &Other) const |
| Inequality comparison operator. More... | |
| Boole | operator< (const SimpleVersion &Other) const |
| Less than comparison operator. More... | |
| Boole | operator<= (const SimpleVersion &Other) const |
| Less than or equal to comparison operator. More... | |
| void | operator= (const SimpleVersion &Other) |
| Assignment operator. More... | |
| Boole | operator== (const SimpleVersion &Other) const |
| Equality comparison operator. More... | |
| Boole | operator> (const SimpleVersion &Other) const |
| Greater than comparison operator. More... | |
| Boole | operator>= (const SimpleVersion &Other) const |
| Greater than or equal to comparison operator. More... | |
| String | ToString (const Char8 Delim= '.') const |
| Converts this version into a String. More... | |
Public Attributes | |
| UInt16 | Major |
| The Major component of the version to be expressed. | |
| UInt16 | Minor |
| The Minor component of the version to be expressed. | |
Protected Member Functions | |
| void | ConvertToUInt16 (const String &ToConvert, UInt16 &Var) |
| Convenience method for converting text to numbers. More... | |
A very basic class for expressing an API or syntax version.
|
inline |
Copy Constructor.
| Other | The other SimpleVersion to be copied. |
|
inline |
|
inlineprotected |
Convenience method for converting text to numbers.
| ToConvert | The String to be converted. |
| Var | The UInt16 to populate from the provided String. |
|
inline |
Parses a String expressing a simple version.
| ToParse | The String to be parsed. |
| Delim | The delimiter to be used for separating the version components. |
|
inline |
Inequality comparison operator.
| Other | The other SimpleVersion to be compared to. |
|
inline |
Less than comparison operator.
| Other | The other SimpleVersion to be compared to. |
|
inline |
Less than or equal to comparison operator.
| Other | The other SimpleVersion to be compared to. |
|
inline |
Assignment operator.
| Other | The other SimpleVersion to assign to this. |
|
inline |
Equality comparison operator.
| Other | The other SimpleVersion to be compared to. |
|
inline |
Greater than comparison operator.
| Other | The other SimpleVersion to be compared to. |
|
inline |
Greater than or equal to comparison operator.
| Other | The other SimpleVersion to be compared to. |
1.8.9.1. Thanks to the
Open Icon Library
for help with some of the icons.