CMS 3D CMS Logo

RefStreamer.cc
Go to the documentation of this file.
4 #include "TClass.h"
5 #include <cassert>
6 #include <ostream>
7 
8 class TBuffer;
9 
10 namespace fwlite {
12  {
13  TClass* cl = TClass::GetClass("edm::RefCore");
14  TClassStreamer* st = cl->GetStreamer();
15  if (st == nullptr) {
16  cl->AdoptStreamer(new edm::RefCoreStreamer());
17  }
18  }
19  {
20  TClass* cl = TClass::GetClass("edm::RefCoreWithIndex");
21  TClassStreamer* st = cl->GetStreamer();
22  if (st == nullptr) {
23  cl->AdoptStreamer(new edm::RefCoreWithIndexStreamer());
24  }
25  }
27  }
28 }
edm::EDProductGetter const * setRefStreamer(edm::EDProductGetter const *ep)
Definition: RefStreamer.cc:11
static EDProductGetter const * switchProductGetter(EDProductGetter const *)
These can only be used internally by the framework.