memgraph/storage/model/properties/int32.hpp
2016-02-20 17:53:09 +01:00

21 lines
316 B
C++

#pragma once
#include "integral.hpp"
#include "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;
};