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
10
namespace
BaseLib
11
{
12
namespace
IO
13
{
17
struct
XMLInterface
:
public
BaseLib::IO::Writer
18
{
19
virtual
bool
readFile
(std::string
const
& fname) = 0;
20
21
std::string
export_name
= {};
22
};
23
24
}
// namespace IO
25
}
// namespace BaseLib
Writer.h
BaseLib::IO::Writer
Base class which enables writing an object to string, stringstream or file.
Definition
Writer.h:21
BaseLib::IO
Definition
readStringListFromFile.cpp:14
BaseLib
Definition
TestDefinition.h:13
BaseLib::IO::XMLInterface
Base class for writing any information to and from XML files.
Definition
XMLInterface.h:18
BaseLib::IO::XMLInterface::readFile
virtual bool readFile(std::string const &fname)=0
BaseLib::IO::XMLInterface::export_name
std::string export_name
Definition
XMLInterface.h:21
BaseLib
IO
XmlIO
XMLInterface.h
Generated by
1.14.0