#include <stdlib.h>
#include <stdio.h>
#include <stdbool.h>
#include <ert/util/util.h>
#include <ert/util/type_macros.hpp>
Go to the source code of this file.
|
fortio_status_type | fortio_check_buffer (FILE *stream, bool endian_flip, size_t buffer_size) |
|
fortio_status_type | fortio_check_file (const char *filename, bool endian_flip) |
|
bool | fortio_looks_like_fortran_file (const char *, bool) |
|
void | fortio_copy_record (fortio_type *, fortio_type *, int, void *, bool *) |
|
fortio_type * | fortio_open_reader (const char *, bool fmt_file, bool endian_flip_header) |
|
fortio_type * | fortio_open_writer (const char *, bool fmt_file, bool endian_flip_header) |
|
fortio_type * | fortio_open_readwrite (const char *, bool fmt_file, bool endian_flip_header) |
|
fortio_type * | fortio_open_append (const char *filename, bool fmt_file, bool endian_flip_header) |
|
fortio_type * | fortio_alloc_FILE_wrapper (const char *, bool, bool, bool, FILE *) |
|
void | fortio_free_FILE_wrapper (fortio_type *) |
|
void | fortio_fclose (fortio_type *) |
|
int | fortio_init_read (fortio_type *) |
|
bool | fortio_complete_read (fortio_type *, int record_size) |
|
void | fortio_init_write (fortio_type *, int) |
|
void | fortio_complete_write (fortio_type *, int record_size) |
|
void | fortio_fskip_buffer (fortio_type *, int) |
|
int | fortio_fskip_record (fortio_type *) |
|
bool | fortio_fread_buffer (fortio_type *, char *buffer, int buffer_size) |
|
void | fortio_fwrite_record (fortio_type *, const char *buffer, int buffer_size) |
|
FILE * | fortio_get_FILE (const fortio_type *) |
|
void | fortio_fflush (fortio_type *) |
|
bool | fortio_ftruncate_current (fortio_type *fortio) |
|
bool | fortio_is_fortio_file (fortio_type *) |
|
void | fortio_rewind (const fortio_type *fortio) |
|
const char * | fortio_filename_ref (const fortio_type *) |
|
bool | fortio_fmt_file (const fortio_type *) |
|
offset_type | fortio_ftell (const fortio_type *fortio) |
|
bool | fortio_fseek (fortio_type *fortio, offset_type offset, int whence) |
|
bool | fortio_data_fskip (fortio_type *fortio, const int element_size, const int element_count, const int block_count) |
|
void | fortio_data_fseek (fortio_type *fortio, offset_type data_offset, size_t data_element, const int element_size, const int element_count, const int block_size) |
|
int | fortio_fileno (fortio_type *fortio) |
|
bool | fortio_ftruncate (fortio_type *fortio, offset_type size) |
|
int | fortio_fclean (fortio_type *fortio) |
|
bool | fortio_fclose_stream (fortio_type *fortio) |
|
bool | fortio_fopen_stream (fortio_type *fortio) |
|
bool | fortio_stream_is_open (const fortio_type *fortio) |
|
bool | fortio_assert_stream_open (fortio_type *fortio) |
|
bool | fortio_read_at_eof (fortio_type *fortio) |
|
void | fortio_fwrite_error (fortio_type *fortio) |
|
| UTIL_IS_INSTANCE_HEADER (fortio) |
|
| UTIL_SAFE_CAST_HEADER (fortio) |
|
◆ fortio_type
◆ fortio_status_type
Enumerator |
---|
FORTIO_NOENTRY | |
FORTIO_EOF | |
FORTIO_OK | |
FORTIO_MISSING_DATA | |
FORTIO_MISSING_TAIL | |
FORTIO_HEADER_MISMATCH | |
◆ fortio_alloc_FILE_wrapper()
◆ fortio_assert_stream_open()
◆ fortio_check_buffer()
◆ fortio_check_file()
◆ fortio_complete_read()
◆ fortio_complete_write()
void fortio_complete_write |
( |
fortio_type * |
, |
|
|
int |
record_size |
|
) |
| |
◆ fortio_copy_record()
◆ fortio_data_fseek()
void fortio_data_fseek |
( |
fortio_type * |
fortio, |
|
|
offset_type |
data_offset, |
|
|
size_t |
data_element, |
|
|
const int |
element_size, |
|
|
const int |
element_count, |
|
|
const int |
block_size |
|
) |
| |
◆ fortio_data_fskip()
bool fortio_data_fskip |
( |
fortio_type * |
fortio, |
|
|
const int |
element_size, |
|
|
const int |
element_count, |
|
|
const int |
block_count |
|
) |
| |
◆ fortio_fclean()
◆ fortio_fclose()
◆ fortio_fclose_stream()
◆ fortio_fflush()
◆ fortio_filename_ref()
const char * fortio_filename_ref |
( |
const fortio_type * |
| ) |
|
◆ fortio_fileno()
◆ fortio_fmt_file()
◆ fortio_fopen_stream()
◆ fortio_fread_buffer()
bool fortio_fread_buffer |
( |
fortio_type * |
, |
|
|
char * |
buffer, |
|
|
int |
buffer_size |
|
) |
| |
◆ fortio_free_FILE_wrapper()
◆ fortio_fseek()
◆ fortio_fskip_buffer()
◆ fortio_fskip_record()
◆ fortio_ftell()
◆ fortio_ftruncate()
◆ fortio_ftruncate_current()
◆ fortio_fwrite_error()
◆ fortio_fwrite_record()
void fortio_fwrite_record |
( |
fortio_type * |
, |
|
|
const char * |
buffer, |
|
|
int |
buffer_size |
|
) |
| |
◆ fortio_get_FILE()
◆ fortio_init_read()
◆ fortio_init_write()
◆ fortio_is_fortio_file()
◆ fortio_looks_like_fortran_file()
bool fortio_looks_like_fortran_file |
( |
const char * |
, |
|
|
bool |
|
|
) |
| |
◆ fortio_open_append()
fortio_type * fortio_open_append |
( |
const char * |
filename, |
|
|
bool |
fmt_file, |
|
|
bool |
endian_flip_header |
|
) |
| |
◆ fortio_open_reader()
◆ fortio_open_readwrite()
◆ fortio_open_writer()
◆ fortio_read_at_eof()
◆ fortio_rewind()
◆ fortio_stream_is_open()
◆ UTIL_IS_INSTANCE_HEADER()
UTIL_IS_INSTANCE_HEADER |
( |
fortio |
| ) |
|
◆ UTIL_SAFE_CAST_HEADER()
UTIL_SAFE_CAST_HEADER |
( |
fortio |
| ) |
|
|