All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
GaudiRoot Namespace Reference

Classes

class  IOHandler
 
union  RefAccessor
 

Functions

bool patchStreamers (MsgStream &log)
 
void resetLastLink ()
 
void pushCurrentDataObject (DataObject **pobjAddr)
 
void popCurrentDataObject ()
 

Function Documentation

bool GaudiRoot::patchStreamers ( MsgStream log)

Definition at line 201 of file RootIOHandler.cpp.

201  {
202  static bool first = true;
203  if ( first ) {
204  first = false;
205 #if ROOT_VERSION_CODE < ROOT_VERSION(5,99,0)
206  gSystem->Load("libCintex");
207  gROOT->ProcessLine("Cintex::Cintex::Enable()");
208  gROOT->ProcessLine("#include <vector>");
209  gInterpreter->EnableAutoLoading();
210  gInterpreter->AutoLoad("DataObject");
211  gInterpreter->AutoLoad("PoolDbLinkManager");
212  gSystem->Load("libGaudiKernelDict");
213  gSystem->Load("libGaudiExamplesDict");
214 #else
215  gInterpreter->EnableAutoLoading();
216  gInterpreter->AutoLoad("DataObject");
217  gInterpreter->AutoLoad("PoolDbLinkManager");
218 #endif
219 
220 
221  bool b1 = makeStreamer<SmartRefBase>(s);
222  bool b2 = makeStreamer<ContainedObject>(s);
223  bool b3 = makeStreamer<pool::Token>(s);
224  return b1 && b2 && b3;
225  }
226  return true;
227  }
string s
Definition: gaudirun.py:210
void GaudiRoot::popCurrentDataObject ( )

Definition at line 39 of file RootIOHandler.cpp.

39  {
41  resetLastLink();
42  }
GAUDI_API void popCurrentDataObject()
void resetLastLink()
void GaudiRoot::pushCurrentDataObject ( DataObject **  pobjAddr)

Definition at line 35 of file RootIOHandler.cpp.

35  {
37  resetLastLink();
38  }
GAUDI_API void pushCurrentDataObject(DataObject **pobjAddr)
void resetLastLink()
void GaudiRoot::resetLastLink ( )

Definition at line 31 of file RootIOHandler.cpp.

31  {
32  last_link_object = 0;
33  last_link_hint = -1;
34  }