#include <CallGraph.hpp>


Public Member Functions | |
| Node () | |
| Node (SymHandle s) | |
| ~Node () | |
| bool | isDefined () const |
| getId: An id unique within instances of CallGraph::Node | |
| bool | isCalled () const |
| ProcHandle | getProc () const |
| SymHandle | getProcSym () const |
| virtual void | output (OA::IRHandlesIRInterface &ir) |
| void | dump (std::ostream &os) |
| void | dump (std::ostream &os, OA_ptr< IRHandlesIRInterface > ir) |
| void | longdump (std::ostream &os, OA_ptr< IRHandlesIRInterface > ir) |
| void | add_def (ProcHandle h) |
| void | add_call (CallHandle h) |
| OA_ptr< EdgesIteratorInterface > | getCallGraphIncomingEdgesIterator () const |
| OA_ptr< EdgesIteratorInterface > | getCallGraphOutgoingEdgesIterator () const |
| OA_ptr< NodesIteratorInterface > | getCallGraphSourceNodesIterator () const |
| OA_ptr< NodesIteratorInterface > | getCallGraphSinkNodesIterator () const |
Private Attributes | |
| SymHandle | mSym |
| ProcHandle | mProc |
| std::list< CallHandle > | mCalls |
Friends | |
| class | NodeCallsIterator |
Definition at line 115 of file CallGraph.hpp.
| OA::CallGraph::Node::Node | ( | ) |
Definition at line 85 of file CallGraph.cpp.
| OA::CallGraph::Node::Node | ( | SymHandle | s | ) |
Definition at line 87 of file CallGraph.cpp.
| OA::CallGraph::Node::~Node | ( | ) |
Definition at line 90 of file CallGraph.cpp.
| void OA::CallGraph::Node::add_call | ( | CallHandle | h | ) |
| void OA::CallGraph::Node::add_def | ( | ProcHandle | h | ) |
| void OA::CallGraph::Node::dump | ( | std::ostream & | os, | |
| OA_ptr< IRHandlesIRInterface > | ir | |||
| ) |
| void OA::CallGraph::Node::dump | ( | std::ostream & | os | ) | [inline, virtual] |
| OA_ptr< EdgesIteratorInterface > OA::CallGraph::Node::getCallGraphIncomingEdgesIterator | ( | ) | const [virtual] |
Implements OA::CallGraph::NodeInterface.
Definition at line 313 of file CallGraph.cpp.
References OA::DGraph::NodeImplement::getIncomingEdgesIterator().

| OA_ptr< EdgesIteratorInterface > OA::CallGraph::Node::getCallGraphOutgoingEdgesIterator | ( | ) | const [virtual] |
Implements OA::CallGraph::NodeInterface.
Definition at line 321 of file CallGraph.cpp.
References OA::DGraph::NodeImplement::getOutgoingEdgesIterator().

| OA_ptr< NodesIteratorInterface > OA::CallGraph::Node::getCallGraphSinkNodesIterator | ( | ) | const [virtual] |
Implements OA::CallGraph::NodeInterface.
Definition at line 337 of file CallGraph.cpp.
References OA::DGraph::NodeImplement::getSinkNodesIterator().

| OA_ptr< NodesIteratorInterface > OA::CallGraph::Node::getCallGraphSourceNodesIterator | ( | ) | const [virtual] |
Implements OA::CallGraph::NodeInterface.
Definition at line 329 of file CallGraph.cpp.
References OA::DGraph::NodeImplement::getSourceNodesIterator().

| ProcHandle OA::CallGraph::Node::getProc | ( | ) | const [virtual] |
Implements OA::CallGraph::NodeInterface.
Definition at line 96 of file CallGraph.cpp.
References mProc.
| SymHandle OA::CallGraph::Node::getProcSym | ( | ) | const [virtual] |
Implements OA::CallGraph::NodeInterface.
Definition at line 98 of file CallGraph.cpp.
References mSym.
| bool OA::CallGraph::Node::isCalled | ( | ) | const [virtual] |
Implements OA::CallGraph::NodeInterface.
Definition at line 94 of file CallGraph.cpp.
References mCalls.
| bool OA::CallGraph::Node::isDefined | ( | ) | const [virtual] |
getId: An id unique within instances of CallGraph::Node
Implements OA::CallGraph::NodeInterface.
Definition at line 92 of file CallGraph.cpp.
References OA::IRHandle::hval(), and mProc.
Referenced by output().

| void OA::CallGraph::Node::longdump | ( | std::ostream & | os, | |
| OA_ptr< IRHandlesIRInterface > | ir | |||
| ) |
| void OA::CallGraph::Node::output | ( | OA::IRHandlesIRInterface & | ir | ) | [virtual] |
Reimplemented from OA::DGraph::NodeImplement.
Definition at line 620 of file CallGraph.cpp.
References OA::IRHandle::hval(), isDefined(), mSym, OA::Annotation::sOutBuild, and OA::IRHandlesIRInterface::toString().

friend class NodeCallsIterator [friend] |
Definition at line 171 of file CallGraph.hpp.
std::list<CallHandle> OA::CallGraph::Node::mCalls [private] |
ProcHandle OA::CallGraph::Node::mProc [private] |
SymHandle OA::CallGraph::Node::mSym [private] |
1.5.7.1