Public Attributes | |
character(len=MAX_VAR_LEN) | name |
Filename. | |
integer | unit |
Attached unit. | |
integer | line_num |
Current line number. |
An inout_file_t is just a simple wrapper around a Fortran unit number together with the filename and current line number. The line number is updated manually by the various inout_*
() subroutine. To maintain its validity all file accesses must be done via the inout_*
() subroutines, and no data should be accessed directly via inout_file%unit
.
character(len=MAX_VAR_LEN) pmc_inout::inout_file_t::name |
Filename.
integer pmc_inout::inout_file_t::unit |
Attached unit.
Current line number.