EventGeneratorList.h
Go to the documentation of this file.
1 //____________________________________________________________________________
2 /*!
3 
4 \class genie::EventGeneratorList
5 
6 \brief A vector of EventGeneratorI objects
7 
8 \author Costas Andreopoulos <constantinos.andreopoulos \at cern.ch>
9  University of Liverpool & STFC Rutherford Appleton Laboratory
10 
11 \created January 25, 2004
12 
13 \cpright Copyright (c) 2003-2020, The GENIE Collaboration
14  For the full text of the license visit http://copyright.genie-mc.org
15 */
16 //____________________________________________________________________________
17 
18 #ifndef _EVENT_GENERATOR_LIST_H_
19 #define _EVENT_GENERATOR_LIST_H_
20 
21 #include <vector>
22 #include <ostream>
23 
24 using std::vector;
25 using std::ostream;
26 
27 namespace genie {
28 
29 class EventGeneratorList;
30 class EventGeneratorI;
31 
32 ostream & operator << (ostream & stream, const EventGeneratorList & evgl);
33 
34 class EventGeneratorList : public vector<const EventGeneratorI *> {
35 
36 public :
37 
40 
41  void Print(ostream & stream) const;
42 
43  friend ostream & operator << (ostream & stream, const EventGeneratorList & evgl);
44 };
45 
46 } // genie namespace
47 
48 #endif // _EVENT_GENERATOR_LIST_H_
THE MAIN GENIE PROJECT NAMESPACE
Definition: AlgCmp.h:25
void Print(ostream &stream) const
struct vector vector
friend ostream & operator<<(ostream &stream, const EventGeneratorList &evgl)
ostream & operator<<(ostream &stream, const AlgConfigPool &config_pool)
A vector of EventGeneratorI objects.