npstat is hosted by Hepforge, IPPP Durham
NPStat  5.10.0
distributionReadError.hh
Go to the documentation of this file.
1 #ifndef NPSTAT_DISTRIBUTIONREADERROR_HH_
2 #define NPSTAT_DISTRIBUTIONREADERROR_HH_
3 
4 /*!
5 // \file distributionReadError.hh
6 //
7 // \brief Throw geners I/O exceptions in a standardized manner
8 //
9 // Author: I. Volobouev
10 //
11 // February 2012
12 */
13 
14 namespace npstat {
15  /**
16  // Simple utility function which throws an appropriate IOException
17  // when "read" function fails for some I/O-capable statistical
18  // distribution class
19  */
20  void distributionReadError(std::istream& in, const char* classname);
21 }
22 
23 #endif // NPSTAT_DISTRIBUTIONREADERROR_HH_
Definition: AbsArrayProjector.hh:14
void distributionReadError(std::istream &in, const char *classname)