| 277 | } |
| 278 | |
| 279 | DefaultOutputMgr::~DefaultOutputMgr() |
| 280 | { |
| 281 | std::vector<std::ofstream *>::iterator out; |
| 282 | for (out = outs.begin(); out != outs.end(); ++out) { |
| 283 | (*out)->close(); |
| 284 | delete (*out); |
| 285 | } |
| 286 | outs.clear(); |
| 287 | if (ofile_) |
| 288 | ofile_->close(); |
| 289 | delete ofile_; |
| 290 | } |
| 291 |