ATLAS Offline Software
Loading...
Searching...
No Matches
DetDescrAddress.h
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.h
7//--------------------------------------------------------------------
8//
9// Package : DetDescrCnvSvc
10//
11// Description: Definition of detector description address class
12// This class for the moment has just the
13// funtionality of a GenericAddress. It provides the
14// conversion service type but nothing more. It thus
15// just holds the clid and the class name. It is
16// created for later expansion.
17// Author : RD Schaffer
18//====================================================================
19#ifndef DETDESCRCNVSVC_DETDESCRADDRESS_H
20#define DETDESCRCNVSVC_DETDESCRADDRESS_H
21
22// C/C++ include files
23#include <string>
24
25// Framework include files
26#include "GaudiKernel/Kernel.h"
27#include "GaudiKernel/GenericAddress.h"
28#include "GaudiKernel/StatusCode.h"
29
30const extern long DetDescr_StorageType;
31
32class DetDescrAddress : public GenericAddress {
33public:
34
35
37 virtual ~DetDescrAddress() {}; //doesn't own event
38
40 DetDescrAddress(const CLID& clid, const std::string& fname,
41 const std::string& cname );
42
43 DetDescrAddress(const CLID& clid ) ;
44
45 const std::string& payload() const;
46
48 StatusCode toString(std::string& refString) const;
49
51 StatusCode fromString(const std::string& stringifiedIOA);
52
53
54private:
55
56 std::string m_payload;
57
58};
59#endif
60
61
62
63
64
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.
virtual ~DetDescrAddress()
Standard Destructor.
std::string m_payload
StatusCode toString(std::string &refString) const
write technology-specific part of address to string