Sleeping Wombat Common Library  0.50.0
swCommonLibrary
Public Member Functions | Public Attributes | Friends | List of all members
Version Struct Reference

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)
 

Detailed Description

Standard version structure.

Based on: http://sourcey.com/comparing-version-strings-in-cpp/


The documentation for this struct was generated from the following file: