| # Gaudi Framework, version v22r4 |

Home |  | Generated: Fri Sep 2 2011

Functions

# GaudiPoolDb Namespace Reference

## Functions
bool | patchStreamers (MsgStream &log)

## Function Documentation

bool GaudiPoolDb::patchStreamers | ( | MsgStream & | log ) |

Definition at line 319 of file PoolDbIOHandler.cpp.

                                         {
        static bool first = true;
        if ( first ) {
          first = false;
          for ( Type_Iterator i=Type::Type_Begin(); i != Type::Type_End(); ++i)   {
            Type typ = *i;
            if ( !(typ.IsStruct() || typ.IsClass()) )  continue;
            TClass* cl = 0;
            if ( IsTypeOf(typ,"pool::Reference") )  {
              cl = gROOT->GetClass(typ.Name(SCOPED).c_str());
              if ( cl ) cl->AdoptStreamer(new PoolDbIOHandler<Reference>(typ,cl));
            }
            else if ( IsTypeOf(typ,"pool::Token") )  {
              cl = gROOT->GetClass(typ.Name(SCOPED).c_str());
              if ( cl ) cl->AdoptStreamer(new PoolDbIOHandler<Token>(typ,cl));
            }
          }
          ROOT::Cintex::Cintex::Enable();
          bool b2 = makeStreamer<SmartRefBase>(s);
          bool b3 = makeStreamer<ContainedObject>(s);
          return b2 && b3;
        }
        return true;
       }

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines