MODFLOW 6 version 6.9.0.dev0
USGS Modular Hydrologic Model
Loading...
Searching...
No Matches
longlinereadermodule::longlinereadertype Type Reference

LongLineReaderType. More...

Collaboration diagram for longlinereadermodule::longlinereadertype:
Collaboration graph

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

Detailed Description

Object for reading input from mf6 input files

Definition at line 32 of file LongLineReader.f90.

Member Function/Subroutine Documentation

◆ bkspc()

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.

◆ rdcom()

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.

Member Data Documentation

◆ iostat

integer(i4b) longlinereadermodule::longlinereadertype::iostat = 0

Definition at line 37 of file LongLineReader.f90.

◆ last_line

character(len=:), allocatable longlinereadermodule::longlinereadertype::last_line

Definition at line 35 of file LongLineReader.f90.

35 character(len=:), allocatable :: last_line

◆ last_unit

integer(i4b) longlinereadermodule::longlinereadertype::last_unit = 0

Definition at line 38 of file LongLineReader.f90.

◆ line

character(len=:), allocatable longlinereadermodule::longlinereadertype::line

Definition at line 34 of file LongLineReader.f90.

34 character(len=:), allocatable :: line

◆ nbackspace

integer(i4b) longlinereadermodule::longlinereadertype::nbackspace = 0

Definition at line 36 of file LongLineReader.f90.


The documentation for this type was generated from the following file: