39 if( Major < 0 ) Major = 0;
40 if( Minor < 0 ) Minor = 0;
41 if( Revision < 0 ) Revision = 0;
42 if( Build < 0 ) Build = 0;
48 if( Major < other.
Major )
50 else if( Major == other.
Major )
52 if( Minor < other.
Minor )
54 else if( Minor == other.
Minor )
58 else if( Build == other.
Build && Build < other.
Build )
69 return Major == other.
Major
70 && Minor == other.
Minor
72 && Build == other.
Build;
uint32 Major
Definition: Version.h:19
bool operator==(const Version &other)
Version comparision.
Definition: Version.h:67
uint32 Minor
Definition: Version.h:20
friend std::ostream & operator<<(std::ostream &stream, const Version &ver)
Definition: Version.h:76
Version(const std::string &version)
Definition: Version.h:36
Plik zawiera definicje podstawowych typów zmiennych.
uint32_t uint32
Definition: TypesDefinitions.h:31
bool operator<(const Version &other)
Version comparision.
Definition: Version.h:46
Version()
Contructs Lowest version.
Definition: Version.h:27
uint32 Build
Definition: Version.h:22
uint32 Revision
Definition: Version.h:21
Standard version structure.
Definition: Version.h:17