memgraph/include/storage/model/properties/int64.hpp

19 lines
340 B
C++
Raw Normal View History

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