Fortran SFF API to data I/O streams in C++

◆ isopen()

bool fapidxx::IFileUnits::isopen ( const int &  unit) const

check whether a file is opened for this file unit

Definition at line 103 of file fileunit.cc.

References Mstreammap.

Referenced by close(), getstream(), open(), and sff_close__().

104  {
105  bool retval=false;
106  retval = (Mstreammap.count(unit)>0);
107  return(retval);
108  } // bool IFileUnits::isopen(const int& unit) const
Tstreammap Mstreammap
place to hold my ianystream objects
Definition: fileunit.h:90
Here is the caller graph for this function: