|
Py2Cpp 1.6.3; VERSION ${PROJECT_VERSION}
|
Vertex view for Boost Graph Library graphs. More...
#include <nx2bgl.hpp>


Public Member Functions | |
| VertexView (Graph &&gra) noexcept | |
| Construct a new Vertex View object. | |
| auto | begin () const |
| Get iterator to the beginning of vertices. | |
| auto | end () const |
| Get iterator to the end of vertices. | |
| auto | cbegin () const |
| Get const iterator to the beginning of vertices. | |
| auto | cend () const |
| Get const iterator to the end of vertices. | |
Vertex view for Boost Graph Library graphs.
Provides iterable access to vertices in a BGL graph. This class wraps a graph and provides iterator interfaces for traversing vertices.
| Graph | The Boost Graph Library graph type |
|
inlineexplicitnoexcept |
Construct a new Vertex View object.
Creates a vertex view from an existing graph by moving it into this wrapper.
| [in] | gra | The graph to wrap (moved into this VertexView) |
|
inline |
Get iterator to the beginning of vertices.
Returns an iterator to the first vertex in the graph.
|
inline |
Get const iterator to the beginning of vertices.
Returns a const iterator to the first vertex in the graph.
|
inline |
Get const iterator to the end of vertices.
Returns a const iterator past the last vertex in the graph.
|
inline |
Get iterator to the end of vertices.
Returns an iterator past the last vertex in the graph.