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

◆ isopen()

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

check whether a file is opened for this file unit

Definition at line 174 of file fileunit.cc.

References Mstreammap.

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

175  {
176  bool retval=false;
177  retval = (Mstreammap.count(unit)>0);
178  return(retval);
179  } // bool OFileUnits::isopen(const int& unit) const
Tstreammap Mstreammap
place to hold my oanystream objects
Definition: fileunit.h:132
Here is the caller graph for this function: