LLVM 20.0.0git
|
A class for ranging over the vertices in the graph. More...
#include "llvm/XRay/Graph.h"
Public Types | |
using | iterator = std::conditional_t< isConst, ConstVertexIterator, VertexIterator > |
using | const_iterator = ConstVertexIterator |
using | GraphT = std::conditional_t< isConst, const Graph, Graph > |
Public Member Functions | |
iterator | begin () |
iterator | end () |
const_iterator | cbegin () const |
const_iterator | cend () const |
const_iterator | begin () const |
const_iterator | end () const |
size_type | size () const |
bool | empty () const |
VertexView (GraphT &_G) | |
A class for ranging over the vertices in the graph.
Like all views in this class it provides methods to get the beginning and past the range iterators for the range, as well as methods to determine the number of elements in the range and whether the range is empty.
using llvm::xray::Graph< VertexAttribute, EdgeAttribute, VI >::VertexView< isConst >::const_iterator = ConstVertexIterator |
using llvm::xray::Graph< VertexAttribute, EdgeAttribute, VI >::VertexView< isConst >::GraphT = std::conditional_t<isConst, const Graph, Graph> |
using llvm::xray::Graph< VertexAttribute, EdgeAttribute, VI >::VertexView< isConst >::iterator = std::conditional_t<isConst, ConstVertexIterator, VertexIterator> |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |