ATLAS Offline Software
Loading...
Searching...
No Matches
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
20
21// Framework include files
22#include "GaudiKernel/GenericAddress.h"
23#include "GaudiKernel/MsgStream.h"
24
25
28const std::string& fname , const std::string& cname)
29 : GenericAddress(DetDescr_StorageType, clid,fname,cname)
30{
31}
32
34 : GenericAddress(DetDescr_StorageType, clid,"","")
35{
36
37}
38
39const std::string&
41{
42 return m_payload;
43}
44
45StatusCode
46DetDescrAddress::toString(std::string& refString) const
47{
48 refString += m_payload;
49 return StatusCode::SUCCESS;
50}
51
52//-------------------------------------------------------------------------
53
54StatusCode
55DetDescrAddress::fromString(const std::string& stringifiedIOA)
56{
57 m_payload = stringifiedIOA;
58 return StatusCode::SUCCESS;
59}
60
const long DetDescr_StorageType
uint32_t CLID
The Class ID type.
const std::string & payload() const
StatusCode fromString(const std::string &stringifiedIOA)
initialize technology-specific part of IOA from stringifiedIOA
DetDescrAddress(const CLID &clid, const std::string &fname, const std::string &cname)
Standard Constructor.
std::string m_payload
StatusCode toString(std::string &refString) const
write technology-specific part of address to string