Apache GraphAr C++ Library
The C++ Library for Apache GraphAr
|
The iterator for traversing a type of vertices. More...
#include <graph_reader.h>
Public Member Functions | |
VertexIter (const std::shared_ptr< VertexInfo > &vertex_info, const std::string &prefix, IdType offset) noexcept | |
VertexIter (const VertexIter &other) | |
Vertex | operator* () noexcept |
IdType | id () |
template<typename T > | |
Result< T > | property (const std::string &property) noexcept |
VertexIter & | operator++ () noexcept |
VertexIter | operator++ (int) |
VertexIter | operator+ (IdType offset) |
VertexIter & | operator+= (IdType offset) |
bool | operator== (const VertexIter &rhs) const noexcept |
bool | operator!= (const VertexIter &rhs) const noexcept |
The iterator for traversing a type of vertices.
Definition at line 165 of file graph_reader.h.
|
inlineexplicitnoexcept |
Initialize the iterator.
vertex_info | The vertex info that describes the vertex type. |
prefix | The absolute prefix. |
offset | The current offset of the readers. |
Definition at line 174 of file graph_reader.h.
|
inline |
Copy constructor.
Definition at line 183 of file graph_reader.h.
|
inline |
Get the vertex id of the current offset.
Definition at line 195 of file graph_reader.h.
|
inlinenoexcept |
The inequality operator.
Definition at line 250 of file graph_reader.h.
|
inlinenoexcept |
Construct and return the vertex of the current offset.
Definition at line 187 of file graph_reader.h.
|
inline |
The add operator.
Definition at line 232 of file graph_reader.h.
|
inlinenoexcept |
The prefix increment operator.
Definition at line 219 of file graph_reader.h.
|
inline |
The postfix increment operator.
Definition at line 225 of file graph_reader.h.
|
inline |
The add-assign operator.
Definition at line 239 of file graph_reader.h.
|
inlinenoexcept |
The equality operator.
Definition at line 245 of file graph_reader.h.
|
inlinenoexcept |
Get the value for a property of the current vertex.
Definition at line 199 of file graph_reader.h.