#include <Node.h>
Public Types | |
| typedef boost::shared_ptr < PhysicalNode > | Ptr |
Public Member Functions | |
| virtual Address | addr () const |
| virtual std::string | format () const |
| virtual bool | isVirtual () const |
| virtual | ~PhysicalNode () |
| virtual Node::Ptr | copy () |
| void | ins (EdgeIterator &begin, EdgeIterator &end) |
| void | ins (NodeIterator &begin, NodeIterator &end) |
| void | outs (EdgeIterator &begin, EdgeIterator &end) |
| void | outs (NodeIterator &begin, NodeIterator &end) |
| bool | hasInEdges () |
| bool | hasOutEdges () |
| void | deleteInEdge (EdgeIterator e) |
| void | deleteOutEdge (EdgeIterator e) |
| void | forwardClosure (NodeIterator &begin, NodeIterator &end) |
| void | backwardClosure (NodeIterator &begin, NodeIterator &end) |
| GraphPtr | forwardSubgraph () |
| GraphPtr | backwardSubgraph () |
| virtual std::string | DOTshape () const |
| virtual std::string | DOTrank () const |
| virtual std::string | DOTname () const |
| virtual bool | DOTinclude () const |
Static Public Member Functions | |
| static Node::Ptr | createNode (Address addr) |
Protected Member Functions | |
| PhysicalNode (Address addr) | |
| void | addInEdge (const EdgePtr in) |
| void | addOutEdge (const EdgePtr out) |
Protected Attributes | |
| Address | addr_ |
| EdgeSet | ins_ |
| EdgeSet | outs_ |
Static Protected Attributes | |
| static const Address | INVALID_ADDR = (Address) -1 |
Definition at line 112 of file Node.h.
| typedef boost::shared_ptr<PhysicalNode> Dyninst::PhysicalNode::Ptr |
Reimplemented from Dyninst::Node.
| virtual Dyninst::PhysicalNode::~PhysicalNode | ( | ) | [inline, virtual] |
| Dyninst::PhysicalNode::PhysicalNode | ( | Address | addr | ) | [inline, protected] |
Definition at line 129 of file Node.h.
Referenced by copy(), and createNode().
| void Node::addInEdge | ( | const EdgePtr | in | ) | [protected, inherited] |
Definition at line 47 of file Node.C.
References Dyninst::Node::ins_.
| void Node::addOutEdge | ( | const EdgePtr | out | ) | [protected, inherited] |
Definition at line 51 of file Node.C.
References Dyninst::Node::outs_.
| virtual Address Dyninst::PhysicalNode::addr | ( | ) | const [inline, virtual] |
Reimplemented from Dyninst::Node.
| void Node::backwardClosure | ( | NodeIterator & | begin, | |
| NodeIterator & | end | |||
| ) | [inherited] |
Definition at line 100 of file Node.C.
References Dyninst::NodeSearchIterator::breadth, Dyninst::Node::hasInEdges(), Dyninst::NodeSearchIterator::in, and Dyninst::Node::ins().
| Graph::Ptr Node::backwardSubgraph | ( | ) | [inherited] |
Definition at line 272 of file Node.C.
References Dyninst::NodeIterator::copy(), Dyninst::Node::copy(), Dyninst::Graph::createGraph(), and Dyninst::Node::ins_.
| Node::Ptr PhysicalNode::copy | ( | ) | [virtual] |
Implements Dyninst::Node.
Definition at line 118 of file Node.C.
References addr(), and PhysicalNode().
Definition at line 114 of file Node.C.
References PhysicalNode().
| void Node::deleteInEdge | ( | EdgeIterator | e | ) | [inherited] |
Definition at line 320 of file Node.C.
References Dyninst::Node::ins_.
| void Node::deleteOutEdge | ( | EdgeIterator | e | ) | [inherited] |
Definition at line 324 of file Node.C.
References Dyninst::Node::outs_.
| virtual bool Dyninst::Node::DOTinclude | ( | ) | const [inline, virtual, inherited] |
| std::string Node::DOTname | ( | ) | const [virtual, inherited] |
Definition at line 121 of file DOT.C.
References Dyninst::Node::format().
| std::string Node::DOTrank | ( | ) | const [virtual, inherited] |
Definition at line 130 of file DOT.C.
References Dyninst::Node::format().
| std::string Node::DOTshape | ( | ) | const [virtual, inherited] |
Reimplemented in Dyninst::VirtualNode.
Definition at line 125 of file DOT.C.
References Dyninst::Node::format().
| std::string PhysicalNode::format | ( | ) | const [virtual] |
| void Node::forwardClosure | ( | NodeIterator & | begin, | |
| NodeIterator & | end | |||
| ) | [inherited] |
Definition at line 87 of file Node.C.
References Dyninst::NodeSearchIterator::breadth, Dyninst::Node::hasOutEdges(), Dyninst::NodeSearchIterator::out, and Dyninst::Node::outs().
| Graph::Ptr Node::forwardSubgraph | ( | ) | [inherited] |
Definition at line 223 of file Node.C.
References Dyninst::NodeIterator::copy(), Dyninst::Node::copy(), Dyninst::Graph::createGraph(), and Dyninst::Node::outs_.
| bool Node::hasInEdges | ( | ) | [inherited] |
Definition at line 79 of file Node.C.
References Dyninst::Node::ins_.
Referenced by Dyninst::Node::backwardClosure().
| bool Node::hasOutEdges | ( | ) | [inherited] |
Definition at line 83 of file Node.C.
References Dyninst::Node::outs_.
Referenced by Dyninst::Node::forwardClosure().
| void Node::ins | ( | NodeIterator & | begin, | |
| NodeIterator & | end | |||
| ) | [inherited] |
Definition at line 55 of file Node.C.
References Dyninst::Node::ins_, and Dyninst::NodeFromEdgeSet::source.
| void Node::ins | ( | EdgeIterator & | begin, | |
| EdgeIterator & | end | |||
| ) | [inherited] |
Definition at line 67 of file Node.C.
References Dyninst::Node::ins_.
Referenced by Dyninst::Node::backwardClosure().
| virtual bool Dyninst::PhysicalNode::isVirtual | ( | ) | const [inline, virtual] |
Implements Dyninst::Node.
| void Node::outs | ( | NodeIterator & | begin, | |
| NodeIterator & | end | |||
| ) | [inherited] |
Definition at line 62 of file Node.C.
References Dyninst::Node::outs_, and Dyninst::NodeFromEdgeSet::target.
| void Node::outs | ( | EdgeIterator & | begin, | |
| EdgeIterator & | end | |||
| ) | [inherited] |
Definition at line 73 of file Node.C.
References Dyninst::Node::outs_.
Referenced by Dyninst::Node::forwardClosure().
Address Dyninst::PhysicalNode::addr_ [protected] |
EdgeSet Dyninst::Node::ins_ [protected, inherited] |
Definition at line 101 of file Node.h.
Referenced by Dyninst::Node::addInEdge(), Dyninst::Node::backwardSubgraph(), Dyninst::Node::deleteInEdge(), Dyninst::Node::hasInEdges(), and Dyninst::Node::ins().
const Address Node::INVALID_ADDR = (Address) -1 [static, protected, inherited] |
EdgeSet Dyninst::Node::outs_ [protected, inherited] |
Definition at line 104 of file Node.h.
Referenced by Dyninst::Node::addOutEdge(), Dyninst::Node::deleteOutEdge(), Dyninst::Node::forwardSubgraph(), Dyninst::Node::hasOutEdges(), and Dyninst::Node::outs().
1.6.1