| # Gaudi Framework, version v20r2
Generated: 18 Jul 2008

- Main Page
- Namespaces
- Classes
- Files
- Directories
- Related Pages

- Search for |

- File List
- File Members

# 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: /local/reps/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
    00026 static const InterfaceID IID_IPoolCacheSvc("IPoolCacheSvc", 1, 0);
    00027
    00043 class IPoolCacheSvc : virtual public IInterface
    00044 {
    00045 public:
    00047   static const InterfaceID& interfaceID() { return IID_IPoolCacheSvc; }
    00048
    00050   virtual pool::DbSession& session() = 0;
    00051
    00053
    00057   virtual StatusCode loadDictionary(const std::string& name) = 0;
    00058
    00060
    00062   virtual pool::DbOptionCallback* callbackHandler() const = 0;
    00063 };
    00064
    00065 #endif  // POOLDB_IPOOLCACHESVC_H