|
Gaudi Framework, version v21r9 |
| Home | Generated: 3 May 2010 |
Functions | |
| bool | patchStreamers (MsgStream &log) |
Definition at line 303 of file PoolDbIOHandler.cpp.
00303 { 00304 static bool first = true; 00305 if ( first ) { 00306 first = false; 00307 for ( Type_Iterator i=Type::Type_Begin(); i != Type::Type_End(); ++i) { 00308 Type typ = *i; 00309 if ( !(typ.IsStruct() || typ.IsClass()) ) continue; 00310 TClass* cl = 0; 00311 if ( IsTypeOf(typ,"pool::Reference") ) { 00312 cl = gROOT->GetClass(typ.Name(SCOPED).c_str()); 00313 if ( cl ) cl->AdoptStreamer(new PoolDbIOHandler<Reference>(typ,cl)); 00314 } 00315 else if ( IsTypeOf(typ,"pool::Token") ) { 00316 cl = gROOT->GetClass(typ.Name(SCOPED).c_str()); 00317 if ( cl ) cl->AdoptStreamer(new PoolDbIOHandler<Token>(typ,cl)); 00318 } 00319 } 00320 ROOT::Cintex::Cintex::Enable(); 00321 bool b2 = makeStreamer<SmartRefBase>(s); 00322 bool b3 = makeStreamer<ContainedObject>(s); 00323 return b2 && b3; 00324 } 00325 return true; 00326 }