class Graph::NeighborEdgeIteratorT

Declaration

template <bool IsConst,
          bool IsOut,
          typename BaseIt = typename NeighborSetT::const_iterator,
          typename T = std::conditional_t<IsConst,
                                          const EdgeValueType,
                                          EdgeValueType>>
class Graph::NeighborEdgeIteratorT { /* full declaration omitted */ };

Description

An Iterator adapter using an InnerInvGraphT::iterator as a base iterator, and storing the VertexIdentifier the iterator range comes from. The dereference operator is then performed using a pointer to the graph's edge set.

Declared at: llvm/include/llvm/XRay/Graph.h:131

Templates

bool IsConst
bool IsOut
BaseIt = typename NeighborSetT::const_iterator
T = std::conditional_t<IsConst, const EdgeValueType, EdgeValueType>

Member Variables

private llvm::xray::Graph::NeighborEdgeIteratorT:: InternalEdgeMapT* MP
private llvm::xray::Graph::VertexIdentifier SI

Method Overview

Methods

NeighborEdgeIteratorT<IsConst, IsOut, BaseIt, T>()

Declared at: llvm/include/llvm/XRay/Graph.h:154

NeighborEdgeIteratorT<IsConst, IsOut, BaseIt, T>(
    BaseIt _I,
    llvm::xray::Graph::NeighborEdgeIteratorT::
        InternalEdgeMapT* _MP,
    llvm::xray::Graph::VertexIdentifier _SI)

Declared at: llvm/include/llvm/XRay/Graph.h:155

Parameters

BaseIt _I
llvm::xray::Graph::NeighborEdgeIteratorT:: InternalEdgeMapT* _MP
llvm::xray::Graph::VertexIdentifier _SI

template <bool IsConstDest,
          typename = std::enable_if<IsConstDest &&
                                    !IsConst>>
NeighborEdgeIteratorT<
    IsConstDest,
    IsOut,
    BaseIt,
    const llvm::xray::Graph::EdgeValueType>
operator NeighborEdgeIteratorT<
    IsConstDest,
    IsOut,
    type - parameter - 1 - 2,
    const DenseMapPair<
        pair<type - parameter - 0 - 2,
             type - parameter - 0 - 2>,
        type - parameter - 0 - 1>>() const

Declared at: llvm/include/llvm/XRay/Graph.h:148

Templates

bool IsConstDest
= std::enable_if<IsConstDest && !IsConst>