gui_reader.h
author hegyi
Tue, 27 Feb 2007 17:18:19 +0000
changeset 191 af2ed974ab68
parent 98 f60f89147531
child 194 6b2b718420eb
permissions -rw-r--r--
GUI can now export graph to EPS.
     1 /* -*- C++ -*-
     2  *
     3  * This file is a part of LEMON, a generic C++ optimization library
     4  *
     5  * Copyright (C) 2003-2006
     6  * Egervary Jeno Kombinatorikus Optimalizalasi Kutatocsoport
     7  * (Egervary Research Group on Combinatorial Optimization, EGRES).
     8  *
     9  * Permission to use, modify and distribute this software is granted
    10  * provided that this copyright notice appears in all copies. For
    11  * precise terms see the accompanying LICENSE file.
    12  *
    13  * This software is provided "AS IS" with no warranty of any kind,
    14  * express or implied, and with no claim as to its suitability for any
    15  * purpose.
    16  *
    17  */
    18 
    19 #ifndef GUI_READER_H
    20 #define GUI_READER_H
    21 
    22 #include "mapstorage.h"
    23 #include <lemon/lemon_reader.h>
    24 
    25 using lemon::LemonReader;
    26 
    27 class GuiReader : public LemonReader::SectionReader
    28 {
    29   private:
    30     MapStorage* mapstorage;
    31   protected:
    32     virtual bool header(const std::string&);
    33     virtual void read(std::istream&);
    34   public:
    35     typedef LemonReader::SectionReader Parent;
    36     GuiReader(LemonReader&, MapStorage*);
    37 };
    38 
    39 #endif