#pragma once #include "storage/edge.hpp" #include "storage/edge_record.hpp" #include "storage/record_accessor.hpp" #include "storage/vertex_accessor.hpp" #include "utils/assert.hpp" #include "utils/reference_wrapper.hpp" class EdgeType; using edge_type_ref_t = ReferenceWrapper; class Edges; class EdgeAccessor : public RecordAccessor { public: using RecordAccessor::RecordAccessor; typedef Edge record_t; typedef EdgeRecord record_list_t; void edge_type(EdgeType const &edge_type); const EdgeType &edge_type() const; const VertexAccessor from() const; const VertexAccessor to() const; };