SectionWriter Class Reference


Detailed Description

This class has an header() member function what gives back the header line of the section. The write() member should write the content of the section to the stream. #include <lemon/lemon_writer.h>

Inheritance diagram for SectionWriter:

Inheritance graph
[legend]

List of all members.

Protected Member Functions

 SectionWriter (LemonWriter &writer)
 Constructor for SectionWriter.
virtual std::string header ()=0
 The header of section.
virtual void write (std::ostream &os)=0
 Writer function of the section.
virtual bool valid ()


Constructor & Destructor Documentation

SectionWriter ( LemonWriter writer  )  [inline, protected]

Constructor for SectionWriter. It attach this writer to the given LemonWriter.


Member Function Documentation

virtual std::string header (  )  [protected, pure virtual]

virtual void write ( std::ostream &  os  )  [protected, pure virtual]

virtual bool valid (  )  [inline, protected, virtual]


Generated on Thu Jun 4 04:05:07 2009 for LEMON by  doxygen 1.5.9