class DGEdge

Declaration

template <class NodeType, class EdgeType>
class DGEdge { /* full declaration omitted */ };

Description

Represent an edge in the directed graph. The edge contains the target node it connects to.

Declared at: llvm/include/llvm/ADT/DirectedGraph.h:27

Templates

NodeType
EdgeType

Member Variables

protected NodeType& TargetNode

Method Overview

Methods

DGEdge<NodeType, EdgeType>()

Declared at: llvm/include/llvm/ADT/DirectedGraph.h:29

DGEdge<NodeType, EdgeType>(NodeType& N)

Description

Create an edge pointing to the given node \p N.

Declared at: llvm/include/llvm/ADT/DirectedGraph.h:31

Parameters

NodeType& N

DGEdge<NodeType, EdgeType>(
    const DGEdge<NodeType, EdgeType>& E)

Declared at: llvm/include/llvm/ADT/DirectedGraph.h:32

Parameters

const DGEdge<NodeType, EdgeType>& E

EdgeType& getDerived()

Declared at: llvm/include/llvm/ADT/DirectedGraph.h:59

const EdgeType& getDerived() const

Declared at: llvm/include/llvm/ADT/DirectedGraph.h:60

const NodeType& getTargetNode() const

Description

Retrieve the target node this edge connects to.

Declared at: llvm/include/llvm/ADT/DirectedGraph.h:45

NodeType& getTargetNode()

Declared at: llvm/include/llvm/ADT/DirectedGraph.h:46

bool isEqualTo(const EdgeType& E) const

Declared at: llvm/include/llvm/ADT/DirectedGraph.h:56

Parameters

const EdgeType& E

void setTargetNode(const NodeType& N)

Description

Set the target node this edge connects to.

Declared at: llvm/include/llvm/ADT/DirectedGraph.h:52

Parameters

const NodeType& N