mirror of
https://github.com/Halofreak1990/XFXFramework
synced 2024-12-26 13:49:34 +01:00
Added 'ValueTypes' Boolean and Byte Added System.Collections.Generic.Stack (not used, or tested, but could be useful in final product)
34 lines
565 B
C++
34 lines
565 B
C++
#ifndef _BYTE_
|
|
#define _BYTE_
|
|
|
|
#include "Types.h"
|
|
|
|
namespace System
|
|
{
|
|
struct Byte
|
|
{
|
|
private:
|
|
byte value;
|
|
|
|
public:
|
|
static const byte MaxValue;
|
|
static const byte MinValue;
|
|
|
|
Byte(const byte &obj);
|
|
|
|
int CompareTo(byte other);
|
|
int CompareTo(Byte other);
|
|
char* ToString();
|
|
static char* ToString(byte value);
|
|
|
|
bool operator!=(byte right);
|
|
bool operator!=(Byte right);
|
|
bool operator==(byte right);
|
|
bool operator==(Byte right);
|
|
Byte operator =(byte right);
|
|
Byte operator =(Byte right);
|
|
};
|
|
}
|
|
|
|
#endif //_BYTE_
|