#include <lemon/lemon_writer.h>
Inherited by CommonSectionWriterBase.
Inheritance diagram for LemonWriter::SectionWriter:
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.
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. |
|
Constructor for SectionWriter. It attach this writer to the given LemonWriter. |
|
It gives back the header of the section. Implemented in NodeSetWriter, EdgeSetWriter, UndirEdgeSetWriter, NodeWriter, EdgeWriter, UndirEdgeWriter, AttributeWriter, NodeSetWriter< Graph, WriterTraits >, EdgeSetWriter< Graph, WriterTraits >, UndirEdgeSetWriter< Graph, WriterTraits >, NodeWriter< Graph >, EdgeWriter< Graph >, UndirEdgeWriter< Graph >, and AttributeWriter< WriterTraits >. |
|
Write the content of the section. Implemented in NodeSetWriter, EdgeSetWriter, UndirEdgeSetWriter, NodeWriter, EdgeWriter, UndirEdgeWriter, AttributeWriter, NodeSetWriter< Graph, WriterTraits >, EdgeSetWriter< Graph, WriterTraits >, UndirEdgeSetWriter< Graph, WriterTraits >, NodeWriter< Graph >, EdgeWriter< Graph >, UndirEdgeWriter< Graph >, and AttributeWriter< WriterTraits >. |