https://gitlab.opengeosys.org/ogs/ogs.git
Raw File
Tip revision: 80dff0b68fa0c7aa2c632e9ea6588dcb39dec500 authored by Tobias Meisel on 15 September 2021, 13:11:55 UTC
Merge branch 'localhdf' into 'master'
Tip revision: 80dff0b
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