memgraph/storage/edge.hpp
2015-12-06 16:37:42 +01:00

24 lines
469 B
C++

#pragma once
#include "model/properties/jsonwriter.hpp"
#include "model/edge_model.hpp"
#include "mvcc/record.hpp"
class Edge;
class Edge : public mvcc::Record<Edge>
{
public:
Edge() = default;
Edge(const EdgeModel& data) : data(data) {}
Edge(EdgeModel&& data) : data(std::move(data)) {}
Edge(const Edge&) = delete;
Edge(Edge&&) = delete;
Edge& operator=(const Edge&) = delete;
Edge& operator=(Edge&&) = delete;
EdgeModel data;
};