LLVM: llvm::DGEdge< NodeType, EdgeType > Class Template Reference (original) (raw)
Represent an edge in the directed graph. More...
#include "[llvm/ADT/DirectedGraph.h](DirectedGraph%5F8h%5Fsource.html)"
| Public Member Functions | |
|---|---|
| DGEdge ()=delete | |
| DGEdge (NodeType &N) | |
| Create an edge pointing to the given node N. | |
| DGEdge (const DGEdge< NodeType, EdgeType > &E) | |
| DGEdge< NodeType, EdgeType > & | operator= (const DGEdge< NodeType, EdgeType > &E) |
| bool | operator== (const DGEdge &E) const |
| Static polymorphism: delegate implementation (via isEqualTo) to the derived class. | |
| bool | operator!= (const DGEdge &E) const |
| const NodeType & | getTargetNode () const |
| Retrieve the target node this edge connects to. | |
| NodeType & | getTargetNode () |
| void | setTargetNode (const NodeType &N) |
| Set the target node this edge connects to. |
| Protected Attributes | |
|---|---|
| NodeType & | TargetNode |
template<class NodeType, class EdgeType>
class llvm::DGEdge< NodeType, EdgeType >
Represent an edge in the directed graph.
The edge contains the target node it connects to.
Definition at line 28 of file DirectedGraph.h.
◆ DGEdge() [1/3]
template<class NodeType, class EdgeType>
◆ DGEdge() [2/3]
template<class NodeType, class EdgeType>
| llvm::DGEdge< NodeType, EdgeType >::DGEdge ( NodeType & N) | inlineexplicit |
|---|
Create an edge pointing to the given node N.
Definition at line 32 of file DirectedGraph.h.
◆ DGEdge() [3/3]
template<class NodeType, class EdgeType>
◆ getDerived() [1/2]
template<class NodeType, class EdgeType>
| EdgeType & llvm::DGEdge< NodeType, EdgeType >::getDerived ( ) | inlineprotected |
|---|
◆ getDerived() [2/2]
template<class NodeType, class EdgeType>
| const EdgeType & llvm::DGEdge< NodeType, EdgeType >::getDerived ( ) const | inlineprotected |
|---|
◆ getTargetNode() [1/2]
template<class NodeType, class EdgeType>
| NodeType & llvm::DGEdge< NodeType, EdgeType >::getTargetNode ( ) | inline |
|---|
◆ getTargetNode() [2/2]
template<class NodeType, class EdgeType>
◆ isEqualTo()
template<class NodeType, class EdgeType>
◆ operator!=()
template<class NodeType, class EdgeType>
◆ operator=()
template<class NodeType, class EdgeType>
◆ operator==()
template<class NodeType, class EdgeType>
◆ setTargetNode()
template<class NodeType, class EdgeType>
Set the target node this edge connects to.
Definition at line 55 of file DirectedGraph.h.
◆ TargetNode
template<class NodeType, class EdgeType>
The documentation for this class was generated from the following file:
- include/llvm/ADT/DirectedGraph.h