#include <DGraphImplement.hpp>


Definition at line 78 of file DGraphImplement.hpp.
| OA::DGraph::NodeImplement::NodeImplement | ( | ) |
Definition at line 18 of file DGraphImplement.cpp.
References OA::debug, mId, mIncomingEdges, mOutgoingEdges, OA_DEBUG_CTRL_MACRO, and sNextId.
| void OA::DGraph::NodeImplement::addIncomingEdge | ( | OA_ptr< EdgeInterface > | e | ) | [virtual] |
Implements OA::DGraph::NodeInterface.
Definition at line 514 of file DGraphImplement.cpp.
References mIncomingEdges, and OA::OA_ptr< T >::ptrEqual().

| void OA::DGraph::NodeImplement::addOutgoingEdge | ( | OA_ptr< EdgeInterface > | e | ) | [virtual] |
Implements OA::DGraph::NodeInterface.
Definition at line 508 of file DGraphImplement.cpp.
References mOutgoingEdges, and OA::OA_ptr< T >::ptrEqual().

| void OA::DGraph::NodeImplement::dump | ( | std::ostream & | os | ) | [virtual] |
Implements OA::DGraph::NodeInterface.
Reimplemented in OA::CallGraph::Node, OA::CFG::Node, and OA::ICFG::Node.
Definition at line 533 of file DGraphImplement.cpp.
References getId().

| unsigned int OA::DGraph::NodeImplement::getId | ( | ) | const [virtual] |
Implements OA::DGraph::NodeInterface.
Definition at line 635 of file DGraphImplement.cpp.
References mId.
Referenced by dump(), operator<(), operator==(), OA::ICFG::Node::output(), output(), and OA::CFG::Node::output().
| OA_ptr< EdgesIteratorInterface > OA::DGraph::NodeImplement::getIncomingEdgesIterator | ( | ) | const [virtual] |
Implements OA::DGraph::NodeInterface.
Definition at line 608 of file DGraphImplement.cpp.
References mIncomingEdges.
Referenced by OA::CallGraph::Node::getCallGraphIncomingEdgesIterator(), OA::CFG::Node::getCFGIncomingEdgesIterator(), and OA::ICFG::Node::getICFGIncomingEdgesIterator().
| OA_ptr< EdgesIteratorInterface > OA::DGraph::NodeImplement::getOutgoingEdgesIterator | ( | ) | const [virtual] |
Implements OA::DGraph::NodeInterface.
Definition at line 601 of file DGraphImplement.cpp.
References mOutgoingEdges.
Referenced by OA::CallGraph::Node::getCallGraphOutgoingEdgesIterator(), OA::CFG::Node::getCFGOutgoingEdgesIterator(), and OA::ICFG::Node::getICFGOutgoingEdgesIterator().
| OA_ptr< NodesIteratorInterface > OA::DGraph::NodeImplement::getSinkNodesIterator | ( | ) | const [virtual] |
Implements OA::DGraph::NodeInterface.
Definition at line 566 of file DGraphImplement.cpp.
References mOutgoingEdges.
Referenced by OA::CallGraph::Node::getCallGraphSinkNodesIterator(), OA::CFG::Node::getCFGSinkNodesIterator(), OA::CFG::Node::getCFGSuccNodesIterator(), and OA::ICFG::Node::getICFGSinkNodesIterator().
| OA_ptr< NodesIteratorInterface > OA::DGraph::NodeImplement::getSourceNodesIterator | ( | ) | const [virtual] |
Implements OA::DGraph::NodeInterface.
Definition at line 584 of file DGraphImplement.cpp.
References mIncomingEdges.
Referenced by OA::CallGraph::Node::getCallGraphSourceNodesIterator(), OA::CFG::Node::getCFGPredNodesIterator(), OA::CFG::Node::getCFGSourceNodesIterator(), and OA::ICFG::Node::getICFGSourceNodesIterator().
| bool OA::DGraph::NodeImplement::isAnEntry | ( | ) | const [virtual] |
returns true if node is an entry node, IOW has no incoming edges
Implements OA::DGraph::NodeInterface.
Definition at line 620 of file DGraphImplement.cpp.
References num_incoming().
Referenced by OA::ICFG::Node::output().

| bool OA::DGraph::NodeImplement::isAnExit | ( | ) | const [virtual] |
returns true if node is an exit node, IOW has no outgoing edges
Implements OA::DGraph::NodeInterface.
Definition at line 615 of file DGraphImplement.cpp.
References num_outgoing().
Referenced by OA::ICFG::Node::output().

| int OA::DGraph::NodeImplement::num_incoming | ( | ) | const [virtual] |
Implements OA::DGraph::NodeInterface.
Definition at line 630 of file DGraphImplement.cpp.
References mIncomingEdges.
Referenced by isAnEntry().
| int OA::DGraph::NodeImplement::num_outgoing | ( | ) | const [virtual] |
Implements OA::DGraph::NodeInterface.
Definition at line 625 of file DGraphImplement.cpp.
References mOutgoingEdges.
Referenced by isAnExit().
| bool OA::DGraph::NodeImplement::operator< | ( | NodeInterface & | other | ) |
Definition at line 545 of file DGraphImplement.cpp.
References OA::DGraph::NodeInterface::getId(), and getId().

| bool OA::DGraph::NodeImplement::operator== | ( | NodeInterface & | other | ) |
Definition at line 550 of file DGraphImplement.cpp.
References OA::debug, OA::DGraph::NodeInterface::getId(), and getId().

| void OA::DGraph::NodeImplement::output | ( | IRHandlesIRInterface & | ir | ) | [virtual] |
Implements OA::Annotation.
Reimplemented in OA::CallGraph::Node, OA::CFG::Node, and OA::ICFG::Node.
Definition at line 538 of file DGraphImplement.cpp.
References getId(), and OA::Annotation::sOutBuild.

| void OA::DGraph::NodeImplement::removeIncomingEdge | ( | OA_ptr< EdgeInterface > | e | ) | [virtual] |
Implements OA::DGraph::NodeInterface.
Definition at line 526 of file DGraphImplement.cpp.
References mIncomingEdges, and OA::OA_ptr< T >::ptrEqual().

| void OA::DGraph::NodeImplement::removeOutgoingEdge | ( | OA_ptr< EdgeInterface > | e | ) | [virtual] |
Implements OA::DGraph::NodeInterface.
Definition at line 520 of file DGraphImplement.cpp.
References mOutgoingEdges, and OA::OA_ptr< T >::ptrEqual().

unsigned int OA::DGraph::NodeImplement::mId [private] |
Definition at line 135 of file DGraphImplement.hpp.
Referenced by getId(), and NodeImplement().
OA_ptr<std::list<OA_ptr<EdgeInterface> > > OA::DGraph::NodeImplement::mIncomingEdges [private] |
Definition at line 133 of file DGraphImplement.hpp.
Referenced by addIncomingEdge(), getIncomingEdgesIterator(), getSourceNodesIterator(), NodeImplement(), num_incoming(), and removeIncomingEdge().
OA_ptr<std::list<OA_ptr<EdgeInterface> > > OA::DGraph::NodeImplement::mOutgoingEdges [private] |
Definition at line 134 of file DGraphImplement.hpp.
Referenced by addOutgoingEdge(), getOutgoingEdgesIterator(), getSinkNodesIterator(), NodeImplement(), num_outgoing(), and removeOutgoingEdge().
unsigned int OA::DGraph::NodeImplement::sNextId = 1 [static, private] |
Definition at line 136 of file DGraphImplement.hpp.
Referenced by NodeImplement().
1.6.1