memgraph/include/storage/edge.hpp
Kruno Tomola Fabro d806d635f9 Added documentation.
Fixed test for index.
2016-09-18 23:22:36 +01:00

23 lines
446 B
C++

#pragma once
#include "mvcc/record.hpp"
#include "storage/model/edge_model.hpp"
class Edge : public mvcc::Record<Edge>
{
public:
class Accessor;
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;
};