gui_writer.h
author ladanyi
Mon, 19 Dec 2005 16:59:05 +0000
branchgui
changeset 101 7234b7fabd05
child 174 95872af46fc4
permissions -rw-r--r--
Fix crash when the input file does not contain any nodeset or edgeset.
     1 #ifndef GUI_WRITER_H
     2 #define GUI_WRITER_H
     3 
     4 #include "mapstorage.h"
     5 #include <lemon/lemon_writer.h>
     6 
     7 using lemon::LemonWriter;
     8 
     9 class GuiWriter : public LemonWriter::SectionWriter
    10 {
    11   private:
    12     MapStorage* mapstorage;
    13   protected:
    14     virtual std::string header();
    15     virtual void write(std::ostream&);
    16   public:
    17     typedef LemonWriter::SectionWriter Parent;
    18     GuiWriter(LemonWriter&, MapStorage*);
    19 };
    20 
    21 #endif