Dyninst::PhysicalNode Class Reference

#include <Node.h>

Inheritance diagram for Dyninst::PhysicalNode:
Dyninst::Node

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

Detailed Description

Definition at line 112 of file Node.h.


Member Typedef Documentation

typedef boost::shared_ptr<PhysicalNode> Dyninst::PhysicalNode::Ptr

Reimplemented from Dyninst::Node.

Definition at line 114 of file Node.h.


Constructor & Destructor Documentation

virtual Dyninst::PhysicalNode::~PhysicalNode (  )  [inline, virtual]

Definition at line 124 of file Node.h.

Dyninst::PhysicalNode::PhysicalNode ( Address  addr  )  [inline, protected]

Definition at line 129 of file Node.h.

Referenced by copy(), and createNode().


Member Function Documentation

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.

Definition at line 118 of file Node.h.

Referenced by copy(), and format().

void Node::backwardClosure ( NodeIterator begin,
NodeIterator end 
) [inherited]
Graph::Ptr Node::backwardSubgraph (  )  [inherited]
Node::Ptr PhysicalNode::copy (  )  [virtual]

Implements Dyninst::Node.

Definition at line 118 of file Node.C.

References addr(), and PhysicalNode().

Node::Ptr PhysicalNode::createNode ( Address  addr  )  [static]

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]

Definition at line 98 of file Node.h.

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]

Implements Dyninst::Node.

Definition at line 122 of file Node.C.

References addr().

void Node::forwardClosure ( NodeIterator begin,
NodeIterator end 
) [inherited]
Graph::Ptr Node::forwardSubgraph (  )  [inherited]
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.

Definition at line 122 of file Node.h.

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().


Field Documentation

Definition at line 129 of file Node.h.

EdgeSet Dyninst::Node::ins_ [protected, inherited]
const Address Node::INVALID_ADDR = (Address) -1 [static, protected, inherited]

Definition at line 109 of file Node.h.

EdgeSet Dyninst::Node::outs_ [protected, inherited]

The documentation for this class was generated from the following files:
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 12 Jul 2013 for SymtabAPI by  doxygen 1.6.1