preCICE v3.1.2
Loading...
Searching...
No Matches
Export.hpp
Go to the documentation of this file.
1#pragma once
2
3#include <string>
4
5namespace precice {
6namespace mesh {
7class Mesh;
8}
9} // namespace precice
10
11namespace precice {
12namespace io {
13
15class Export {
16public:
17 virtual ~Export() = default;
18
19 Export() = default;
20 Export(const Export &) = delete;
21 Export(Export &&) = delete;
22 Export &operator=(const Export &) = delete;
23 Export &operator=(Export &&) = delete;
24
32 virtual void doExport(
33 const std::string &name,
34 const std::string &location,
35 const mesh::Mesh & mesh) = 0;
36};
37
38} // namespace io
39} // namespace precice
std::string name
Abstract base class of all classes exporting container data structures.
Definition Export.hpp:15
Export(Export &&)=delete
virtual void doExport(const std::string &name, const std::string &location, const mesh::Mesh &mesh)=0
Does export. Has to be implemented in subclass.
Export & operator=(const Export &)=delete
Export(const Export &)=delete
Export & operator=(Export &&)=delete
virtual ~Export()=default
Container and creator for meshes.
Definition Mesh.hpp:39
Main namespace of the precice library.