mirror of
https://github.com/Halofreak1990/XFXFramework
synced 2024-12-26 13:49:34 +01:00
Began transforming of current API to represent XNA 4.0, which is cleaner. Dictionary<TKey, TValue> should now work (sort of-- need to implement resizing and enumerating) Currently hunting down GraphicsDevice initialization Up next: (hopefully successful) rendering of primitives
39 lines
900 B
C++
39 lines
900 B
C++
#ifndef _SYSTEM_INT64_
|
|
#define _SYSTEM_INT64_
|
|
|
|
#include <System/Interfaces.h>
|
|
|
|
namespace System
|
|
{
|
|
class String;
|
|
|
|
// Represents a signed, 64-bit integer.
|
|
struct Int64 : IComparable<Int64>, IEquatable<Int64>, Object
|
|
{
|
|
private:
|
|
long long value;
|
|
|
|
public:
|
|
static const long long MaxValue;
|
|
static const long long MinValue;
|
|
long long getValue() const;
|
|
|
|
Int64(const Int64 &obj);
|
|
Int64(const long long &obj);
|
|
|
|
int CompareTo(const Int64 other) const;
|
|
bool Equals(const Object* obj) const;
|
|
bool Equals(const Int64 other) const;
|
|
int GetHashCode() const;
|
|
int GetType() const;
|
|
const char* ToString() const;
|
|
static const char* ToString(const long long value);
|
|
static bool TryParse(const String& str, out long long result);
|
|
|
|
bool operator==(const Int64 right) const;
|
|
bool operator!=(const Int64 right) const;
|
|
};
|
|
}
|
|
|
|
#endif //_SYSTEM_INT64_
|