Jpp  18.4.0
the software that should make you happy
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
JMonteCarloFileReader.hh
Go to the documentation of this file.
1 #ifndef __JSUPPORT__JMONTECARLOFILEREADER__
2 #define __JSUPPORT__JMONTECARLOFILEREADER__
3 
5 
6 
7 /**
8  * \author mdejong
9  */
10 
11 namespace JSUPPORT {}
12 namespace JPP { using namespace JSUPPORT; }
13 
14 namespace JSUPPORT {
15 
18  using JLANG::JNullAccess;
19 
20 
21  /**
22  * Template definition of Monte Carlo object reader for ASCII formatted file (i.e.\ '.evt')
23  *
24  * This class provides for a null implementation of the JLANG::JAccessibleObjectIterator interface.
25  * It should be specialised for the data types that will be read from a Monte Carlo file.
26  */
27  template<class T>
29  public JAccessibleObjectIterator<T>,
30  public JNullAccess,
31  public JNullIterator<T>
32  {};
33 
34 
35  /**
36  * Template definition of Monte Carlo object reader for gzipped ASCII formatted file (i.e.\ '.gz')
37  *
38  * This class provides for a null implementation of the JLANG::JAccessibleObjectIterator interface.
39  * It should be specialised for the data types that will be read from a Monte Carlo file.
40  */
41  template<class T>
43  public JAccessibleObjectIterator<T>,
44  public JNullAccess,
45  public JNullIterator<T>
46  {};
47 }
48 
49 #endif
Interface for null access.
Definition: JAccessible.hh:65
Template definition of Monte Carlo object reader for gzipped ASCII formatted file (i...
Template definition of Monte Carlo object reader for ASCII formatted file (i.e. &#39;.evt&#39;)
Implementation for null iteration.
Interface for object iteration with named access.