2 #define GAUDIKERNEL_CONVERSIONSVC_CPP
14 using ROOT::Reflex::PluginService;
33 if ( 0 != pAddress || ignore_add ) {
34 if ( 0 != pObject || ignore_obj ) {
35 const CLID& obj_class =
36 (0 != pObject && !ignore_obj) ? pObject->
clID()
37 : (0 != pAddress && !ignore_add)
41 if ( !cnv && pObject ) {
52 status = cnv->
createObj(pAddress, pObject);
58 status = cnv->
updateObj(pAddress, pObject);
65 status = cnv->
createRep(pObject, pAddress);
71 status = cnv->
updateRep(pAddress, pObject);
87 log <<
MSG::INFO <<
"No converter for object ";
91 log <<
" CLID= " << obj_class <<
endmsg;
94 return INVALID_OBJECT;
96 return INVALID_ADDRESS;
152 cnv = (*i).converter();
159 cnv = (*i).converter();
228 if ( 0 != pConverter ) {
237 typ = (typ<0xFF) ? typ : typ&0xFFFFFF00;
238 conv_typ = (conv_typ<0xFF) ? conv_typ : conv_typ&0xFFFFFF00;
239 if ( conv_typ == typ && conv_clid == clid ) {
252 if ( 0 != pConverter ) {
269 (*i).converter()->finalize().ignore();
270 (*i).converter()->release();
292 if ( (*i).converter()->finalize().isFailure() ) {
295 (*i).converter()->release();
309 const ICnvFactory* ) {
312 if ( 0 == pConverter ) {
313 typ = (typ<0xFF) ? typ : typ&0xFFFFFF00;
323 if ( 0 != pConverter ) {
346 if ( 0 != pConverter ) {
382 const unsigned long* ,
421 (*i).converter()->release();