ATLAS Offline Software
Loading...
Searching...
No Matches
DetectorDescription
IdDictDetDescr
src
IdDictManager.cxx
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
11
#include "
IdDictDetDescr/IdDictManager.h
"
12
#include "
Identifier/IdHelper.h
"
13
14
15
IdDictManager::IdDictManager
()
16
:
17
m_mgr
(0)
18
{}
19
20
IdDictManager::IdDictManager
(
const
IdDictMgr
& mgr)
21
:
22
m_mgr
(&mgr)
23
{}
24
25
26
IdDictManager::~IdDictManager
()
27
{}
28
29
const
IdDictMgr
*
30
IdDictManager::manager
(
void
)
const
31
{
32
return
(
m_mgr
);
33
}
34
35
36
int
37
IdDictManager::initializeHelper
(
IdHelper
& helper)
const
38
{
39
if
(
m_mgr
)
return
(helper.initialize_from_dictionary(*
m_mgr
));
40
return
(1);
// otherwise error
41
}
42
43
IdDictManager.h
IdHelper.h
IdDictManager::~IdDictManager
~IdDictManager()
Definition
IdDictManager.cxx:26
IdDictManager::manager
const IdDictMgr * manager(void) const
Definition
IdDictManager.cxx:30
IdDictManager::initializeHelper
int initializeHelper(IdHelper &helper) const
Return value: 0 OK, >0 error.
Definition
IdDictManager.cxx:37
IdDictManager::m_mgr
const IdDictMgr * m_mgr
Definition
IdDictManager.h:40
IdDictManager::IdDictManager
IdDictManager()
Definition
IdDictManager.cxx:15
IdDictMgr
Definition
IdDictMgr.h:16
IdHelper
This is an abstract base class for helper classes that know how to convert Identifier <-> IdentifierH...
Definition
IdHelper.h:24
Generated on
for ATLAS Offline Software by
1.14.0