5d235b51f3
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
20 lines
341 B
C++
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;
|
|
};
|