ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
DetectorDescription
DetDescrCnvSvc
src
DetDescrAddress.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
//====================================================================
6
// DetDescrAddress implementation
7
//--------------------------------------------------------------------
8
//
9
// Package : DetDescrCnvSvc
10
//
11
// Description: Detector description address implementation
12
//
13
// Author : RD Schaffer
14
// created : June 2002
15
// History :
16
//====================================================================
17
18
//own
19
#include "
DetDescrCnvSvc/DetDescrAddress.h
"
20
21
// Framework include files
22
#include "GaudiKernel/GenericAddress.h"
23
#include "GaudiKernel/MsgStream.h"
24
25
27
DetDescrAddress::DetDescrAddress
(
const
CLID
& clid,
28
const
std::string& fname ,
const
std::string& cname)
29
: GenericAddress(
DetDescr_StorageType
, clid,fname,cname)
30
{
31
}
32
33
DetDescrAddress::DetDescrAddress
(
const
CLID
& clid)
34
: GenericAddress(
DetDescr_StorageType
, clid,
""
,
""
)
35
{
36
37
}
38
39
const
std::string&
40
DetDescrAddress::payload
()
const
41
{
42
return
m_payload
;
43
}
44
45
StatusCode
46
DetDescrAddress::toString
(std::string& refString)
const
47
{
48
refString +=
m_payload
;
49
return
StatusCode::SUCCESS;
50
}
51
52
//-------------------------------------------------------------------------
53
54
StatusCode
55
DetDescrAddress::fromString
(
const
std::string& stringifiedIOA)
56
{
57
m_payload
= stringifiedIOA;
58
return
StatusCode::SUCCESS;
59
}
60
DetDescrAddress.h
DetDescr_StorageType
const long DetDescr_StorageType
Definition
DetDescrCnvSvc.cxx:20
CLID
uint32_t CLID
The Class ID type.
Definition
Event/xAOD/xAODCore/xAODCore/ClassID_traits.h:47
DetDescrAddress::payload
const std::string & payload() const
Definition
DetDescrAddress.cxx:40
DetDescrAddress::fromString
StatusCode fromString(const std::string &stringifiedIOA)
initialize technology-specific part of IOA from stringifiedIOA
Definition
DetDescrAddress.cxx:55
DetDescrAddress::DetDescrAddress
DetDescrAddress(const CLID &clid, const std::string &fname, const std::string &cname)
Standard Constructor.
Definition
DetDescrAddress.cxx:27
DetDescrAddress::m_payload
std::string m_payload
Definition
DetDescrAddress.h:56
DetDescrAddress::toString
StatusCode toString(std::string &refString) const
write technology-specific part of address to string
Definition
DetDescrAddress.cxx:46
Generated on
for ATLAS Offline Software by
1.17.0