mirror of
https://github.com/Halofreak1990/XFXFramework
synced 2024-12-26 13:49:34 +01:00
33 lines
767 B
C
33 lines
767 B
C
|
#include <System/Interfaces.h>
|
||
|
|
||
|
namespace System
|
||
|
{
|
||
|
class String;
|
||
|
|
||
|
// Represents a signed 8-bit integer.
|
||
|
struct SByte : IComparable<SByte>, IEquatable<SByte>, Object
|
||
|
{
|
||
|
private:
|
||
|
sbyte value;
|
||
|
|
||
|
public:
|
||
|
static const sbyte MaxValue;
|
||
|
static const sbyte MinValue;
|
||
|
|
||
|
SByte(const SByte &obj);
|
||
|
SByte(const sbyte &obj);
|
||
|
|
||
|
int CompareTo(const SByte other) const;
|
||
|
bool Equals(const Object* obj) const;
|
||
|
bool Equals(const SByte other) const;
|
||
|
int GetHashCode() const;
|
||
|
int GetType() const;
|
||
|
const char* ToString() const;
|
||
|
static const char* ToString(const sbyte value);
|
||
|
static bool TryParse(const String& str, out sbyte value);
|
||
|
|
||
|
bool operator==(const SByte& right) const;
|
||
|
bool operator!=(const SByte& right) const;
|
||
|
};
|
||
|
}
|