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)
30 lines
528 B
C++
30 lines
528 B
C++
#ifndef _BOOLEAN_
|
|
#define _BOOLEAN_
|
|
|
|
namespace System
|
|
{
|
|
struct Boolean
|
|
{
|
|
private:
|
|
bool value;
|
|
|
|
public:
|
|
Boolean(const bool &obj); // Copy constructor
|
|
|
|
static const char* True;
|
|
static const char* False;
|
|
|
|
char* ToString();
|
|
static char* ToString(bool value);
|
|
|
|
bool operator!=(bool right);
|
|
bool operator!=(Boolean right);
|
|
bool operator==(bool right);
|
|
bool operator==(Boolean right);
|
|
Boolean operator =(bool right);
|
|
Boolean operator =(Boolean right);
|
|
};
|
|
}
|
|
|
|
#endif //_BOOLEAN_
|