Gaudi Framework, version v22r2

Home   Generated: Tue May 10 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

Generated at Tue May 10 2011 18:55:35 for Gaudi Framework, version v22r2 by Doxygen version 1.7.2 written by Dimitri van Heesch, © 1997-2004