13#include "GaudiKernel/System.h"
16#include "GaudiKernel/MsgStream.h"
36 const std::type_info* tinfo ,
37 bool quiet [[maybe_unused]] ,
44 gLog << MSG::WARNING <<
"null input pointer " <<
endmsg;
56 ret = b->cast (clid, *tinfo, irt, isConst);
58 ret = b->cast (clid, irt, isConst);
63 <<
"can't convert stored DataObject " << pDObj
65 << (tid ? System::typeinfoName (*tid) :
"[unknown]")
66 <<
")\n Unless you are following a symlink,"
67 <<
" it probably means you have a duplicate "
68 <<
"CLID = " << pDObj->clID()
89 const std::type_info* tinfo ,
a static registry of CLID->typeName entries.
uint32_t CLID
The Class ID type.
convert to and from a SG storable
static const std::type_info * CLIDToTypeinfo(CLID clid)
Translate between CLID and type_info.
A non-templated base class for DataBucket, allows to access the transient object address as a void*.
Interface for registering a transient object in t2p map.
singleton-like access to IMessageSvc via open function and helper
IMessageSvc * getMessageSvc(bool quiet=false)
T * Storable_cast(DataObject *pDObj, bool quiet=true, IRegisterTransient *irt=0, bool isConst=true)
bool fromStorable(DataObject *pDObj, T *&pTrans, bool quiet=false, IRegisterTransient *irt=0, bool isConst=true)