2016-02-21 00:53:09 +08:00
|
|
|
#pragma once
|
|
|
|
|
2016-09-05 17:02:48 +08:00
|
|
|
#include "storage/model/properties/flags.hpp"
|
2016-08-10 16:39:02 +08:00
|
|
|
#include "storage/model/properties/integral.hpp"
|
2016-02-21 00:53:09 +08:00
|
|
|
|
|
|
|
class Int64 : public Integral<Int64>
|
|
|
|
{
|
|
|
|
public:
|
2016-09-05 17:02:48 +08:00
|
|
|
const static Type type;
|
2016-02-21 00:53:09 +08:00
|
|
|
|
2016-09-05 17:02:48 +08:00
|
|
|
Int64(int64_t d) : data(d) {}
|
2016-02-21 00:53:09 +08:00
|
|
|
|
2016-09-05 17:02:48 +08:00
|
|
|
int64_t &value() { return data; }
|
2016-08-15 20:21:38 +08:00
|
|
|
|
2016-09-05 17:02:48 +08:00
|
|
|
int64_t const &value() const { return data; }
|
|
|
|
private:
|
|
|
|
int64_t data;
|
2016-02-21 00:53:09 +08:00
|
|
|
};
|