class Graph::NeighborEdgeIteratorT

Declaration

template <bool IsConst,
          bool IsOut,
          typename BaseIt = typename NeighborSetT::const_iterator,
          typename T = typename std::conditional<IsConst,
                                                 const EdgeValueType,
                                                 EdgeValueType>::type>
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 = typename std::conditional<IsConst, const EdgeValueType, EdgeValueType>::type

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 = typename std::enable_if<
              IsConstDest && !IsConst>::type>
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
= typename std::enable_if<IsConstDest && !IsConst>::type