Fork me on GitHub

source: svn/trunk/classes/DelphesStream.h@ 1275

Last change on this file since 1275 was 997, checked in by Pavel Demin, 12 years ago

replace error with warning for out-of-range values

File size: 603 bytes
Line 
1#ifndef DelphesStream_h
2#define DelphesStream_h
3
4/** \class DelphesStream
5 *
6 * Provides an interface to manipulate c strings as if they were input streams
7 *
8 *
9 * $Date: 2012-11-15 13:57:55 $
10 * $Revision: 1.1 $
11 *
12 *
13 * \author P. Demin - UCL, Louvain-la-Neuve
14 *
15 */
16
17class DelphesStream
18{
19public:
20
21 DelphesStream(char *buffer);
22
23 bool ReadDbl(double &value);
24 bool ReadInt(int &value);
25
26private:
27
28 char *fBuffer;
29
30 static bool fFirstLongMin;
31 static bool fFirstLongMax;
32 static bool fFirstHugePos;
33 static bool fFirstHugeNeg;
34 static bool fFirstZero;
35};
36
37#endif // DelphesStream_h
38
39
Note: See TracBrowser for help on using the repository browser.