#include <Node.h>
Public Types | |
| typedef boost::shared_ptr < VirtualNode > | Ptr |
Public Member Functions | |
| virtual std::string | format () const |
| virtual Node::Ptr | copy () |
| virtual bool | isVirtual () const |
| virtual | ~VirtualNode () |
| VirtualNode (std::string name) | |
| VirtualNode () | |
| virtual std::string | DOTshape () const |
| 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 Address | addr () const |
| virtual std::string | DOTrank () const |
| virtual std::string | DOTname () const |
| virtual bool | DOTinclude () const |
Static Public Member Functions | |
| static Node::Ptr | createNode () |
| static Node::Ptr | createNode (std::string name) |
Static Public Attributes | |
| static std::string | defaultName |
Protected Member Functions | |
| void | addInEdge (const EdgePtr in) |
| void | addOutEdge (const EdgePtr out) |
Protected Attributes | |
| EdgeSet | ins_ |
| EdgeSet | outs_ |
Static Protected Attributes | |
| static const Address | INVALID_ADDR = (Address) -1 |
Private Attributes | |
| std::string | name_ |
Friends | |
| class | Edge |
| class | Graph |
Definition at line 134 of file Node.h.
| typedef boost::shared_ptr<VirtualNode> Dyninst::VirtualNode::Ptr |
Reimplemented from Dyninst::Node.
| virtual Dyninst::VirtualNode::~VirtualNode | ( | ) | [inline, virtual] |
| Dyninst::VirtualNode::VirtualNode | ( | std::string | name | ) | [inline] |
| Dyninst::VirtualNode::VirtualNode | ( | ) | [inline] |
Definition at line 152 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::Node::addr | ( | ) | const [inline, virtual, inherited] |
Reimplemented in Dyninst::PhysicalNode.
| 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 VirtualNode::copy | ( | ) | [virtual] |
Implements Dyninst::Node.
Definition at line 138 of file Node.C.
References name_, and VirtualNode().
| Node::Ptr VirtualNode::createNode | ( | std::string | name | ) | [static] |
Definition at line 134 of file Node.C.
References VirtualNode().
| Node::Ptr VirtualNode::createNode | ( | ) | [static] |
Definition at line 130 of file Node.C.
References VirtualNode().
| 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 VirtualNode::DOTshape | ( | ) | const [virtual] |
| std::string VirtualNode::format | ( | ) | const [virtual] |
Implements Dyninst::Node.
Definition at line 142 of file Node.C.
References name_.
Referenced by DOTshape().
| 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::VirtualNode::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().
friend class Edge [friend] |
Reimplemented from Dyninst::Node.
friend class Graph [friend] |
Reimplemented from Dyninst::Node.
std::string VirtualNode::defaultName [static] |
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] |
std::string Dyninst::VirtualNode::name_ [private] |
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