mirror of
https://github.com/Halofreak1990/XFXFramework
synced 2024-12-26 13:49:34 +01:00
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_
|