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

◆ ~IFileUnits()

fapidxx::IFileUnits::~IFileUnits ( )

destructor has to close all open files

Definition at line 66 of file fileunit.cc.

References close(), and Mstreammap.

67  {
68  while (Mstreammap.size()>0)
69  {
70  Tstreammap::iterator first=Mstreammap.begin();
71  this->close(first->first);
72  }
73  Mstreammap.clear();
74  } // IFileUnits::~IFileUnits()
Tstreammap Mstreammap
place to hold my ianystream objects
Definition: fileunit.h:90
void close(const int &unit)
close the file associated with this file unit
Definition: fileunit.cc:91
Here is the call graph for this function: