|
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, const std::vector< std::string > &labels, const bool &is_filtered=false, const std::vector< IdType > &filtered_ids={}) noexcept | |
| VertexIter (const VertexIter &other) | |
| Vertex | operator* () noexcept |
| IdType | id () |
| template<typename T > | |
| Result< T > | property (const std::string &property) noexcept |
| Result< bool > | hasLabel (const std::string &label) noexcept |
| Result< std::vector< std::string > > | label () 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 171 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 180 of file graph_reader.h.
|
inline |
Copy constructor.
Definition at line 199 of file graph_reader.h.
|
noexcept |
Determine whether a vertex has the input label.
Definition at line 103 of file graph_reader.cc.
|
inline |
Get the vertex id of the current offset.
Definition at line 223 of file graph_reader.h.
|
noexcept |
Get the labels of the current vertex.
Definition at line 117 of file graph_reader.cc.
|
inlinenoexcept |
The inequality operator.
Definition at line 304 of file graph_reader.h.
|
inlinenoexcept |
Construct and return the vertex of the current offset.
Definition at line 208 of file graph_reader.h.
|
inline |
The add operator.
Definition at line 286 of file graph_reader.h.
|
inlinenoexcept |
The prefix increment operator.
Definition at line 273 of file graph_reader.h.
|
inline |
The postfix increment operator.
Definition at line 279 of file graph_reader.h.
|
inline |
The add-assign operator.
Definition at line 293 of file graph_reader.h.
|
inlinenoexcept |
The equality operator.
Definition at line 299 of file graph_reader.h.
|
inlinenoexcept |
Get the value for a property of the current vertex.
Definition at line 233 of file graph_reader.h.