ATLAS Offline Software
Loading...
Searching...
No Matches
AthConstConverter.cxx
Go to the documentation of this file.
1/*
2 * Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration.
3 */
10
11
13
14
20StatusCode AthConstConverter::createObjConst( IOpaqueAddress* /*pAddress*/,
21 DataObject*& /*refpObject*/ ) const
22{
23 return StatusCode::SUCCESS;
24}
25
26
32StatusCode AthConstConverter::createRepConst( DataObject* /*pObject*/,
33 IOpaqueAddress*& /*refpAddress*/ ) const
34{
35 return StatusCode::SUCCESS;
36}
37
38
44StatusCode AthConstConverter::createObj( IOpaqueAddress* pAddress,
45 DataObject*& refpObject )
46{
47 return createObjConst (pAddress, refpObject);
48}
49
50
51/**
52 * @brief Convert the transient object to the requested representation.
53 *
54 * Non-const version; just calls the const version.
55 */
56StatusCode AthConstConverter::createRep( DataObject* pObject,
57 IOpaqueAddress*& refpAddress )
58{
59 return createRepConst (pObject, refpAddress);
60}
61
Gaudi converter base class with const interfaces.
virtual StatusCode createRep(DataObject *pObject, IOpaqueAddress *&refpAddress) override final
Convert the transient object to the requested representation.
virtual StatusCode createObjConst(IOpaqueAddress *pAddress, DataObject *&refpObject) const
Create the transient representation of an object.
virtual StatusCode createObj(IOpaqueAddress *pAddress, DataObject *&refpObject) override final
Create the transient representation of an object.
virtual StatusCode createRepConst(DataObject *pObject, IOpaqueAddress *&refpAddress) const
Convert the transient object to the requested representation.