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 <constantinos.andreopoulos \at cern.ch>
9  University of Liverpool & STFC Rutherford Appleton Laboratory
10 
11 \created May 04, 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 _REGISTRY_ITEM_I_H_
19 #define _REGISTRY_ITEM_I_H_
20 
21 #include <iostream>
22 
24 
25 using std::ostream;
26 
27 namespace genie {
28 
30 {
31 public:
32  virtual ~RegistryItemI() { }
33 
34  virtual RegistryItemI * Clone (void) const = 0;
35  virtual RgType_t TypeInfo (void) const = 0;
36  virtual bool IsLocked (void) const = 0;
37  virtual void Lock (void) = 0;
38  virtual void UnLock (void) = 0;
39  virtual bool IsLocal (void) const = 0;
40  virtual void SetLocal (bool) = 0;
41  virtual void Print (ostream &) const = 0;
42 
43 protected:
44 
46 };
47 
48 } // genie namespace
49 
50 #endif // _REGISTRY_ITEM_I_H_
virtual void Lock(void)=0
THE MAIN GENIE PROJECT NAMESPACE
Definition: AlgCmp.h:25
virtual bool IsLocked(void) const =0
virtual ~RegistryItemI()
Definition: RegistryItemI.h:32
Registry item pABC.
Definition: RegistryItemI.h:29
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