13 const IInterface* parent) :
16 declareInterface<ITrigSerializeGuidHelper>(
this );
29 iarr[0] = iarr[1] = iarr[2] = iarr[3] = 0;
37 ATH_MSG_DEBUG( clname <<
" to ROOT known as " << cl <<
" has " <<
"ClassID=" << gecko );
39 const Guid guid(gecko );
40 iarr[0] = guid.data1();
41 iarr[1] = guid.data2() << 16 | guid.data3();
42 iarr[2] = guid.data4(0) << 24 | guid.data4(1) << 16 | guid.data4(2) << 8 | guid.data4(3);
43 iarr[3] = guid.data4(4) << 24 | guid.data4(5) << 16 | guid.data4(6) << 8 | guid.data4(7);
46 ATH_MSG_WARNING(
"property list has no ClassID for class name " << clname <<
" aka (" << cl <<
")" );
47 return StatusCode::FAILURE;
50 return StatusCode::SUCCESS;
56 guid.setData1(iarr[0]);
57 guid.setData2(iarr[1] >> 16);
58 guid.setData3(iarr[1] & 0xFFFF);
59 guid.setData4(iarr[2] >> 24, 0);
60 guid.setData4(iarr[2] >> 16, 1);
61 guid.setData4(iarr[2] >> 8, 2);
62 guid.setData4(iarr[2] & 0xFF, 3);
63 guid.setData4(iarr[3] >> 24, 4);
64 guid.setData4(iarr[3] >> 16, 5);
65 guid.setData4(iarr[3] >> 8, 6);
66 guid.setData4(iarr[3] & 0xFF, 7);
68 ATH_MSG_DEBUG(
"constructed " << guid.toString() <<
" from ints" );
89 return StatusCode::FAILURE;
92 return StatusCode::SUCCESS;
#define ATH_MSG_WARNING(x)
This file contains the class definition for the Guid class (migrated from POOL).
TPropertyListAdapter RootPropertyList
This class provides a encapsulation of a GUID/UUID/CLSID/IID data structure (128 bit number).
std::string PropertyAsString(const std::string &key) const
Bool_t HasProperty(const std::string &key) const
static TScopeAdapter ByNameNoQuiet(const std::string &name, Bool_t load=kTRUE)
std::string Name(unsigned int mod=Reflex::SCOPED) const
StatusCode IntsToClassName(const uint32_t *iarr, std::string &clname)
TrigSerializeGuidHelper(const std::string &name, const std::string &type, const IInterface *parent)
StatusCode ClassNameToInts(const std::string &clname, uint32_t *iarr)
virtual ~TrigSerializeGuidHelper()
static const TypeH forGuid(const Guid &info)
Access classes by Guid.
static Guid guid(const TypeH &id)
Determine Guid (normalized string form) from reflection type.
std::string remapToDictName(const std::string &s)