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
- public DGEdge<NodeType, EdgeType>()
- public DGEdge<NodeType, EdgeType>(NodeType & N)
- public DGEdge<NodeType, EdgeType>(const DGEdge<NodeType, EdgeType> & E)
- protected EdgeType & getDerived()
- protected const EdgeType & getDerived() const
- public const NodeType & getTargetNode() const
- public NodeType & getTargetNode()
- protected bool isEqualTo(const EdgeType & E) const
- public void setTargetNode(const NodeType & N)
Methods
¶DGEdge<NodeType, EdgeType>()
DGEdge<NodeType, EdgeType>()
Declared at: llvm/include/llvm/ADT/DirectedGraph.h:29
¶DGEdge<NodeType, EdgeType>(NodeType& N)
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)
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()
EdgeType& getDerived()
Declared at: llvm/include/llvm/ADT/DirectedGraph.h:59
¶const EdgeType& getDerived() const
const EdgeType& getDerived() const
Declared at: llvm/include/llvm/ADT/DirectedGraph.h:60
¶const NodeType& getTargetNode() const
const NodeType& getTargetNode() const
Description
Retrieve the target node this edge connects to.
Declared at: llvm/include/llvm/ADT/DirectedGraph.h:45
¶NodeType& getTargetNode()
NodeType& getTargetNode()
Declared at: llvm/include/llvm/ADT/DirectedGraph.h:46
¶bool isEqualTo(const EdgeType& E) const
bool isEqualTo(const EdgeType& E) const
Declared at: llvm/include/llvm/ADT/DirectedGraph.h:56
Parameters
- const EdgeType& E
¶void setTargetNode(const NodeType& N)
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