Sleeping Wombat Common Library
0.50.0
swCommonLibrary
|
Standard version structure. More...
#include <Version.h>
Public Member Functions | |
Version () | |
Contructs Lowest version. | |
Version (const std::string &version) | |
bool | operator< (const Version &other) |
Version comparision. | |
bool | operator== (const Version &other) |
Version comparision. | |
Public Attributes | |
uint32 | Major |
uint32 | Minor |
uint32 | Revision |
uint32 | Build |
Friends | |
std::ostream & | operator<< (std::ostream &stream, const Version &ver) |
Standard version structure.
Based on: http://sourcey.com/comparing-version-strings-in-cpp/