RegistryItemI.h
Go to the documentation of this file.
1 //____________________________________________________________________________
2 /*!
3 
4 \class genie::RegistryItemI
5 
6 \brief Registry item pABC
7 
8 \author Costas Andreopoulos <costas.andreopoulos \at stfc.ac.uk>
9  University of Liverpool & STFC Rutherford Appleton Lab
10 
11 \created May 04, 2004
12 
13 \cpright Copyright (c) 2003-2019, The GENIE Collaboration
14  For the full text of the license visit http://copyright.genie-mc.org
15  or see $GENIE/LICENSE
16 */
17 //____________________________________________________________________________
18 
19 #ifndef _REGISTRY_ITEM_I_H_
20 #define _REGISTRY_ITEM_I_H_
21 
22 #include <iostream>
23 
25 
26 using std::ostream;
27 
28 namespace genie {
29 
31 {
32 public:
33  virtual ~RegistryItemI() { }
34 
35  virtual RegistryItemI * Clone (void) const = 0;
36  virtual RgType_t TypeInfo (void) const = 0;
37  virtual bool IsLocked (void) const = 0;
38  virtual void Lock (void) = 0;
39  virtual void UnLock (void) = 0;
40  virtual bool IsLocal (void) const = 0;
41  virtual void SetLocal (bool) = 0;
42  virtual void Print (ostream &) const = 0;
43 
44 protected:
45 
47 };
48 
49 } // genie namespace
50 
51 #endif // _REGISTRY_ITEM_I_H_
virtual void Lock(void)=0
THE MAIN GENIE PROJECT NAMESPACE
Definition: GeneratorBase.h:8
virtual bool IsLocked(void) const =0
virtual ~RegistryItemI()
Definition: RegistryItemI.h:33
Registry item pABC.
Definition: RegistryItemI.h:30
enum genie::ERgType RgType_t
virtual bool IsLocal(void) const =0
virtual RgType_t TypeInfo(void) const =0
virtual void UnLock(void)=0
virtual RegistryItemI * Clone(void) const =0
virtual void Print(ostream &) const =0
virtual void SetLocal(bool)=0