OGS
XMLInterface.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Copyright (c) OpenGeoSys Community (opengeosys.org)
2// SPDX-License-Identifier: BSD-3-Clause
3
4#pragma once
5
6#include <string>
7
8#include "BaseLib/IO/Writer.h"
9
10namespace BaseLib
11{
12namespace IO
13{
18{
19 virtual bool readFile(std::string const& fname) = 0;
20
21 std::string export_name = {};
22};
23
24} // namespace IO
25} // namespace BaseLib
Base class which enables writing an object to string, stringstream or file.
Definition Writer.h:21
Base class for writing any information to and from XML files.
virtual bool readFile(std::string const &fname)=0