memgraph/include/storage/model/properties/int32.hpp
2016-08-10 09:39:02 +01:00

21 lines
366 B
C++

#pragma once
#include "storage/model/properties/integral.hpp"
#include "storage/model/properties/int64.hpp"
class Int32 : public Integral<Int32>
{
public:
static constexpr Flags type = Flags::Int32;
Int32(int32_t value) : Integral(Flags::Int32), value(value) {}
operator Int64() const
{
return Int64(value);
}
int32_t value;
};