ATLAS Offline Software
IdDictManager.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 /***************************************************************************
6  IdDictDetDescr package
7  -----------------------------------------
8  ***************************************************************************/
9 
10 //<doc><file> $Id: IdDictManager.h,v 1.4 2003-09-22 07:01:22 schaffer Exp $
11 //<version> $Name: not supported by cvs2svn $
12 
13 #ifndef IDDICTDETDESCR_IDDICTMANAGER_H
14 # define IDDICTDETDESCR_IDDICTMANAGER_H
15 
16 //<<<<<< INCLUDES >>>>>>
17 
18 #include "IdDict/IdDictDefs.h"
19 #include "AthenaKernel/CLASS_DEF.h"
20 
21 //<<<<<< PUBLIC TYPES >>>>>>
22 
23 class IdHelper;
24 class IdDictDictionary;
25 class IdDictMgr;
26 
27 //<<<<<< CLASS DECLARATIONS >>>>>>
28 
36 {
37 public:
38  IdDictManager();
39  IdDictManager(const IdDictMgr& mgr);
41 
42  //IdDictDictionary* find_dictionary (const std::string& name) const;
43 
44  const IdDictMgr* manager (void) const;
45 
47  int initializeHelper (IdHelper& helper) const;
48 
49 private:
50  const IdDictMgr* m_mgr;
51 };
52 
53 //<<<<<< INLINE PUBLIC FUNCTIONS >>>>>>
54 //<<<<<< INLINE MEMBER FUNCTIONS >>>>>>
55 
56 //using the macros below we can assign an identifier (and a version)
57 //This is required and checked at compile time when you try to record/retrieve
58 CLASS_DEF(IdDictManager, 2411, 1)
59 
60 #endif // IDDICTDETDESCR_IDDICTMANAGER_H
IdDictManager::IdDictManager
IdDictManager()
Definition: IdDictManager.cxx:22
IdDictManager::m_mgr
const IdDictMgr * m_mgr
Definition: IdDictManager.h:50
runBeamSpotCalibration.helper
helper
Definition: runBeamSpotCalibration.py:112
IdDictDefs.h
BchCleanup.mgr
mgr
Definition: BchCleanup.py:294
IdDictMgr
Definition: IdDictDefs.h:32
IdHelper
Definition: IdHelper.h:39
IdDictManager::initializeHelper
int initializeHelper(IdHelper &helper) const
Return value: 0 OK, >0 error.
Definition: IdDictManager.cxx:44
IdDictManager
IdDictManager is the interface to identifier dictionaries.
Definition: IdDictManager.h:36
IdDictDictionary
Definition: IdDictDefs.h:97
CLASS_DEF
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
Definition: Control/AthenaKernel/AthenaKernel/CLASS_DEF.h:64
IdDictManager::manager
const IdDictMgr * manager(void) const
Definition: IdDictManager.cxx:37
IdDictManager::~IdDictManager
~IdDictManager()
Definition: IdDictManager.cxx:33
CLASS_DEF.h
macros to associate a CLID to a type