OA::DUG::Edge Class Reference

#include <DUGStandard.hpp>

Inheritance diagram for OA::DUG::Edge:
Inheritance graph
[legend]
Collaboration diagram for OA::DUG::Edge:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 Edge (OA_ptr< DUGStandard > pDUG, OA_ptr< Node > pNode1, OA_ptr< Node > pNode2, EdgeType pType, CallHandle call, ProcHandle p)
 ~Edge ()
EdgeType getType () const
ProcHandle getSourceProc () const
ProcHandle getSinkProc () const
CallHandle getCall () const
ProcHandle getProc () const
bool isExplored4Varied (CallHandle context) const
void setExplored4Varied (CallHandle context)
bool isExplored4Useful (CallHandle context) const
void setExplored4Useful (CallHandle context)
unsigned int getId () const
 getId: An id unique within instances of CallGraph::Edge
OA_ptr< DGraph::NodeInterfacegetSource () const
 Returns source node for this edge.
OA_ptr< DGraph::NodeInterfacetail () const
OA_ptr< DGraph::NodeInterfacegetSink () const
 Returns sink node for this edge.
OA_ptr< DGraph::NodeInterfacehead () const
OA_ptr< NodeInterfacegetDUGSource () const
OA_ptr< NodeInterfacegetDUGSink () const
bool operator== (DGraph::EdgeInterface &other)
bool operator< (DGraph::EdgeInterface &other)
void dump (std::ostream &os)
void dumpdot (std::ostream &os, OA_ptr< DUGIRInterface > ir)
void dumpdot_label (std::ostream &os, OA_ptr< DUGIRInterface > ir)
void dumpbase (std::ostream &os)
void output (OA::IRHandlesIRInterface &ir)
 Edge (OA_ptr< DUGStandard > pDUG, OA_ptr< Node > pNode1, OA_ptr< Node > pNode2, EdgeType pType, CallHandle call, ProcHandle p)
 ~Edge ()
EdgeType getType () const
ProcHandle getSourceProc () const
ProcHandle getSinkProc () const
CallHandle getCall () const
ProcHandle getProc () const
unsigned int getId () const
 getId: An id unique within instances of CallGraph::Edge
OA_ptr< DGraph::NodeInterfacegetSource () const
 Returns source node for this edge.
OA_ptr< DGraph::NodeInterfacetail () const
OA_ptr< DGraph::NodeInterfacegetSink () const
 Returns sink node for this edge.
OA_ptr< DGraph::NodeInterfacehead () const
OA_ptr< NodeInterfacegetDUGSource () const
OA_ptr< NodeInterfacegetDUGSink () const
bool operator== (DGraph::EdgeInterface &other)
bool operator< (DGraph::EdgeInterface &other)
void dump (std::ostream &os)
void dumpdot (std::ostream &, OA_ptr< DUGIRInterface >)
void dumpdot_label (std::ostream &, OA_ptr< DUGIRInterface >)
void dumpbase (std::ostream &os)
void output (OA::IRHandlesIRInterface &ir)

Private Attributes

OA_ptr< DUGStandardmDUG
OA_ptr< NodemNode1
OA_ptr< NodemNode2
OA_ptr< DGraph::EdgeImplementmDGEdge
EdgeType mType
CallHandle mCall
unsigned int mId
ProcHandle mProc
std::set< CallHandlemExplored4Varied
std::set< CallHandlemExplored4Useful

Friends

class DUGStandard
class Node

Detailed Description

Definition at line 249 of file CSFIActivity/DUGStandard.hpp.


Constructor & Destructor Documentation

OA::DUG::Edge::Edge ( OA_ptr< DUGStandard pDUG,
OA_ptr< Node pNode1,
OA_ptr< Node pNode2,
EdgeType  pType,
CallHandle  call,
ProcHandle  p 
)

Definition at line 236 of file CSFIActivity/DUGStandard.cpp.

References mDGEdge.

OA::DUG::Edge::~Edge (  )  [inline]

Definition at line 254 of file CSFIActivity/DUGStandard.hpp.

OA::DUG::Edge::Edge ( OA_ptr< DUGStandard pDUG,
OA_ptr< Node pNode1,
OA_ptr< Node pNode2,
EdgeType  pType,
CallHandle  call,
ProcHandle  p 
)
OA::DUG::Edge::~Edge (  )  [inline]

Definition at line 243 of file CSFSActivity/DUGStandard.hpp.


Member Function Documentation

void OA::DUG::Edge::dump ( std::ostream &  os  )  [virtual]
void OA::DUG::Edge::dump ( std::ostream &  os  )  [virtual]
void OA::DUG::Edge::dumpbase ( std::ostream &  os  )  [inline]

Definition at line 293 of file CSFSActivity/DUGStandard.hpp.

void OA::DUG::Edge::dumpbase ( std::ostream &  os  )  [inline]

Definition at line 314 of file CSFIActivity/DUGStandard.hpp.

void OA::DUG::Edge::dumpdot ( std::ostream &  ,
OA_ptr< DUGIRInterface  
) [virtual]
void OA::DUG::Edge::dumpdot ( std::ostream &  os,
OA_ptr< DUGIRInterface ir 
) [virtual]
void OA::DUG::Edge::dumpdot_label ( std::ostream &  ,
OA_ptr< DUGIRInterface  
)
void OA::DUG::Edge::dumpdot_label ( std::ostream &  os,
OA_ptr< DUGIRInterface ir 
)
CallHandle OA::DUG::Edge::getCall (  )  const [inline, virtual]

Implements OA::DUG::EdgeInterface.

Definition at line 253 of file CSFSActivity/DUGStandard.hpp.

References mCall.

CallHandle OA::DUG::Edge::getCall (  )  const [inline, virtual]

Implements OA::DUG::EdgeInterface.

Definition at line 264 of file CSFIActivity/DUGStandard.hpp.

References mCall.

OA_ptr<NodeInterface> OA::DUG::Edge::getDUGSink (  )  const [inline, virtual]

Implements OA::DUG::EdgeInterface.

Definition at line 281 of file CSFSActivity/DUGStandard.hpp.

References OA::OA_ptr< T >::convert(), and getSink().

Here is the call graph for this function:

OA_ptr<NodeInterface> OA::DUG::Edge::getDUGSink (  )  const [inline, virtual]

Implements OA::DUG::EdgeInterface.

Definition at line 302 of file CSFIActivity/DUGStandard.hpp.

References OA::OA_ptr< T >::convert(), and getSink().

Here is the call graph for this function:

OA_ptr<NodeInterface> OA::DUG::Edge::getDUGSource (  )  const [inline, virtual]

Implements OA::DUG::EdgeInterface.

Definition at line 276 of file CSFSActivity/DUGStandard.hpp.

References OA::OA_ptr< T >::convert(), and getSource().

Here is the call graph for this function:

OA_ptr<NodeInterface> OA::DUG::Edge::getDUGSource (  )  const [inline, virtual]

Implements OA::DUG::EdgeInterface.

Definition at line 297 of file CSFIActivity/DUGStandard.hpp.

References OA::OA_ptr< T >::convert(), and getSource().

Here is the call graph for this function:

unsigned int OA::DUG::Edge::getId (  )  const [inline, virtual]

getId: An id unique within instances of CallGraph::Edge

Implements OA::DGraph::EdgeInterface.

Definition at line 261 of file CSFSActivity/DUGStandard.hpp.

References mDGEdge.

unsigned int OA::DUG::Edge::getId (  )  const [inline, virtual]

getId: An id unique within instances of CallGraph::Edge

Implements OA::DGraph::EdgeInterface.

Definition at line 282 of file CSFIActivity/DUGStandard.hpp.

References mDGEdge.

ProcHandle OA::DUG::Edge::getProc (  )  const [inline, virtual]

Implements OA::DUG::EdgeInterface.

Definition at line 254 of file CSFSActivity/DUGStandard.hpp.

References mProc.

ProcHandle OA::DUG::Edge::getProc (  )  const [inline, virtual]

Implements OA::DUG::EdgeInterface.

Definition at line 265 of file CSFIActivity/DUGStandard.hpp.

References mProc.

OA_ptr<DGraph::NodeInterface> OA::DUG::Edge::getSink (  )  const [inline, virtual]

Returns sink node for this edge.

Implements OA::DGraph::EdgeInterface.

Definition at line 273 of file CSFSActivity/DUGStandard.hpp.

References mNode2.

OA_ptr<DGraph::NodeInterface> OA::DUG::Edge::getSink (  )  const [inline, virtual]

Returns sink node for this edge.

Implements OA::DGraph::EdgeInterface.

Definition at line 294 of file CSFIActivity/DUGStandard.hpp.

References mNode2.

Referenced by getDUGSink().

ProcHandle OA::DUG::Edge::getSinkProc (  )  const [inline, virtual]

Implements OA::DUG::EdgeInterface.

Definition at line 252 of file CSFSActivity/DUGStandard.hpp.

References mNode2.

ProcHandle OA::DUG::Edge::getSinkProc (  )  const [inline, virtual]

Implements OA::DUG::EdgeInterface.

Definition at line 263 of file CSFIActivity/DUGStandard.hpp.

References mNode2.

OA_ptr<DGraph::NodeInterface> OA::DUG::Edge::getSource (  )  const [inline, virtual]

Returns source node for this edge.

Implements OA::DGraph::EdgeInterface.

Definition at line 267 of file CSFSActivity/DUGStandard.hpp.

References mNode1.

OA_ptr<DGraph::NodeInterface> OA::DUG::Edge::getSource (  )  const [inline, virtual]

Returns source node for this edge.

Implements OA::DGraph::EdgeInterface.

Definition at line 288 of file CSFIActivity/DUGStandard.hpp.

References mNode1.

Referenced by getDUGSource().

ProcHandle OA::DUG::Edge::getSourceProc (  )  const [inline, virtual]

Implements OA::DUG::EdgeInterface.

Definition at line 251 of file CSFSActivity/DUGStandard.hpp.

References mNode1.

ProcHandle OA::DUG::Edge::getSourceProc (  )  const [inline, virtual]

Implements OA::DUG::EdgeInterface.

Definition at line 262 of file CSFIActivity/DUGStandard.hpp.

References mNode1.

EdgeType OA::DUG::Edge::getType (  )  const [inline, virtual]

Implements OA::DUG::EdgeInterface.

Definition at line 249 of file CSFSActivity/DUGStandard.hpp.

References mType.

EdgeType OA::DUG::Edge::getType (  )  const [inline, virtual]

Implements OA::DUG::EdgeInterface.

Definition at line 260 of file CSFIActivity/DUGStandard.hpp.

References mType.

OA_ptr<DGraph::NodeInterface> OA::DUG::Edge::head (  )  const [inline]

Definition at line 274 of file CSFSActivity/DUGStandard.hpp.

References mNode2.

OA_ptr<DGraph::NodeInterface> OA::DUG::Edge::head (  )  const [inline]

Definition at line 295 of file CSFIActivity/DUGStandard.hpp.

References mNode2.

bool OA::DUG::Edge::isExplored4Useful ( CallHandle  context  )  const [inline]

Definition at line 272 of file CSFIActivity/DUGStandard.hpp.

References mExplored4Useful.

bool OA::DUG::Edge::isExplored4Varied ( CallHandle  context  )  const [inline]

Definition at line 268 of file CSFIActivity/DUGStandard.hpp.

References mExplored4Varied.

bool OA::DUG::Edge::operator< ( DGraph::EdgeInterface other  ) 
bool OA::DUG::Edge::operator< ( DGraph::EdgeInterface other  ) 

Definition at line 259 of file CSFIActivity/DUGStandard.cpp.

References mDGEdge.

bool OA::DUG::Edge::operator== ( DGraph::EdgeInterface other  ) 
bool OA::DUG::Edge::operator== ( DGraph::EdgeInterface other  ) 

Definition at line 253 of file CSFIActivity/DUGStandard.cpp.

References mDGEdge.

void OA::DUG::Edge::output ( OA::IRHandlesIRInterface ir  )  [inline, virtual]

Implements OA::Annotation.

Definition at line 294 of file CSFSActivity/DUGStandard.hpp.

References mDGEdge.

void OA::DUG::Edge::output ( OA::IRHandlesIRInterface ir  )  [inline, virtual]

Implements OA::Annotation.

Definition at line 315 of file CSFIActivity/DUGStandard.hpp.

References mDGEdge.

void OA::DUG::Edge::setExplored4Useful ( CallHandle  context  )  [inline]

Definition at line 274 of file CSFIActivity/DUGStandard.hpp.

References mExplored4Useful.

void OA::DUG::Edge::setExplored4Varied ( CallHandle  context  )  [inline]

Definition at line 270 of file CSFIActivity/DUGStandard.hpp.

References mExplored4Varied.

OA_ptr<DGraph::NodeInterface> OA::DUG::Edge::tail (  )  const [inline]

Definition at line 270 of file CSFSActivity/DUGStandard.hpp.

References mNode1.

OA_ptr<DGraph::NodeInterface> OA::DUG::Edge::tail (  )  const [inline]

Definition at line 291 of file CSFIActivity/DUGStandard.hpp.

References mNode1.


Friends And Related Function Documentation

DUGStandard [friend]

Definition at line 328 of file CSFIActivity/DUGStandard.hpp.

Node [friend]

Definition at line 329 of file CSFIActivity/DUGStandard.hpp.


Member Data Documentation

Definition at line 324 of file CSFIActivity/DUGStandard.hpp.

Referenced by getCall().

Definition at line 321 of file CSFIActivity/DUGStandard.hpp.

Referenced by Edge(), getId(), operator<(), operator==(), and output().

Definition at line 319 of file CSFIActivity/DUGStandard.hpp.

Definition at line 334 of file CSFIActivity/DUGStandard.hpp.

Referenced by isExplored4Useful(), and setExplored4Useful().

Definition at line 333 of file CSFIActivity/DUGStandard.hpp.

Referenced by isExplored4Varied(), and setExplored4Varied().

unsigned int OA::DUG::Edge::mId [private]

Definition at line 325 of file CSFIActivity/DUGStandard.hpp.

Definition at line 320 of file CSFIActivity/DUGStandard.hpp.

Referenced by getSource(), getSourceProc(), and tail().

Definition at line 320 of file CSFIActivity/DUGStandard.hpp.

Referenced by getSink(), getSinkProc(), and head().

Definition at line 326 of file CSFIActivity/DUGStandard.hpp.

Referenced by getProc().

Definition at line 323 of file CSFIActivity/DUGStandard.hpp.

Referenced by getType().


The documentation for this class was generated from the following files:

Generated on Sat Oct 31 05:31:42 2009 for OpenAnalysis by  doxygen 1.6.1