2017-12-25 23:49:48 +00:00
|
|
|
#ifndef INTEGER_HPP_INCLUDED
|
|
|
|
#define INTEGER_HPP_INCLUDED
|
|
|
|
|
|
|
|
#include <cstdint>
|
|
|
|
#include "Object.hpp"
|
2021-10-06 18:27:01 +00:00
|
|
|
#include "Class.hpp"
|
2017-12-25 23:49:48 +00:00
|
|
|
|
2018-12-27 18:17:09 +00:00
|
|
|
namespace Internal
|
2017-12-25 23:49:48 +00:00
|
|
|
{
|
2018-12-27 18:17:09 +00:00
|
|
|
class Integer : public Object
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
Integer(const void* Obj);
|
|
|
|
Integer(std::int32_t Value);
|
|
|
|
|
|
|
|
Integer() = default;
|
|
|
|
Integer(Integer&& Obj) = default;
|
|
|
|
Integer(const Integer& Obj) = default;
|
|
|
|
Integer& operator=(Integer&& Obj) = default;
|
|
|
|
Integer& operator=(const Integer& Obj) = default;
|
|
|
|
|
2021-10-06 18:27:01 +00:00
|
|
|
static Class GetClass();
|
|
|
|
|
2018-12-27 18:17:09 +00:00
|
|
|
std::int32_t GetIntValue() const;
|
|
|
|
};
|
|
|
|
}
|
2017-12-25 23:49:48 +00:00
|
|
|
|
|
|
|
#endif // INTEGER_HPP_INCLUDED
|