ATLAS Offline Software
IdDictManager.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 /***************************************************************************
6  IdDictDetDescr package
7  -----------------------------------------
8  ***************************************************************************/
9 
10 #ifndef IDDICTDETDESCR_IDDICTMANAGER_H
11 # define IDDICTDETDESCR_IDDICTMANAGER_H
12 
13 #include "AthenaKernel/CLASS_DEF.h"
14 
15 class IdHelper;
16 class IdDictDictionary;
17 class IdDictMgr;
18 
26 {
27 public:
28  IdDictManager();
29  IdDictManager(const IdDictMgr& mgr);
31 
32  //IdDictDictionary* find_dictionary (const std::string& name) const;
33 
34  const IdDictMgr* manager (void) const;
35 
37  int initializeHelper (IdHelper& helper) const;
38 
39 private:
40  const IdDictMgr* m_mgr;
41 };
42 
43 
44 //using the macros below we can assign an identifier (and a version)
45 //This is required and checked at compile time when you try to record/retrieve
46 CLASS_DEF(IdDictManager, 2411, 1)
47 
48 #endif // IDDICTDETDESCR_IDDICTMANAGER_H
IdDictManager::IdDictManager
IdDictManager()
Definition: IdDictManager.cxx:15
IdDictManager::m_mgr
const IdDictMgr * m_mgr
Definition: IdDictManager.h:40
runBeamSpotCalibration.helper
helper
Definition: runBeamSpotCalibration.py:115
BchCleanup.mgr
mgr
Definition: BchCleanup.py:294
IdDictMgr
Definition: IdDictMgr.h:14
IdHelper
This is an abstract base class for helper classes that know how to convert Identifier <-> IdentifierH...
Definition: IdHelper.h:24
IdDictManager::initializeHelper
int initializeHelper(IdHelper &helper) const
Return value: 0 OK, >0 error.
Definition: IdDictManager.cxx:37
IdDictManager
IdDictManager is the interface to identifier dictionaries.
Definition: IdDictManager.h:26
IdDictDictionary
Definition: IdDictDictionary.h:30
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:67
IdDictManager::manager
const IdDictMgr * manager(void) const
Definition: IdDictManager.cxx:30
IdDictManager::~IdDictManager
~IdDictManager()
Definition: IdDictManager.cxx:26
CLASS_DEF.h
macros to associate a CLID to a type