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

◆ ~OFileUnits()

fapidxx::OFileUnits::~OFileUnits ( )

destructor has to close all open files

Definition at line 136 of file fileunit.cc.

References close(), and Mstreammap.

137  {
138  while (Mstreammap.size()>0)
139  {
140  Tstreammap::iterator first=Mstreammap.begin();
141  this->close(first->first);
142  }
143  Mstreammap.clear();
144  } // OFileUnits::~OFileUnits()
Tstreammap Mstreammap
place to hold my oanystream objects
Definition: fileunit.h:132
void close(const int &unit)
close the file associated with this file unit
Definition: fileunit.cc:162
Here is the call graph for this function: