memgraph/include/storage/model/properties/double.hpp
Kruno Tomola Fabro 5d235b51f3 tmp commit
tmp commit

tmp commit v2

Finished reimplementation of propertys.
They now can be placed in a holder with different source of type information.

Tmp commit
2016-09-05 10:02:48 +01:00

20 lines
341 B
C++

#pragma once
#include "storage/model/properties/flags.hpp"
#include "storage/model/properties/floating.hpp"
struct Double : public Floating<Double>
{
public:
const static Type type;
Double(double d) : data(d) {}
double &value() { return data; }
double const &value() const { return data; }
private:
double data;
};