13#ifndef ATHENABASECOMPS_ATHCONSTCONVERTER_H
14#define ATHENABASECOMPS_ATHCONSTCONVERTER_H
19#include "GaudiKernel/Converter.h"
36 const CLID& class_type,
38 const std::string&
name)
39 :
Converter (storage_type, class_type, svc),
48 DataObject*& refpObject )
const;
52 IOpaqueAddress*& refpAddress )
const;
57 virtual StatusCode
createObj( IOpaqueAddress* pAddress,
58 DataObject*& refpObject )
override final;
63 virtual StatusCode
createRep( DataObject* pObject,
64 IOpaqueAddress*& refpAddress )
override final;
uint32_t CLID
The Class ID type.
AthConstConverter(long storage_type, const CLID &class_type, ISvcLocator *svc, const std::string &name)
const std::string & name() const
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.
AthMessaging(IMessageSvc *msgSvc, const std::string &name)
Constructor.
T * get(TKey *tobj)
get a TObject* from a TKey* (why can't a TObject be a TKey?)