Generics
  • Write
    Procedures:
    • WriteItems
    • WriteArray
    • WriteArray2
    • WriteOneAndArray
  • Read
    Procedures:
    • ReadItems
    • ReadArray
    • ReadArray2
  • ReadItem
    Procedures:
    • ReadItemFunc
    • ReadArrayFunc
    • ReadArray2Func
  • ReadString
    Procedures:
    • ReadStringSub
  • ReadStringItem
    Procedures:
    • ReadStringFunc
  • WriteSizedArray
    Procedures:
    • WriteSizedArray1
    • WriteSizedArray2
  • ReadSizedArray
    Procedures:
    • ReadSizedArray_R
    • ReadSizedArray_D
    • ReadSizedArray_I
    • ReadSizedArray2_I
    • ReadSizedArray2_R
    • ReadSizedArray2_D
Subroutines
  • CheckOpen(this, forWrite)
    • TFileStream   :: this
    • logical intent(in), optional :: forWrite
  • Close(this, del)
  • CreateFile(this, aname, errormsg)
    • TFileStream   :: this
    • character(LEN=*) intent(IN) :: aname
    • character(LEN=*) intent(IN), optional :: errormsg
  • CreateOpenFile(this, aname, append, errormsg)
    • TFileStream   :: this
    • character(LEN=*) intent(IN) :: aname
    • logical optional, intent(in) :: append
    • character(LEN=*) intent(IN), optional :: errormsg
  • Error(this, msg, errormsg)
    • TFileStream   :: this
    • character(LEN=*) intent(IN) :: msg
    • character(LEN=*) intent(IN), optional :: errormsg
  • Flush(this)
  • Open(this, aname, errormsg, status)
    • TFileStream   :: this
    • character(LEN=*) intent(IN) :: aname
    • character(LEN=*) intent(IN), optional :: errormsg
    • integer intent(out), optional :: status
  • OpenFile(this, aname, mode, errormsg, status, forwrite, append)
    • TFileStream   :: this
    • character(LEN=*) intent(IN) :: aname
    • character(LEN=*) intent(IN), optional :: mode
    • character(LEN=*) intent(IN), optional :: errormsg
    • integer intent(out), optional :: status
    • logical intent(in), optional :: forwrite
    • logical intent(in), optional :: append
  • ReadArray(this, R, n, OK)
    • TFileStream   :: this
    • class(*)  :: R(1:)
    • integer intent(in), optional :: n
    • logical optional :: OK
  • ReadArray2(this, R, OK)
    • TFileStream   :: this
    • class(*)  :: R(:,:)
    • logical optional :: OK
  • ReadItems(this, S1, S2, S3, S4, S5, S6, OK)
    • TFileStream   :: this
    • class(*)  :: S1
    • class(*) optional :: S2
    • class(*) optional :: S3
    • class(*) optional :: S4
    • class(*) optional :: S5
    • class(*) optional :: S6
    • logical optional :: OK
  • ReadItemSub(this, R, OK)
    • TFileStream   :: this
    • class(*) intent(out) :: R
    • logical optional :: OK
  • ReadSizedArray2_D(this, R)
    • TFileStream   :: this
    • double precision allocatable :: R(:,:)
  • ReadSizedArray2_I(this, R)
  • ReadSizedArray2_R(this, R)
  • ReadSizedArray_D(this, R)
  • ReadSizedArray_I(this, R)
  • ReadSizedArray_R(this, R)
  • ReadStringSub(this, S, OK)
    • TFileStream   :: this
    • character(LEN=:) allocatable :: S
    • logical optional :: OK
  • Rewind(this)
  • SetDefaultModes(this)
  • TFileStream_Free(this)
  • WriteArray(this, R, n)
    • TFileStream   :: this
    • class(*) intent(in) :: R(1:)
    • integer intent(in), optional :: n
  • WriteArray2(this, R)
  • WriteItems(this, S1, S2, S3, S4, S5, S6)
    • TFileStream   :: this
    • class(*) intent(in) :: S1
    • class(*) intent(in), optional :: S2
    • class(*) intent(in), optional :: S3
    • class(*) intent(in), optional :: S4
    • class(*) intent(in), optional :: S5
    • class(*) intent(in), optional :: S6
  • WriteItemSub(this, R)
  • WriteOneAndArray(this, I, R)
    • TFileStream   :: this
    • class(*) intent(in) :: I
    • class(*) intent(in) :: R(:)
  • WriteSizedArray1(this, R, n)
    • TFileStream   :: this
    • class(*) intent(in) :: R(1:)
    • integer intent(in), optional :: n
  • WriteSizedArray2(this, R)
  • WriteTrim(this, S)
Functions
  • logical
    Opened(this)
  • integer(file_size_int)
    Position(this)
  • logical
    ReadArray2Func(this, R)
  • logical
    ReadArrayFunc(this, R, n)
    • TFileStream   :: this
    • class(*)  :: R(1:)
    • integer intent(in), optional :: n
  • logical
    ReadItemFunc(this, R)
  • character(LEN=:) allocatable
    ReadStringFunc(this)
  • integer(file_size_int)
    Size(this)
Properties
  • integer :: unit
  • logical :: ReadOnly
  • character(LEN=:) :: mode allocatable
  • character(LEN=:) :: access allocatable
    sequential (fortran or text) or stream (binary, with file position)
  • character(LEN=:) :: FileName allocatable