EHS
Version.h
Go to the documentation of this file.
1#pragma once
2
3#include "Types.h"
4
5namespace ehs
6{
8 class EHS_LIB_IO Version
9 {
10 public:
14
16 Version();
17
22 Version(const UInt_32 major, const UInt_32 minor, const UInt_32 patch);
23
26 Version(const Version& version);
27
31 Version& operator=(const Version& version);
32
33 bool operator==(const Version& version) const;
34
35 bool operator!=(const Version& version) const;
36
37 unsigned int operator[](const UInt_32 i) const;
38
39 unsigned int& operator[](const UInt_32 i);
40 };
41}
bool operator!=(const T *const first, const ehs::Str< T, N > &second)
Definition: Str.h:1916
bool operator==(const T *const first, const ehs::Str< T, N > &second)
Definition: Str.h:1906
A helper class for storing version major, minor and patch.
Definition: Version.h:9
UInt_32 patch
Definition: Version.h:13
UInt_32 minor
Definition: Version.h:12
UInt_32 major
Definition: Version.h:11
Definition: Anchor.h:6
unsigned int UInt_32
Definition: Types.h:49