filewriter.hh 319 Bytes
Newer Older
Praetorius, Simon's avatar
Praetorius, Simon committed
1
2
3
4
#pragma once

#include <string>

5
namespace Dune { namespace experimental
Praetorius, Simon's avatar
Praetorius, Simon committed
6
7
8
9
10
11
12
13
14
15
16
{
  class FileWriter
  {
  public:
    /// Virtual destructor
    virtual ~FileWriter () = default;

    /// Write to file given by `filename`
    virtual void write (std::string const& filename) = 0;
  };

17
}} // end namespace Dune::experimental