ecl_kw_grdecl.hpp
Go to the documentation of this file.
1/*
2 Copyright (C) 2011 Equinor ASA, Norway.
3
4 The file 'ecl_kw_grdecl.h' 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/*
20 This header does not define datatypes; just a couple of functions. It should
21 be included from the ecl_kw.h header, so applications do not need to include this
22 header explicitly.
23*/
24
25#ifndef ERT_ECL_KW_GRDECL_H
26#define ERT_ECL_KW_GRDECL_H
27#ifdef __cplusplus
28extern "C" {
29#endif
30
31
32
33 bool ecl_kw_grdecl_fseek_kw(const char * , bool , FILE * );
34
35 ecl_kw_type * ecl_kw_fscanf_alloc_grdecl_dynamic__( FILE * stream , const char * kw , bool strict , ecl_data_type );
36 ecl_kw_type * ecl_kw_fscanf_alloc_grdecl_dynamic( FILE * stream , const char * kw , ecl_data_type);
37
38 ecl_kw_type * ecl_kw_fscanf_alloc_grdecl_data__(FILE * stream , bool strict , int size, ecl_data_type data_type );
39 ecl_kw_type * ecl_kw_fscanf_alloc_grdecl_data( FILE * stream , int size , ecl_data_type data_type);
40
41 ecl_kw_type * ecl_kw_fscanf_alloc_grdecl__(FILE * stream, const char * kw , bool strict , int size, ecl_data_type data_type);
42 ecl_kw_type * ecl_kw_fscanf_alloc_grdecl(FILE * stream , const char * kw, int size, ecl_data_type data_type);
43
44 ecl_kw_type * ecl_kw_fscanf_alloc_current_grdecl__( FILE * stream , bool strict , ecl_data_type data_type);
46
47 bool ecl_kw_grdecl_fseek_next_kw( FILE * stream );
48 char * ecl_kw_grdecl_alloc_next_header( FILE * stream );
49
50 void ecl_kw_fprintf_grdecl(const ecl_kw_type * ecl_kw , FILE * stream);
51 void ecl_kw_fprintf_grdecl__(const ecl_kw_type * ecl_kw , const char * special_header , FILE * stream);
52
53#ifdef __cplusplus
54}
55#endif
56#endif
57
struct ecl_kw_struct ecl_kw_type
Definition: ecl_kw.hpp:39
char * ecl_kw_grdecl_alloc_next_header(FILE *stream)
ecl_kw_type * ecl_kw_fscanf_alloc_grdecl__(FILE *stream, const char *kw, bool strict, int size, ecl_data_type data_type)
ecl_kw_type * ecl_kw_fscanf_alloc_grdecl_data(FILE *stream, int size, ecl_data_type data_type)
ecl_kw_type * ecl_kw_fscanf_alloc_current_grdecl__(FILE *stream, bool strict, ecl_data_type data_type)
ecl_kw_type * ecl_kw_fscanf_alloc_grdecl_data__(FILE *stream, bool strict, int size, ecl_data_type data_type)
void ecl_kw_fprintf_grdecl(const ecl_kw_type *ecl_kw, FILE *stream)
ecl_kw_type * ecl_kw_fscanf_alloc_grdecl_dynamic__(FILE *stream, const char *kw, bool strict, ecl_data_type)
void ecl_kw_fprintf_grdecl__(const ecl_kw_type *ecl_kw, const char *special_header, FILE *stream)
ecl_kw_type * ecl_kw_fscanf_alloc_grdecl_dynamic(FILE *stream, const char *kw, ecl_data_type)
bool ecl_kw_grdecl_fseek_kw(const char *, bool, FILE *)
bool ecl_kw_grdecl_fseek_next_kw(FILE *stream)
ecl_kw_type * ecl_kw_fscanf_alloc_current_grdecl(FILE *stream, ecl_data_type data_type)
ecl_kw_type * ecl_kw_fscanf_alloc_grdecl(FILE *stream, const char *kw, int size, ecl_data_type data_type)
Definition: ecl_type.hpp:72