cz::muni::stanse::threadchecker::debug::GraphViz Class Reference

List of all members.

Public Member Functions

 GraphViz ()
String getDotSource ()
byte[] getGraph (String dot_source)
int writeGraphToFile (byte[] img, String file)
int writeGraphToFile (byte[] img, File to)

Public Attributes

StringBuffer graph = new StringBuffer()


Constructor & Destructor Documentation

cz::muni::stanse::threadchecker::debug::GraphViz::GraphViz (  )  [inline]

Constructor: creates a new GraphViz object that will contain a graph.


Member Function Documentation

String cz::muni::stanse::threadchecker::debug::GraphViz::getDotSource (  )  [inline]

Returns the graph's source description in dot language.

Returns:
Source of the graph in dot language.

byte [] cz::muni::stanse::threadchecker::debug::GraphViz::getGraph ( String  dot_source  )  [inline]

Returns the graph as an image in binary format.

Parameters:
dot_source Source of the graph to be drawn.
Returns:
A byte array containing the image of the graph.

int cz::muni::stanse::threadchecker::debug::GraphViz::writeGraphToFile ( byte[]  img,
String  file 
) [inline]

Writes the graph's image in a file.

Parameters:
img A byte array containing the image of the graph.
file Name of the file to where we want to write.
Returns:
Success: 1, Failure: -1

int cz::muni::stanse::threadchecker::debug::GraphViz::writeGraphToFile ( byte[]  img,
File  to 
) [inline]

Writes the graph's image in a file.

Parameters:
img A byte array containing the image of the graph.
to A File object to where we want to write.
Returns:
Success: 1, Failure: -1


Member Data Documentation

The source of the graph written in dot language.


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

Generated on Thu Jan 13 16:24:10 2011 for Stanse by  doxygen 1.5.6