| # Gaudi Framework, version v21r10p1 |

Home |  | Generated: 29 Jul 2010

# IPoolCacheSvc.h

Go to the documentation of this file.

    00001 // $Id: IPoolCacheSvc.h,v 1.8 2008/01/17 13:20:51 marcocle Exp $
    00002 //====================================================================
    00003 //      IPoolCacheSvc.h
    00004 //--------------------------------------------------------------------
    00005 //
    00006 //      Author     : M.Frank
    00007 //====================================================================
    00008 // $Header: /tmp/svngaudi/tmp.jEpFh25751/Gaudi/GaudiPoolDb/GaudiPoolDb/IPoolCacheSvc.h,v 1.8 2008/01/17 13:20:51 marcocle Exp $
    00009 #ifndef POOLDB_IPOOLCACHESVC_H
    00010 #define POOLDB_IPOOLCACHESVC_H
    00011
    00012 // Framework include files
    00013 #include "GaudiKernel/IInterface.h"
    00014 #include "StorageSvc/DbSession.h"
    00015
    00016 // C++ header files
    00017 #include <string>
    00018
    00019 // Forward declarations
    00020 namespace pool {
    00021   class DbType;
    00022   class DbSession;
    00023   class DbOptionCallback;
    00024 }
    00025
    00041 class GAUDI_API IPoolCacheSvc: virtual public IInterface
    00042 {
    00043 public:
    00045   DeclareInterfaceID(IPoolCacheSvc,2,0);
    00046
    00048   virtual pool::DbSession& session() = 0;
    00049
    00051
    00055   virtual StatusCode loadDictionary(const std::string& name) = 0;
    00056
    00058
    00060   virtual pool::DbOptionCallback* callbackHandler() const = 0;
    00061 };
    00062
    00063 #endif  // POOLDB_IPOOLCACHESVC_H