gui/gui_reader.h
author deba
Mon, 27 Feb 2006 10:36:01 +0000
changeset 1986 9b56cca61e2e
permissions -rw-r--r--
An additional simplier interface for static size graphs.
Node operator()(int) for getting node by index
int index(Node node) for getting index by node
     1 #ifndef GUI_READER_H
     2 #define GUI_READER_H
     3 
     4 #include "mapstorage.h"
     5 #include <lemon/lemon_reader.h>
     6 
     7 using lemon::LemonReader;
     8 
     9 class GuiReader : public LemonReader::SectionReader
    10 {
    11   private:
    12     MapStorage* mapstorage;
    13   protected:
    14     virtual bool header(const std::string&);
    15     virtual void read(std::istream&);
    16   public:
    17     typedef LemonReader::SectionReader Parent;
    18     GuiReader(LemonReader&, MapStorage*);
    19 };
    20 
    21 #endif