EclFilename.hpp
Go to the documentation of this file.
1/*
2 Copyright (C) 2017 Equinor ASA, Norway.
3
4 This file is part of ERT - Ensemble based Reservoir Tool.
5
6 ERT is free software: you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation, either version 3 of the License, or
9 (at your option) any later version.
10
11 ERT is distributed in the hope that it will be useful, but WITHOUT ANY
12 WARRANTY; without even the implied warranty of MERCHANTABILITY or
13 FITNESS FOR A PARTICULAR PURPOSE.
14
15 See the GNU General Public License at <http://www.gnu.org/licenses/gpl.html>
16 for more details.
17*/
18
19#ifndef ERT_ECL_FILEMAME_HPP
20#define ERT_ECL_FILEMAME_HPP
21#include <string>
22
23#include <ert/ecl/ecl_util.hpp>
24
25namespace ERT {
26 std::string EclFilename( const std::string& base, ecl_file_enum file_type , int report_step, bool fmt_file = false);
27 std::string EclFilename( const std::string& base, ecl_file_enum file_type , bool fmt_file = false);
28
29 std::string EclFilename( const std::string& path, const std::string& base, ecl_file_enum file_type , int report_step, bool fmt_file = false);
30 std::string EclFilename( const std::string& path, const std::string& base, ecl_file_enum file_type , bool fmt_file = false);
31
33}
34#endif
const char *const string
Definition: cJSON.h:170
ecl_file_enum
Definition: ecl_util.hpp:33
Definition: EclFilename.hpp:25
std::string EclFilename(const std::string &base, ecl_file_enum file_type, int report_step, bool fmt_file=false)
ecl_file_enum EclFiletype(const std::string &filename)