530be96b36
.FIX T67 .FIX T65 Modifed astar main for benchmark. Experimented with map of best visited and confirmed: -it is faster by 25% -observed that it founds best resoult -loses some non best resoults Added convinent method at() to get property from RecordAccessor. Method requires value_ref() method on property object.
19 lines
405 B
C++
19 lines
405 B
C++
#pragma once
|
|
|
|
#include "storage/model/properties/int64.hpp"
|
|
#include "storage/model/properties/integral.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 const &value_ref() const { return value; }
|
|
|
|
int32_t value;
|
|
};
|