GraphTool  1.0
Tool for analyzing and graphically visualizing code dependencies for Ericsson.
 All Classes Namespaces Functions Variables Typedefs Enumerations Pages
Public Member Functions | List of all members
GraphExporter< GraphType > Class Template Reference

#include <graph_exporter.h>

Public Member Functions

 GraphExporter (std::ostream &stream, GraphType &g)
 
void write_graphml (GraphProperties< GraphType > *extra_properties=0)
 Write graphml output of the generated graph to the given stream.
 
void write_graphviz (GraphProperties< GraphType > *extra_properties=0)
 
void write_csv ()
 Export to CSV.
 

Detailed Description

template<typename GraphType>
class GraphExporter< GraphType >

Class to enable exports of Graphs containing Dependency information. All data in the graph needs to be stored as pointers for this exporting routine to work. That is both Edges and Nodes should be pointers to values.

Expects as a parameter a Grapher which contains pointers to nodes with attribute dependencies(), depdents() and name(). Also expects edges to have the property absolute()

Member Function Documentation

template<typename GraphType >
void GraphExporter< GraphType >::write_graphviz ( GraphProperties< GraphType > *  extra_properties = 0)
inline

Write graphviz output of the generated graph to the given stream

Parameters
extra_propertiesAn optional set of properties to include when outputting the graph.

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