ResInsight/ApplicationCode/ProjectDataModel/Summary/RimObservedEclipseUserData.h

50 lines
1.6 KiB
C
Raw Normal View History

/////////////////////////////////////////////////////////////////////////////////
//
// Copyright (C) 2017- Statoil ASA
//
// ResInsight is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// ResInsight is distributed in the hope that it will be useful, but WITHOUT ANY
// WARRANTY; without even the implied warranty of MERCHANTABILITY or
// FITNESS FOR A PARTICULAR PURPOSE.
//
// See the GNU General Public License at <http://www.gnu.org/licenses/gpl.html>
// for more details.
//
/////////////////////////////////////////////////////////////////////////////////
#pragma once
2019-08-20 08:09:13 -05:00
#include "RimObservedSummaryData.h"
#include "cafPdmField.h"
#include "cafPdmObject.h"
#include "cvfObject.h"
class RifSummaryReaderInterface;
//==================================================================================================
//
//==================================================================================================
2019-08-20 08:09:13 -05:00
class RimObservedEclipseUserData : public RimObservedSummaryData
{
CAF_PDM_HEADER_INIT;
public:
2017-09-27 08:19:04 -05:00
RimObservedEclipseUserData();
~RimObservedEclipseUserData() override;
void createSummaryReaderInterface() override;
RifSummaryReaderInterface* summaryReader() override;
QString errorMessagesFromReader() override;
private:
cvf::ref<RifSummaryReaderInterface> m_summeryReader;
QString m_errorText;
};