ExecStreamGraphImpl::DotVertexRenderer Class Reference

List of all members.

Public Member Functions

 DotVertexRenderer (ExecStreamGraphImpl &graphInit)
void operator() (std::ostream &out, ExecStreamId const &streamId) const

Private Attributes

ExecStreamGraphImplgraph

Detailed Description

Definition at line 704 of file ExecStreamGraph.cpp.


Constructor & Destructor Documentation

ExecStreamGraphImpl::DotVertexRenderer::DotVertexRenderer ( ExecStreamGraphImpl graphInit  )  [inline]

Definition at line 708 of file ExecStreamGraph.cpp.

00709         : graph(graphInit)
00710     {
00711     }


Member Function Documentation

void ExecStreamGraphImpl::DotVertexRenderer::operator() ( std::ostream &  out,
ExecStreamId const &  streamId 
) const [inline]

Definition at line 713 of file ExecStreamGraph.cpp.

References ExecStreamGraphImpl::getStream(), graph, and Backtrace::writeDemangled().

00714     {
00715         SharedExecStream pStream = graph.getStream(streamId);
00716         out << "[label=\"{";
00717         if (pStream) {
00718             out << streamId;
00719             out << "|";
00720             if (dynamic_cast<ScratchBufferExecStream *>(pStream.get())) {
00721                 out << "MEMBUF";
00722             } else {
00723                 Backtrace::writeDemangled(out, typeid(*pStream).name());
00724                 out << "|";
00725                 out << pStream->getName();
00726             }
00727         } else {
00728             out << "SINK";
00729         }
00730         out << "}\"]";
00731     }


Member Data Documentation

ExecStreamGraphImpl& ExecStreamGraphImpl::DotVertexRenderer::graph [private]

Definition at line 706 of file ExecStreamGraph.cpp.

Referenced by operator()().


The documentation for this class was generated from the following file:
Generated on Mon Jun 22 04:00:30 2009 for Fennel by  doxygen 1.5.1