OrderTree::OrderVertexWriter Class Reference

A type of property writer that writes out vertices. We use this class to write out our graph in graphviz/dot format with a few customizations. More...

List of all members.

Public Member Functions

 OrderVertexWriter (const OrderGraphType &g)
 Constructor.
 ~OrderVertexWriter ()
 Destructor.
template<class Vertex >
void operator() (std::ostream &out, Vertex u)
 Functor for writing out each vertex's properties to DOT format.

Private Attributes

const OrderGraphTypewriter_order_tree
 Reference to graph we're writing.

Detailed Description

A type of property writer that writes out vertices. We use this class to write out our graph in graphviz/dot format with a few customizations.

Definition at line 119 of file ordertree.cpp.


Constructor & Destructor Documentation

OrderTree::OrderVertexWriter::OrderVertexWriter ( const OrderGraphType g  )  [inline, explicit]

Constructor.

Parameters:
g Graph to output

Definition at line 126 of file ordertree.cpp.

OrderTree::OrderVertexWriter::~OrderVertexWriter (  )  [inline]

Destructor.

Definition at line 132 of file ordertree.cpp.


Member Function Documentation

template<class Vertex >
void OrderTree::OrderVertexWriter::operator() ( std::ostream &  out,
Vertex  u 
) [inline]

Functor for writing out each vertex's properties to DOT format.

Parameters:
out Stream to write to
u Vertex to serialize

Definition at line 142 of file ordertree.cpp.

Here is the call graph for this function:


Member Data Documentation

Reference to graph we're writing.

Definition at line 184 of file ordertree.cpp.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator
Generated on Mon May 31 15:35:43 2010 for Byzantine Generals Coding Sample by  doxygen 1.6.3