ResInsight/ApplicationLibCode/ProjectDataModel/RimEclipseCaseTools.h
Magne Sjaastad 4da4a222ca Add optional Eclipse case as data source in a view
This option makes it possible to look at data from other cases without creating one view per case.
2023-11-07 19:14:58 +01:00

41 lines
1.5 KiB
C++

/////////////////////////////////////////////////////////////////////////////////
//
// Copyright (C) 2022 Equinor 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 <vector>
class RimEclipseCase;
class RimEclipseResultCase;
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
class RimEclipseCaseTools
{
public:
// Single grid cases not part of a grid case group
static std::vector<RimEclipseCase*> eclipseCases();
// Result cases based on RimEclipseCaseTools::elipseCases()
static std::vector<RimEclipseResultCase*> eclipseResultCases();
// All Eclipse cases including grid case group source cases, excluding statistics cases
static std::vector<RimEclipseCase*> allEclipseGridCases();
};