The AHA Model  Revision: 12809
Reference implementation 04 (HEDG02_04)
m_fileio.f90 File Reference

File objects for the AHA Model. More...

Go to the source code of this file.

Data Types

type  file_io::file_handle
 FILE_HANDLE is the basic file handle object. It provides an unitary object oriented interface for operations with any supported file types. More...
 

Modules

module  file_io
 Definition of high level file objects.
 

Functions/Subroutines

logical function file_io::file_operation_last_is_success (this)
 Get the success or error status of the latest file operation. Example: More...
 
character(len=:) function, allocatable file_io::file_hangle_get_name_string (this)
 Get the file name associated with the file handle. If the file name is (yet) undefined, the latest operation success flag (see file_io::is_success()) is FALSE. Example: More...
 
integer function file_io::file_object_get_associated_unit (this)
 A Low level function to get the Fortran unit number associated with the file handle object. More...
 
logical function file_io::file_object_format_is_csv (this)
 Check if the file format is CSV. More...
 
logical function file_io::file_object_format_is_txt (this)
 Check if the file format is CSV. More...
 
subroutine file_io::csv_open_write_this (this, name, format)
 This is an object oriented wrapper for CSV_OPEN_WRITE(). For details see CSV_OPEN_WRITE. More...
 
subroutine file_io::csv_close_this (this)
 This is an object oriented wrapper for CSV_CLOSE(). For details see CSV_CLOSE. More...
 
subroutine file_io::csv_header_line_write_this (this, header)
 This is an object oriented wrapper for CSV_HEADER_WRITE(). See CSV_HEADER_WRITE for details. More...
 
subroutine file_io::csv_record_string_write_this (this, csv_record)
 Physically write a single string CSV data record to the file. See CSV_RECORD_WRITE Example: More...
 

Public enumeration constants defining supported file types

Define the file types that are supported by this module.

enum  
 
@, public file_io::undefined
 
@, public file_io::format_csv
 
@, public file_io::format_txt
 

Detailed Description

File objects for the AHA Model.

Author
Sergey Budaev serge.nosp@m.y.bu.nosp@m.daev@.nosp@m.uib..nosp@m.no
Jarl Giske jarl..nosp@m.gisk.nosp@m.e@uib.nosp@m..no
Date
2016-2017

Definition in file m_fileio.f90.