///////////////////////////////////////////////////////////////////////////////// // // Copyright (C) 2025 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 "Summary/RiaSummaryDefines.h" #include class RimSummaryCase; namespace RiaEnsembleImportTools { struct CreateConfig { RiaDefines::FileType fileType; bool ensembleOrGroup; bool allowDialogs; bool buildSummaryAddresses = true; }; std::vector createSummaryCasesFromFiles( const QStringList& fileNames, CreateConfig createConfig ); std::pair findPathPattern( const QStringList& filePaths, const QString& placeholderString ); QStringList createPathsFromPattern( const QString& basePath, const QString& numberRange, const QString& placeholderString ); QStringList createPathsBySearchingFileSystem_obsolete( const QString& pathPattern, const QString& placeholderString, const QString& enumerationString ); QStringList createPathsBySearchingFileSystem( const QString& pathPattern, const QString& extension, const QString& placeholderString ); QStringList getMatchingFiles( const QString& basePath, const QString& regexPattern ); } // namespace RiaEnsembleImportTools