From fa3be2d23451e882a3f606483896d3bc7c9f029d Mon Sep 17 00:00:00 2001 From: Dmitri Naumov <github@naumov.de> Date: Sat, 13 Mar 2021 14:44:39 +0100 Subject: [PATCH] [BL/XmlIO] Simplify XMLInterface implementation. --- BaseLib/IO/XmlIO/XMLInterface.cpp | 27 --------------------------- BaseLib/IO/XmlIO/XMLInterface.h | 7 +------ 2 files changed, 1 insertion(+), 33 deletions(-) delete mode 100644 BaseLib/IO/XmlIO/XMLInterface.cpp diff --git a/BaseLib/IO/XmlIO/XMLInterface.cpp b/BaseLib/IO/XmlIO/XMLInterface.cpp deleted file mode 100644 index 2ce90b9c651..00000000000 --- a/BaseLib/IO/XmlIO/XMLInterface.cpp +++ /dev/null @@ -1,27 +0,0 @@ -/** - * \file - * \author Karsten Rink - * \date 2010-02-18 - * \brief Implementation of the XMLInterface class. - * - * \copyright - * Copyright (c) 2012-2021, OpenGeoSys Community (http://www.opengeosys.org) - * Distributed under a Modified BSD License. - * See accompanying file LICENSE.txt or - * http://www.opengeosys.org/project/license - * - */ - -#include "XMLInterface.h" - -namespace BaseLib -{ -namespace IO -{ - -XMLInterface::XMLInterface() : - _exportName("") -{} - -} -} // namespace BaseLib diff --git a/BaseLib/IO/XmlIO/XMLInterface.h b/BaseLib/IO/XmlIO/XMLInterface.h index 0cd6425f76a..d5732f5d5c2 100644 --- a/BaseLib/IO/XmlIO/XMLInterface.h +++ b/BaseLib/IO/XmlIO/XMLInterface.h @@ -25,15 +25,10 @@ namespace IO /** * \brief Base class for writing any information to and from XML files. */ -class XMLInterface : public BaseLib::IO::Writer +struct XMLInterface : public BaseLib::IO::Writer { -public: - XMLInterface(); - ~XMLInterface() override = default; - virtual bool readFile(std::string const& fname) = 0; -public: std::string export_name = {}; }; -- GitLab