2015-12-08 04:51:55 +08:00
|
|
|
#pragma once
|
2015-08-30 07:12:46 +08:00
|
|
|
|
2016-02-14 00:59:48 +08:00
|
|
|
#include <cassert>
|
2016-08-18 22:34:36 +08:00
|
|
|
#include <memory>
|
2016-02-21 00:53:09 +08:00
|
|
|
#include <ostream>
|
2016-08-18 22:34:36 +08:00
|
|
|
#include <string>
|
2016-07-02 05:05:03 +08:00
|
|
|
#include <vector>
|
2015-08-30 07:12:46 +08:00
|
|
|
|
2016-08-18 22:34:36 +08:00
|
|
|
#include "storage/model/properties/flags.hpp"
|
2016-09-05 17:02:48 +08:00
|
|
|
#include "storage/model/properties/property_holder.hpp"
|
2015-08-31 03:23:48 +08:00
|
|
|
|
2016-02-14 00:59:48 +08:00
|
|
|
class Null;
|
|
|
|
|
2016-09-05 17:02:48 +08:00
|
|
|
// Property Class designated for creation outside the database.
|
|
|
|
class Property : public PropertyHolder<Type>
|
2015-08-30 07:12:46 +08:00
|
|
|
{
|
2016-02-14 00:59:48 +08:00
|
|
|
public:
|
2016-09-05 17:02:48 +08:00
|
|
|
using PropertyHolder<Type>::PropertyHolder;
|
2015-10-14 02:17:45 +08:00
|
|
|
};
|
|
|
|
|
2016-09-05 17:02:48 +08:00
|
|
|
using properties_t = std::vector<Property>;
|