ATLAS Offline Software
IdDictManager.cxx
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.cxx,v 1.3 2003-09-22 07:01:22 schaffer Exp $
11 //<version> $Name: not supported by cvs2svn $
12 
13 //<<<<<< INCLUDES >>>>>>
14 
16 #include "Identifier/IdHelper.h"
17 #include "IdDict/IdDictDefs.h"
18 
19 
20 //<<<<<< MEMBER FUNCTION DEFINITIONS >>>>>>
21 
23  :
24  m_mgr(0)
25 {}
26 
28  :
29  m_mgr(&mgr)
30 {}
31 
32 
34 {}
35 
36 const IdDictMgr*
38 {
39  return (m_mgr);
40 }
41 
42 
43 int
45 {
46  if (m_mgr) return (helper.initialize_from_dictionary(*m_mgr));
47  return (1); // otherwise error
48 }
49 
50 
IdDictManager::IdDictManager
IdDictManager()
Definition: IdDictManager.cxx:22
IdDictManager::m_mgr
const IdDictMgr * m_mgr
Definition: IdDictManager.h:50
IdHelper.h
IdDictManager.h
runBeamSpotCalibration.helper
helper
Definition: runBeamSpotCalibration.py:112
IdDictDefs.h
BchCleanup.mgr
mgr
Definition: BchCleanup.py:294
IdDictMgr
Definition: IdDictDefs.h:32
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:44
IdDictManager::manager
const IdDictMgr * manager(void) const
Definition: IdDictManager.cxx:37
IdDictManager::~IdDictManager
~IdDictManager()
Definition: IdDictManager.cxx:33