GNGRepresentation Class Reference

Provides a means for ouputing a representation of a IGNGContainer implementation to an outputstream. More...

#include <GNGRepresentation.hpp>

List of all members.

Public Member Functions

 GNGRepresentation (std::ostream &o)
 Initialize a new GNGRepresentation with an outputstream.

virtual ~GNGRepresentation ()
virtual void OutputRepresentationPaired (IGNGContainer &c)
 Outputs a representation of the provided IGNGContainer.

virtual void OutputRepresentation (IGNGContainer &c)
 Outputs a representation of the provided IGNGContainer.


Private Member Functions

void OutputNode (GNGNode const *node)
 Outputs a GNGNode.

void OutputNodeEdges (GNGNode const *node)
 Outputs all the GNGEdges that node has.


Private Attributes

std::ostream & m_ostream


Detailed Description

Provides a means for ouputing a representation of a IGNGContainer implementation to an outputstream.


Constructor & Destructor Documentation

GNGRepresentation std::ostream &  o  ) 
 

Initialize a new GNGRepresentation with an outputstream.

Parameters:
o the outputstream to which the representation is output.

virtual ~GNGRepresentation  )  [virtual]
 


Member Function Documentation

void OutputRepresentationPaired IGNGContainer c  )  [virtual]
 

Outputs a representation of the provided IGNGContainer.

nodes are paired if they have an edge.

Parameters:
c an IGNGContainer

void OutputRepresentation IGNGContainer c  )  [virtual]
 

Outputs a representation of the provided IGNGContainer.

Parameters:
c an IGNGContainer

void OutputNode GNGNode const *  node  )  [private]
 

Outputs a GNGNode.

Parameters:
node a GNGNode to output.

void OutputNodeEdges GNGNode const *  node  )  [private]
 

Outputs all the GNGEdges that node has.

Parameters:
node the GNGNode to get the edges from.


Member Data Documentation

std::ostream& m_ostream [private]
 


Generated on Mon Mar 22 16:40:49 2004 for GNG_GL by doxygen 1.3.6