https://gitlab.opengeosys.org/ogs/ogs.git
Raw File
Tip revision: e2d843bf4398ef897d7c0d424da315ad9ae23323 authored by Norbert Grunwald on 04 July 2021, 12:26:02 UTC
Merge branch 'TH2M_confined_compression' into 'master'
Tip revision: e2d843b
XMLInterface.h
/**
 * \file
 * \author Karsten Rink
 * \date   2010-02-18
 * \brief  Definition 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
 *
 */

#pragma once

#include <string>

#include "BaseLib/IO/Writer.h"

namespace BaseLib
{
namespace IO
{
/**
 * \brief Base class for writing any information to and from XML files.
 */
struct XMLInterface : public BaseLib::IO::Writer
{
    virtual bool readFile(std::string const& fname) = 0;

    std::string export_name = {};
};

}  // namespace IO
}  // namespace BaseLib
back to top