RegistryItemTypeDef.cxx
Go to the documentation of this file.
1 //____________________________________________________________________________
2 /*
3  Copyright (c) 2003-2019, The GENIE Collaboration
4  For the full text of the license visit http://copyright.genie-mc.org
5  or see $GENIE/LICENSE
6 
7  Author: Costas Andreopoulos <costas.andreopoulos \at stfc.ac.uk>
8  University of Liverpool & STFC Rutherford Appleton Lab - May 04, 2004
9 
10  For the class documentation see the corresponding header file.
11 
12  Important revisions after version 2.0.0 :
13 
14 */
15 //____________________________________________________________________________
16 
18 
19 using std::endl;
20 
21 //____________________________________________________________________________
23 {
24 
25 }
26 //____________________________________________________________________________
27 RgAlg::RgAlg(string n, string c) :
28 name(n),
29 config(c)
30 {
31 
32 }
33 //____________________________________________________________________________
35 {
36 
37 }
38 //____________________________________________________________________________
39 ostream & operator << (ostream & stream, const RgAlg & alg)
40 {
41  stream << alg.name << "/" << alg.config;
42  return stream;
43 }
44 //____________________________________________________________________________
46 {
47  this->name = alg.name;
48  this->config = alg.config;
49  return (*this);
50 }
51 //____________________________________________________________________________
52 
const XML_Char * name
Definition: expat.h:151
Definition: config.py:1
friend ostream & operator<<(ostream &stream, const RgAlg &alg)
RgAlg & operator=(const RgAlg &alg)
string config