dune-vtk 2.12
Loading...
Searching...
No Matches
filewriter.hh
Go to the documentation of this file.
1#pragma once
2
3#include <optional>
4#include <string>
5
6namespace Dune::Vtk
7{
9 {
10 public:
12 virtual ~FileWriter () = default;
13
15 virtual std::string write (std::string const& filename, std::optional<std::string> dataDir = {}) const = 0;
16 };
17
18} // end namespace Dune::Vtk
Definition writer.hh:16
Definition filewriter.hh:9
virtual std::string write(std::string const &filename, std::optional< std::string > dataDir={}) const =0
Write to file given by filename and (optionally) store additional data in dataDir
virtual ~FileWriter()=default
Virtual destructor.