1
0
mirror of https://github.com/Halofreak1990/XFXFramework synced 2024-12-26 13:49:34 +01:00

49 lines
1.5 KiB
C
Raw Permalink Normal View History

/*****************************************************************************
* Version.h *
* *
* XFX System::Version definition file *
* Copyright (c) XFX Team. All Rights Reserved *
*****************************************************************************/
#ifndef _SYSTEM_VERSION_
#define _SYSTEM_VERSION_
#include "Interfaces.h"
namespace System
{
/**
* Represents the version number for a common language runtime assembly.
*/
class Version : public IComparable<Version>, public IEquatable<Version>, public Object
{
public:
const int Build;
const int Major;
const int Minor;
const int Revision;
Version(const int major, const int minor);
Version(const int major, const int minor, const int build);
Version(const int major, const int minor, const int build, const int revision);
Version(const Version &obj);
Version Clone() const;
int CompareTo(const Version value) const;
bool Equals(Object const * const obj) const;
bool Equals(const Version obj) const;
int GetHashCode() const;
static const Type& GetType();
const String ToString() const;
const String ToString(const int fieldCount) const;
bool operator !=(const Version& other) const;
bool operator <(const Version& other) const;
bool operator <=(const Version& other) const;
bool operator ==(const Version& other) const;
bool operator >(const Version& other) const;
bool operator >=(const Version& other) const;
};
}
#endif //_SYSTEM_VERSION_