Line | |
---|
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 | #include <lemon/lemon_reader.h> |
---|
22 | |
---|
23 | #include "mapstorage.h" |
---|
24 | |
---|
25 | using lemon::LemonReader; |
---|
26 | |
---|
27 | class GuiReader : public LemonReader::SectionReader |
---|
28 | { |
---|
29 | private: |
---|
30 | MapStorage* mapstorage; |
---|
31 | MapStorage::GUISectData& gui_data; |
---|
32 | protected: |
---|
33 | virtual bool header(const std::string&); |
---|
34 | virtual void read(std::istream&); |
---|
35 | public: |
---|
36 | typedef LemonReader::SectionReader Parent; |
---|
37 | GuiReader(LemonReader&, MapStorage*, MapStorage::GUISectData&); |
---|
38 | }; |
---|
39 | |
---|
40 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.