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>

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 () |
| SectionWriter | ( | LemonWriter & | writer | ) | [inline, protected] |
Constructor for SectionWriter. It attach this writer to the given LemonWriter.
| virtual std::string header | ( | ) | [protected, pure virtual] |
It gives back the header of the section.
Implemented in NodeSetWriter< _Graph, _Traits >, BpNodeSetWriter< _Graph, _Traits >, EdgeSetWriter< _Graph, _Traits >, UEdgeSetWriter< _Graph, _Traits >, NodeWriter< _Graph >, EdgeWriter< _Graph >, UEdgeWriter< _Graph >, NodeMapWriter< _Graph, _Traits >, EdgeMapWriter< _Graph, _Traits >, UEdgeMapWriter< _Graph, _Traits >, AttributeWriter< _Traits >, LpWriter, NodeSetWriter< Graph, WriterTraits >, BpNodeSetWriter< Graph, WriterTraits >, EdgeSetWriter< Graph, WriterTraits >, UEdgeSetWriter< Graph, WriterTraits >, NodeWriter< Graph >, EdgeWriter< Graph >, UEdgeWriter< Graph >, and AttributeWriter< WriterTraits >.
| virtual void write | ( | std::ostream & | os | ) | [protected, pure virtual] |
Write the content of the section.
Implemented in NodeSetWriter< _Graph, _Traits >, BpNodeSetWriter< _Graph, _Traits >, EdgeSetWriter< _Graph, _Traits >, UEdgeSetWriter< _Graph, _Traits >, NodeWriter< _Graph >, EdgeWriter< _Graph >, UEdgeWriter< _Graph >, NodeMapWriter< _Graph, _Traits >, EdgeMapWriter< _Graph, _Traits >, UEdgeMapWriter< _Graph, _Traits >, AttributeWriter< _Traits >, LpWriter, NodeSetWriter< Graph, WriterTraits >, BpNodeSetWriter< Graph, WriterTraits >, EdgeSetWriter< Graph, WriterTraits >, UEdgeSetWriter< Graph, WriterTraits >, NodeWriter< Graph >, EdgeWriter< Graph >, UEdgeWriter< Graph >, and AttributeWriter< WriterTraits >.
| virtual bool valid | ( | ) | [inline, protected, virtual] |
Gives back true when the section should be written.
Reimplemented in NodeWriter< _Graph >, EdgeWriter< _Graph >, UEdgeWriter< _Graph >, AttributeWriter< _Traits >, NodeWriter< Graph >, EdgeWriter< Graph >, UEdgeWriter< Graph >, and AttributeWriter< WriterTraits >.
1.5.9