Gaudi Framework, version v23r4

Home   Generated: Mon Sep 17 2012

RootConverter.h

Go to the documentation of this file.
00001 // $Id: RootConverter.h,v 1.5 2010-08-24 14:03:03 frankb Exp $
00002 //====================================================================
00003 //      RootConverter class definition
00004 //
00005 //      Author     : M.Frank
00006 //====================================================================
00007 #ifndef GAUDIROOTCNV_ROOTCONVERTER_H
00008 #define GAUDIROOTCNV_ROOTCONVERTER_H
00009 
00010 // Framework include files
00011 #include "GaudiKernel/Converter.h"
00012 #include "RootCnv/RootCnvSvc.h"
00013 
00014 /*
00015  * Gaudi namespace declaration
00016  */
00017 namespace Gaudi {
00018 
00033   class GAUDI_API RootConverter : public Converter   {
00034   protected:
00035 
00037     RootCnvSvc* m_dbMgr;
00038 
00039   public:
00040 
00048     RootConverter(long typ, const CLID& clid, ISvcLocator* svc, RootCnvSvc* mgr)
00049       : Converter(typ, clid, svc), m_dbMgr(mgr) {}
00050       
00052       virtual ~RootConverter() {}
00053 
00055       virtual long repSvcType() const  {    return i_repSvcType();  }
00056 
00064       virtual StatusCode createObj(IOpaqueAddress* pAddr, DataObject*& refpObj) 
00065       { return m_dbMgr->i__createObj(pAddr, refpObj);      }
00066 
00074       virtual StatusCode fillObjRefs(IOpaqueAddress* pAddr, DataObject* pObj) 
00075       { return m_dbMgr->i__fillObjRefs(pAddr, pObj);       }
00076 
00085       virtual StatusCode createRep(DataObject* pObj, IOpaqueAddress*& refpAddr) 
00086       { return m_dbMgr->i__createRep(pObj, refpAddr);      }
00087 
00095       virtual StatusCode fillRepRefs(IOpaqueAddress* pAddr, DataObject* pObj) 
00096       { return m_dbMgr->i__fillRepRefs(pAddr, pObj);       }
00097   };
00098 }
00099 
00100 #endif    // GAUDIROOTCNV_ROOTCONVERTER_H
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines

Generated at Mon Sep 17 2012 13:49:37 for Gaudi Framework, version v23r4 by Doxygen version 1.7.2 written by Dimitri van Heesch, © 1997-2004