/[PAMELA software]/yoda/techmodel/TechmodelPamelaRun.cpp
ViewVC logotype

Diff of /yoda/techmodel/TechmodelPamelaRun.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.2 by kusanagi, Tue Sep 21 20:24:33 2004 UTC revision 3.0 by kusanagi, Fri Mar 4 15:54:11 2005 UTC
# Line 1  Line 1 
1  /** @file  /** @file
2   * $Source: /home/cvsmanager/yoda/techmodel/TechmodelPamelaRun.cpp,v $   * $Source: /home/cvsmanager/yoda/techmodel/TechmodelPamelaRun.cpp,v $
3   * $Id: TechmodelPamelaRun.cpp,v 1.1.1.1 2004/07/06 12:20:23 kusanagi Exp $   * $Id: TechmodelPamelaRun.cpp,v 2.1 2004/12/03 22:08:01 kusanagi Exp $
4   * $Author: kusanagi $   * $Author: kusanagi $
5   *   *
6   * Implementation of the TechmodelPamelaRun class.   * Implementation of the TechmodelPamelaRun class.
# Line 29  TechmodelPamelaRun::TechmodelPamelaRun(s Line 29  TechmodelPamelaRun::TechmodelPamelaRun(s
29    InputFile = new ifstream(fileName.c_str(), std::ios::binary); //inserito ios::binary maurizio 01/03/2004    InputFile = new ifstream(fileName.c_str(), std::ios::binary); //inserito ios::binary maurizio 01/03/2004
30    if (!*InputFile){    if (!*InputFile){
31      std::stringstream oss;      std::stringstream oss;
32      oss.flush();      oss.str("");
33      oss << "Cannot open file " << fileName;      oss << "Cannot open file " << fileName;
34      logger->error(oss.str().c_str());      logger->error(oss.str().c_str());
35      throw std::exception();      throw std::exception();

Legend:
Removed from v.1.2  
changed lines
  Added in v.3.0

  ViewVC Help
Powered by ViewVC 1.1.23