gui_writer.h
author hegyi
Fri, 02 Feb 2007 10:13:33 +0000
changeset 187 b465e2c34f23
parent 98 f60f89147531
child 194 6b2b718420eb
permissions -rw-r--r--
Zoom is now available with mouse-wheel.
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_WRITER_H
ladanyi@98
    20
#define GUI_WRITER_H
ladanyi@98
    21
ladanyi@98
    22
#include "mapstorage.h"
ladanyi@98
    23
#include <lemon/lemon_writer.h>
ladanyi@98
    24
ladanyi@98
    25
using lemon::LemonWriter;
ladanyi@98
    26
ladanyi@98
    27
class GuiWriter : public LemonWriter::SectionWriter
ladanyi@98
    28
{
ladanyi@98
    29
  private:
ladanyi@98
    30
    MapStorage* mapstorage;
ladanyi@98
    31
  protected:
ladanyi@98
    32
    virtual std::string header();
ladanyi@98
    33
    virtual void write(std::ostream&);
ladanyi@98
    34
  public:
ladanyi@98
    35
    typedef LemonWriter::SectionWriter Parent;
ladanyi@98
    36
    GuiWriter(LemonWriter&, MapStorage*);
ladanyi@98
    37
};
ladanyi@98
    38
ladanyi@98
    39
#endif