LLVM  5.0.0
Public Types | Public Member Functions | List of all members
llvm::xray::Graph< VertexAttribute, EdgeAttribute, VI >::InOutEdgeView< isConst, isOut > Class Template Reference

A class for ranging over the incoming edges incident to a vertex. More...

#include "llvm/XRay/Graph.h"

Public Types

using iterator = NeighborEdgeIteratorT< isConst, isOut >
 
using const_iterator = NeighborEdgeIteratorT< true, isOut >
 
using GraphT = typename std::conditional< isConst, const Graph, Graph >::type
 
using InternalEdgeMapT = typename std::conditional< isConst, const EdgeMapT, EdgeMapT >::type
 

Public Member Functions

iterator begin ()
 
const_iterator cbegin () const
 
const_iterator begin () const
 
iterator end ()
 
const_iterator cend () const
 
const_iterator end () const
 
size_type size () const
 
bool empty () const
 
 InOutEdgeView (GraphT &G, VertexIdentifier A)
 

Detailed Description

template<typename VertexAttribute, typename EdgeAttribute, typename VI = int32_t>
template<bool isConst, bool isOut>
class llvm::xray::Graph< VertexAttribute, EdgeAttribute, VI >::InOutEdgeView< isConst, isOut >

A class for ranging over the incoming edges incident to a vertex.

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.

Definition at line 199 of file Graph.h.

Member Typedef Documentation

template<typename VertexAttribute , typename EdgeAttribute , typename VI = int32_t>
template<bool isConst, bool isOut>
using llvm::xray::Graph< VertexAttribute, EdgeAttribute, VI >::InOutEdgeView< isConst, isOut >::const_iterator = NeighborEdgeIteratorT<true, isOut>

Definition at line 202 of file Graph.h.

template<typename VertexAttribute , typename EdgeAttribute , typename VI = int32_t>
template<bool isConst, bool isOut>
using llvm::xray::Graph< VertexAttribute, EdgeAttribute, VI >::InOutEdgeView< isConst, isOut >::GraphT = typename std::conditional<isConst, const Graph, Graph>::type

Definition at line 203 of file Graph.h.

template<typename VertexAttribute , typename EdgeAttribute , typename VI = int32_t>
template<bool isConst, bool isOut>
using llvm::xray::Graph< VertexAttribute, EdgeAttribute, VI >::InOutEdgeView< isConst, isOut >::InternalEdgeMapT = typename std::conditional<isConst, const EdgeMapT, EdgeMapT>::type

Definition at line 205 of file Graph.h.

template<typename VertexAttribute , typename EdgeAttribute , typename VI = int32_t>
template<bool isConst, bool isOut>
using llvm::xray::Graph< VertexAttribute, EdgeAttribute, VI >::InOutEdgeView< isConst, isOut >::iterator = NeighborEdgeIteratorT<isConst, isOut>

Definition at line 201 of file Graph.h.

Constructor & Destructor Documentation

template<typename VertexAttribute , typename EdgeAttribute , typename VI = int32_t>
template<bool isConst, bool isOut>
llvm::xray::Graph< VertexAttribute, EdgeAttribute, VI >::InOutEdgeView< isConst, isOut >::InOutEdgeView ( GraphT &  G,
VertexIdentifier  A 
)
inline

Definition at line 254 of file Graph.h.

Member Function Documentation

template<typename VertexAttribute , typename EdgeAttribute , typename VI = int32_t>
template<bool isConst, bool isOut>
iterator llvm::xray::Graph< VertexAttribute, EdgeAttribute, VI >::InOutEdgeView< isConst, isOut >::begin ( )
inline

Definition at line 213 of file Graph.h.

References A.

template<typename VertexAttribute , typename EdgeAttribute , typename VI = int32_t>
template<bool isConst, bool isOut>
const_iterator llvm::xray::Graph< VertexAttribute, EdgeAttribute, VI >::InOutEdgeView< isConst, isOut >::begin ( ) const
inline

Definition at line 227 of file Graph.h.

template<typename VertexAttribute , typename EdgeAttribute , typename VI = int32_t>
template<bool isConst, bool isOut>
const_iterator llvm::xray::Graph< VertexAttribute, EdgeAttribute, VI >::InOutEdgeView< isConst, isOut >::cbegin ( ) const
inline

Definition at line 220 of file Graph.h.

References A.

template<typename VertexAttribute , typename EdgeAttribute , typename VI = int32_t>
template<bool isConst, bool isOut>
const_iterator llvm::xray::Graph< VertexAttribute, EdgeAttribute, VI >::InOutEdgeView< isConst, isOut >::cend ( ) const
inline

Definition at line 235 of file Graph.h.

References A.

template<typename VertexAttribute , typename EdgeAttribute , typename VI = int32_t>
template<bool isConst, bool isOut>
bool llvm::xray::Graph< VertexAttribute, EdgeAttribute, VI >::InOutEdgeView< isConst, isOut >::empty ( ) const
inline

Definition at line 252 of file Graph.h.

References A.

template<typename VertexAttribute , typename EdgeAttribute , typename VI = int32_t>
template<bool isConst, bool isOut>
iterator llvm::xray::Graph< VertexAttribute, EdgeAttribute, VI >::InOutEdgeView< isConst, isOut >::end ( )
inline

Definition at line 229 of file Graph.h.

References A.

template<typename VertexAttribute , typename EdgeAttribute , typename VI = int32_t>
template<bool isConst, bool isOut>
const_iterator llvm::xray::Graph< VertexAttribute, EdgeAttribute, VI >::InOutEdgeView< isConst, isOut >::end ( ) const
inline

Definition at line 242 of file Graph.h.

template<typename VertexAttribute , typename EdgeAttribute , typename VI = int32_t>
template<bool isConst, bool isOut>
size_type llvm::xray::Graph< VertexAttribute, EdgeAttribute, VI >::InOutEdgeView< isConst, isOut >::size ( ) const
inline

Definition at line 244 of file Graph.h.

References A, and I.


The documentation for this class was generated from the following file: