Public Member Functions | Private Attributes

OA::CallGraph::Edge Class Reference

#include <CallGraph.hpp>

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

List of all members.

Public Member Functions

 Edge (OA_ptr< DGraph::NodeInterface > source, OA_ptr< DGraph::NodeInterface > sink, EdgeType _type, CallHandle call)
 ~Edge ()
EdgeType getType () const
 getId: An id unique within instances of CallGraph::Edge
CallHandle getCallHandle () const
 Returns the handle for the callsite that induces this edge.
OA_ptr< NodeInterfacegetCallGraphSource () const
 CallGraph Specific Iterators.
OA_ptr< NodeInterfacegetCallGraphSink () const
virtual void output (OA::IRHandlesIRInterface &ir)
void dump (std::ostream &os)

Private Attributes

EdgeType mType
CallHandle mCallsiteExpr

Detailed Description

Definition at line 219 of file CallGraph.hpp.


Constructor & Destructor Documentation

OA::CallGraph::Edge::Edge ( OA_ptr< DGraph::NodeInterface source,
OA_ptr< DGraph::NodeInterface sink,
EdgeType  _type,
OA::CallHandle  call 
)

Definition at line 102 of file CallGraph.cpp.

References OA::CallGraph::Node::mCalls.

OA::CallGraph::Edge::~Edge (  ) 

Definition at line 115 of file CallGraph.cpp.


Member Function Documentation

void OA::CallGraph::Edge::dump ( std::ostream &  os  )  [virtual]

Reimplemented from OA::DGraph::EdgeImplement.

OA_ptr< NodeInterface > OA::CallGraph::Edge::getCallGraphSink (  )  const

Definition at line 147 of file CallGraph.cpp.

OA_ptr< NodeInterface > OA::CallGraph::Edge::getCallGraphSource (  )  const

CallGraph Specific Iterators.

Definition at line 141 of file CallGraph.cpp.

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

Here is the call graph for this function:

CallHandle OA::CallGraph::Edge::getCallHandle (  )  const

Returns the handle for the callsite that induces this edge.

Definition at line 123 of file CallGraph.cpp.

References mType.

EdgeType OA::CallGraph::Edge::getType (  )  const

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

Definition at line 121 of file CallGraph.cpp.

void OA::CallGraph::Edge::output ( OA::IRHandlesIRInterface ir  )  [virtual]

Reimplemented from OA::DGraph::EdgeImplement.

Definition at line 352 of file CallGraph.cpp.


Member Data Documentation

Definition at line 278 of file CallGraph.hpp.

Definition at line 277 of file CallGraph.hpp.

Referenced by getCallHandle().


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