GENIEGenerator
Loading...
Searching...
No Matches
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 <c.andreopoulos \at cern.ch>
9 University of Liverpool
10
11\created May 04, 2004
12
13\cpright Copyright (c) 2003-2025, 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
25using std::ostream;
26
27namespace genie {
28
30{
31public:
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
43protected:
44
46};
47
48} // genie namespace
49
50#endif // _REGISTRY_ITEM_I_H_
virtual void UnLock(void)=0
virtual void SetLocal(bool)=0
virtual RegistryItemI * Clone(void) const =0
virtual void Print(ostream &) const =0
virtual bool IsLocal(void) const =0
virtual void Lock(void)=0
virtual bool IsLocked(void) const =0
virtual RgType_t TypeInfo(void) const =0
THE MAIN GENIE PROJECT NAMESPACE
Definition AlgCmp.h:25
enum genie::ERgType RgType_t