Main Page   Modules   Namespace List   Class Hierarchy   Compound List   File List   Compound Members  

OutputStrategy Class Template Reference
[OutputStrategy]

OutputStrategies are used to define the output-format of the tree. They are used together with an OutputVisitor which calls their methods appropriately. More...

#include <nodeoutputstrategy.h>

Inheritance diagram for OutputStrategy:

Inheritance graph
[legend]
List of all members.

Public Methods

virtual OutputStrategy< _TContent > * clone () const
virtual ~OutputStrategy ()
virtual void writeHeader ()=0
virtual void writeFooter ()=0
virtual void writeString (std::string &str)=0
virtual void writeNormalNode (const NormalNode< _TContent > *node)=0
virtual void writeRootNode (const RootNode< _TContent > *node)=0
virtual bool isNull ()

Detailed Description

template<class _TContent>
class treecomp::OutputStrategy< _TContent >

OutputStrategies are used to define the output-format of the tree. They are used together with an OutputVisitor which calls their methods appropriately.

Definition at line 50 of file nodeoutputstrategy.h.


Constructor & Destructor Documentation

virtual ~OutputStrategy   [inline, virtual]
 

Definition at line 54 of file nodeoutputstrategy.h.


Member Function Documentation

virtual OutputStrategy<_TContent>* clone   const [inline, virtual]
 

Reimplemented in StreamOutputStrategy, NullOutputStrategy, DefaultOutputStrategy, and TEXGraphOutputStrategy.

Definition at line 53 of file nodeoutputstrategy.h.

virtual bool isNull   [inline, virtual]
 

Reimplemented in NullOutputStrategy.

Definition at line 62 of file nodeoutputstrategy.h.

virtual void writeFooter   [pure virtual]
 

Implemented in StreamOutputStrategy, NullOutputStrategy, DefaultOutputStrategy, and TEXGraphOutputStrategy.

virtual void writeHeader   [pure virtual]
 

Implemented in StreamOutputStrategy, NullOutputStrategy, DefaultOutputStrategy, and TEXGraphOutputStrategy.

virtual void writeNormalNode const NormalNode< _TContent > *    node [pure virtual]
 

Implemented in StreamOutputStrategy, NullOutputStrategy, DefaultOutputStrategy, and TEXGraphOutputStrategy.

virtual void writeRootNode const RootNode< _TContent > *    node [pure virtual]
 

Implemented in StreamOutputStrategy, NullOutputStrategy, DefaultOutputStrategy, and TEXGraphOutputStrategy.

virtual void writeString std::string &    str [pure virtual]
 

Implemented in StreamOutputStrategy, and NullOutputStrategy.


The documentation for this class was generated from the following file:
Generated on Mon Jan 6 12:02:26 2003 for TreeComp by doxygen1.2.17