GENIEGenerator
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
InteractionList.h
Go to the documentation of this file.
1 //____________________________________________________________________________
2 /*!
3 
4 \class genie::InteractionList
5 
6 \brief A vector of Interaction objects.
7 
8 \author Costas Andreopoulos <c.andreopoulos \at cern.ch>
9  University of Liverpool
10 
11 \created May 13, 2005
12 
13 \cpright Copyright (c) 2003-2024, The GENIE Collaboration
14  For the full text of the license visit http://copyright.genie-mc.org
15 */
16 //____________________________________________________________________________
17 
18 #ifndef _INTERACTION_LIST_H_
19 #define _INTERACTION_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 Interaction;
30 class InteractionList;
31 
32 ostream & operator << (ostream & stream, const InteractionList & intl);
33 
34 class InteractionList : public vector<Interaction *> {
35 
36 public :
38  InteractionList(const InteractionList & intl);
40 
41  void Reset (void);
42  void Append (const InteractionList & intl);
43  void Copy (const InteractionList & intl);
44  void Print (ostream & stream) const;
45 
47  friend ostream & operator << (ostream & stream, const InteractionList & intl);
48 };
49 
50 } // genie namespace
51 
52 #endif // _INTERACTION_LIST_H_
friend ostream & operator<<(ostream &stream, const InteractionList &intl)
void Append(const InteractionList &intl)
ostream & operator<<(ostream &stream, const AlgConfigPool &config_pool)
A vector of Interaction objects.
void Print(ostream &stream) const
void Copy(const InteractionList &intl)
InteractionList & operator=(const InteractionList &intl)