memgraph/include/storage/model/edge_model.hpp

18 lines
452 B
C++
Raw Normal View History

2015-12-06 23:37:42 +08:00
#pragma once
// #include "mvcc/version_list.hpp"
// #include "storage/edge_type/edge_type.hpp"
#include "storage/model/property_model.hpp"
#include "storage/type_group_edge.hpp"
2015-12-06 23:37:42 +08:00
class EdgeType;
class EdgeModel : public PropertyModel<TypeGroupEdge>
2015-12-06 23:37:42 +08:00
{
public:
2016-07-07 00:37:05 +08:00
// TODO: here should be the reference
// but something that is copyable
// because this model is copied all the time (mvcc)
const EdgeType *edge_type{nullptr};
2015-12-06 23:37:42 +08:00
};