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