|
libsim
Versione7.1.6
|
Utilities for managing files. Continua...
Tipi di dato | |
| type | csv_record |
| Class for interpreting the records of a csv file. Continua... | |
| interface | csv_record_addfield |
| Methods for successively adding fields to a csv_record object. Continua... | |
| interface | csv_record_addfield_miss |
| Methods for successively adding fields to a csv_record object. Continua... | |
| interface | csv_record_getfield |
| Methods for successively obtaining the fields of a csv_record object. Continua... | |
| interface | delete |
| Destructor for the class csv_record. Continua... | |
| interface | init |
| Constructor for the class csv_record. Continua... | |
Membri pubblici | |
| integer function | getunit () |
| Returns the number of a Fortran input/output unit currently unused. Continua... | |
| character(len=512) function | get_package_filepath (filename, filetype) |
| Looks for a specific file for the libsim package. Continua... | |
| integer function | open_package_file (filename, filetype) |
| Opens a specific file for the libsim package. Continua... | |
| subroutine | csv_record_rewind (this) |
| Rewind the pointer in order to allow rescan or rewrite of the same record. Continua... | |
| character(len=this%cursor) function | csv_record_getrecord (this, nfield) |
| Return current csv-coded record as a CHARACTER variable, ready to be written to a file. Continua... | |
| logical function | csv_record_end (this) |
Tells whether end of record was reached (.TRUE.) or there are still some fields left (.FALSE.). Continua... | |
Attributi pubblici | |
| integer, parameter | filetype_data = 1 |
| Data file requested. Continua... | |
| integer, parameter | filetype_config = 2 |
| Configuration file requested. Continua... | |
Membri privati | |
| subroutine, private | csv_record_init (this, record, csep, cquote, nfield) |
| Initialise a csv_record object. Continua... | |
| subroutine, private | csv_record_delete (this) |
| Destroy the csv_record object, freeing allocated memory. Continua... | |
| subroutine, private | csv_record_addfield_char (this, field, force_quote) |
Add a field from a CHARACTER variable to the csv record this. Continua... | |
| subroutine, private | csv_record_addfield_char_miss (this, field, force_quote) |
Add a field from a CHARACTER variable to the csv record this. Continua... | |
| subroutine, private | csv_record_addfield_int (this, field, form, force_quote) |
Add a field from an INTEGER variable to the csv record this. Continua... | |
| subroutine, private | csv_record_addfield_int_miss (this, field, force_quote) |
Add a field from an INTEGER variable to the csv record this. Continua... | |
| subroutine, private | csv_record_addfield_real (this, field, form, force_quote) |
Add a field from a REAL variable to the csv record this. Continua... | |
| subroutine, private | csv_record_addfield_real_miss (this, field, force_quote) |
Add a field from a REAL variable to the csv record this. Continua... | |
| subroutine, private | csv_record_addfield_double (this, field, form, force_quote) |
Add a field from a DOUBLE PRECISION variable to the csv record this. Continua... | |
| subroutine, private | csv_record_addfield_double_miss (this, field, force_quote) |
Add a field from a DOUBLE PRECISION variable to the csv record this. Continua... | |
| subroutine, private | csv_record_addfield_csv_record (this, record) |
| Add a full csv_record object to the csv record this. Continua... | |
| subroutine, private | csv_record_getfield_char (this, field, flen, ier) |
Returns next field from the record this as a CHARACTER variable. Continua... | |
| subroutine, private | csv_record_getfield_int (this, field, ier) |
Returns next field from the record this as an INTEGER variable. Continua... | |
| subroutine, private | csv_record_getfield_real (this, field, ier) |
Returns next field from the record this as a REAL variable. Continua... | |
| subroutine, private | csv_record_getfield_double (this, field, ier) |
Returns next field from the record this as a DOUBLE PRECISION variable. Continua... | |
Utilities for managing files.
This module is a collection of generic utilities for managing files. A group of utilities is dedicated to locating and opening configuration files in standard directories or in directories specified by environmental variables. The module also contains the class csv_record for creating and interpreting the records of a csv file.
Definizione alla linea 211 del file file_utilities.F90.