11#ifndef ATHENAKERNEL_ITPCNVSVC_H
12#define ATHENAKERNEL_ITPCNVSVC_H 1
19#include "GaudiKernel/IService.h"
20#include "GaudiKernel/ClassID.h"
28 :
virtual public ::IService
54 t2p_cnv(
const std::string& transClassName,
77 std::unique_ptr<ITPCnvBase>
85 std::unique_ptr<ITPCnvBase>
uint32_t CLID
The Class ID type.
Set up plugin loading of TP converters.
virtual std::unique_ptr< ITPCnvBase > t2p_cnv_unique(const std::string &transClassName) const =0
return the T/P converter for a transient class (NULL if failure) Ownership is returned to the caller.
virtual ~ITPCnvSvc()
Destructor:
virtual ITPCnvBase * load_tpcnv(const std::string &cls)=0
load the T/P converter class named cls return NULL on failure.
virtual ITPCnvBase * p2t_cnv(const std::string &persClassName, Athena::TPCnvType::Value type=Athena::TPCnvType::Athena)=0
return the T/P converter for a persistent class (NULL if failure) ITPCnvSvc owns the ITPCnvBase point...
virtual ITPCnvBase * t2p_cnv(const std::string &transClassName, Athena::TPCnvType::Value type=Athena::TPCnvType::Athena)=0
return the T/P converter for a transient class (NULL if failure) ITPCnvSvc owns the ITPCnvBase pointe...
DeclareInterfaceID(ITPCnvSvc, 1, 0)
virtual std::unique_ptr< ITPCnvBase > t2p_cnv_unique(const CLID transClid) const =0
Return the T/P converter for a transient class.
virtual ITPCnvBase * t2p_cnv(const CLID &transClid, Athena::TPCnvType::Value type=Athena::TPCnvType::Athena)=0
return the T/P converter for a transient class (NULL if failure) ITPCnvSvc owns the ITPCnvBase pointe...