2016-05-31 06:42:27 -05:00
|
|
|
/////////////////////////////////////////////////////////////////////////////////
|
|
|
|
//
|
|
|
|
// Copyright (C) 2016 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
|
|
|
|
|
|
|
|
#include "RimSummaryCase.h"
|
|
|
|
|
2016-11-16 02:21:27 -06:00
|
|
|
#include "cafPdmProxyValueField.h"
|
|
|
|
|
2016-10-06 08:41:31 -05:00
|
|
|
class RimEclipseCase;
|
|
|
|
|
2016-05-31 06:42:27 -05:00
|
|
|
//==================================================================================================
|
|
|
|
//
|
|
|
|
//
|
|
|
|
//
|
|
|
|
//==================================================================================================
|
|
|
|
|
|
|
|
class RimGridSummaryCase: public RimSummaryCase
|
|
|
|
{
|
|
|
|
CAF_PDM_HEADER_INIT;
|
|
|
|
public:
|
|
|
|
RimGridSummaryCase();
|
|
|
|
virtual ~RimGridSummaryCase();
|
|
|
|
|
2016-06-27 06:23:00 -05:00
|
|
|
void setAssociatedEclipseCase(RimEclipseCase* eclipseCase);
|
2016-10-06 08:41:31 -05:00
|
|
|
RimEclipseCase* associatedEclipseCase();
|
2016-06-27 06:23:00 -05:00
|
|
|
|
2016-11-07 08:57:21 -06:00
|
|
|
virtual QString summaryHeaderFilename() const override;
|
2016-08-05 04:05:58 -05:00
|
|
|
virtual QString caseName() const override;
|
2016-05-31 06:42:27 -05:00
|
|
|
|
|
|
|
private:
|
2016-11-16 02:21:27 -06:00
|
|
|
QString eclipseGridFileName() const;
|
|
|
|
|
|
|
|
private:
|
|
|
|
caf::PdmPtrField<RimEclipseCase*> m_eclipseCase;
|
|
|
|
caf::PdmProxyValueField<QString> m_eclipseGridFileName;
|
|
|
|
caf::PdmProxyValueField<QString> m_eclipseSummaryFileName;
|
2016-05-31 06:42:27 -05:00
|
|
|
};
|
|
|
|
|
|
|
|
|