///////////////////////////////////////////////////////////////////////////////// // // Copyright (C) 2020- 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 // for more details. // ///////////////////////////////////////////////////////////////////////////////// #pragma once #include "cafPdmField.h" #include "cafPdmObjectHandle.h" #include "cafPdmObjectMethod.h" #include //================================================================================================== /// //================================================================================================== class RimcEclipseCase_importProperties : public caf::PdmObjectMethod { CAF_PDM_HEADER_INIT; public: RimcEclipseCase_importProperties( caf::PdmObjectHandle* self ); std::expected execute() override; QString classKeywordReturnedType() const override; private: caf::PdmField> m_fileNames; }; //================================================================================================== /// //================================================================================================== class RimcEclipseCase_exportValuesInternal : public caf::PdmVoidObjectMethod { CAF_PDM_HEADER_INIT; public: RimcEclipseCase_exportValuesInternal( caf::PdmObjectHandle* self ); std::expected execute() override; private: caf::PdmField m_coordinateX; caf::PdmField m_coordinateY; caf::PdmField m_coordinateZ; caf::PdmField m_propertyType; caf::PdmField m_propertyName; caf::PdmField m_timeStep; caf::PdmField m_porosityModel; caf::PdmField m_resultKey; }; //================================================================================================== /// //================================================================================================== class RimcEclipseCase_exportCornerPointGridInternal : public caf::PdmVoidObjectMethod { CAF_PDM_HEADER_INIT; public: RimcEclipseCase_exportCornerPointGridInternal( caf::PdmObjectHandle* self ); std::expected execute() override; private: caf::PdmField m_zcornKey; caf::PdmField m_coordKey; caf::PdmField m_actnumKey; }; //================================================================================================== /// //================================================================================================== class RimcEclipseCase_addResultAlias : public caf::PdmVoidObjectMethod { CAF_PDM_HEADER_INIT; public: RimcEclipseCase_addResultAlias( caf::PdmObjectHandle* self ); std::expected execute() override; private: caf::PdmField m_resultName; caf::PdmField m_aliasName; }; //================================================================================================== /// //================================================================================================== class RimcEclipseCase_clearResultAliases : public caf::PdmVoidObjectMethod { CAF_PDM_HEADER_INIT; public: RimcEclipseCase_clearResultAliases( caf::PdmObjectHandle* self ); std::expected execute() override; };