gui/gui_reader.h
author deba
Wed, 01 Mar 2006 10:25:30 +0000
changeset 1991 d7442141d9ef
permissions -rw-r--r--
The graph adadptors can be alteration observed.
In most cases it uses the adapted graph alteration notifiers.
Only special case is now the UndirGraphAdaptor, where
we have to proxy the signals from the graph.

The SubBidirGraphAdaptor is removed, because it doest not
gives more feature than the EdgeSubGraphAdaptor<UndirGraphAdaptor<Graph>>.

The ResGraphAdaptor is based on this composition.
     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