Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members  

DbAddress.h

Go to the documentation of this file.
00001 //====================================================================
00002 //      DbAddress.h
00003 //--------------------------------------------------------------------
00004 //
00005 //      Package    : DbCnv (The LHCb DbCnvSvc service)
00006 //
00007 //  Description: Definition of Db address object
00008 //
00009 //      Author     : M.Frank
00010 //====================================================================
00011 #ifndef DBCNV_DBADDRESS_H
00012 #define DBCNV_DBADDRESS_H
00013 // $Header: /nfs/slac/g/glast/ground/cvs/GaudiDb/GaudiDb/DbAddress.h,v 1.1.1.1 2001/04/18 21:13:34 tlindner Exp $
00014 
00015 // C/C++ include files
00016 #include <string>
00017 
00018 // Framework include files
00019 #include "GaudiKernel/Kernel.h"
00020 #include "GaudiKernel/GenericAddress.h"
00021 #include "GaudiDb/DbContainer.h"
00022 #include "GaudiDb/DbLink.h"
00023 #include "GaudiDb/DbHandle.h"
00024 
00048 class DbAddress   : public GenericAddress   {
00049 protected:
00051   dbHandle<DbObject>      m_objH;
00053   dbHandle<DbContainer>   m_cntH;
00055   virtual ~DbAddress()    {
00056   }
00057 public:
00059   DbAddress(dbHandle<DbObject>& handle, const CLID& clid);
00060 
00061   DbAddress(dbHandle<DbContainer>& cntH, dbHandle<DbLink>& linkH);
00063   dbHandle<DbObject>& objectHdl()    {
00064     return m_objH;
00065   }
00067   dbHandle<DbContainer>& containerHdl()    {
00068     return m_cntH;
00069   }
00070 };
00071 
00072 #endif // DBCNV_DBADDRESS_H

Generated at Wed Nov 21 12:22:18 2001 by doxygen1.2.3 written by Dimitri van Heesch, © 1997-2000