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:28

Templates

NodeType
EdgeType

Member Variables

protected NodeType& TargetNode

Method Overview

Methods

DGEdge<NodeType, EdgeType>()

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

DGEdge<NodeType, EdgeType>(NodeType& N)

Description

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

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

Parameters

NodeType& N

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

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

Parameters

const DGEdge<NodeType, EdgeType>& E

EdgeType& getDerived()

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

const EdgeType& getDerived() const

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

const NodeType& getTargetNode() const

Description

Retrieve the target node this edge connects to.

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

NodeType& getTargetNode()

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

bool isEqualTo(const EdgeType& E) const

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

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:55

Parameters

const NodeType& N