![]() |
MODFLOW 6 version 6.9.0.dev0
USGS Modular Hydrologic Model
|
LongLineReaderType. More...

Public Member Functions | |
| procedure | bkspc (this, iin) |
| Emulate a Fortran backspace. | |
| procedure | rdcom (this, iu, iout, line, ierr) |
| Return the first non-comment line. | |
Public Attributes | |
| character(len=:), allocatable | line |
| character(len=:), allocatable | last_line |
| integer(i4b) | nbackspace = 0 |
| integer(i4b) | iostat = 0 |
| integer(i4b) | last_unit = 0 |
Object for reading input from mf6 input files
Definition at line 32 of file LongLineReader.f90.
| procedure longlinereadermodule::longlinereadertype::bkspc | ( | class(longlinereadertype) | this, |
| integer(i4b), intent(in) | iin ) |
Emulate a fortran backspace call by storing the current line in long_line
Definition at line 42 of file LongLineReader.f90.
| procedure longlinereadermodule::longlinereadertype::rdcom | ( | class(longlinereadertype) | this, |
| integer(i4b), intent(in) | iu, | ||
| integer(i4b), intent(in) | iout, | ||
| character(len=:), intent(inout), allocatable | line, | ||
| integer(i4b), intent(inout) | ierr ) |
Skip through any comments and return the first non-commented line. If an end of file was encountered previously, then return a blank line. If a backspace was called prior to this call, then do not read a new line and return last_line instead.
Definition at line 43 of file LongLineReader.f90.
| integer(i4b) longlinereadermodule::longlinereadertype::iostat = 0 |
Definition at line 37 of file LongLineReader.f90.
| character(len=:), allocatable longlinereadermodule::longlinereadertype::last_line |
Definition at line 35 of file LongLineReader.f90.
| integer(i4b) longlinereadermodule::longlinereadertype::last_unit = 0 |
Definition at line 38 of file LongLineReader.f90.
| character(len=:), allocatable longlinereadermodule::longlinereadertype::line |
Definition at line 34 of file LongLineReader.f90.
| integer(i4b) longlinereadermodule::longlinereadertype::nbackspace = 0 |
Definition at line 36 of file LongLineReader.f90.