ATLAS Offline Software
IDbDomain.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 //====================================================================
6 // $Id: IDbDomain.h 726071 2016-02-25 09:23:05Z krasznaa $
7 //
8 // Package : pool/StorageSvc (The pool framework)
9 //
10 // @author M.Frank
11 //
12 //====================================================================
13 #ifndef POOL_IDBDOMAIN_H
14 #define POOL_IDBDOMAIN_H
15 
16 // Framework include files
17 #include "StorageSvc/pool.h"
18 
19 /*
20  * POOL namespace declaration
21  */
22 namespace pool {
23 
24  // Forward declarations
25  class DbSession;
26  class DbOption;
27  class DbType;
28 
40  class IDbDomain {
41  public:
42  virtual ~IDbDomain() { }
43 
45 
49  virtual bool existsDbase(const std::string& nam) = 0;
50 
52 
56  virtual DbStatus setOption(const DbOption& refOpt) = 0;
57 
59 
63  virtual DbStatus getOption(DbOption& refOpt) const = 0;
64  };
65 } // End namespace pool
66 #endif // POOL_IDBDOMAIN_H
pool::DbStatus
Definition: DbStatus.h:67
pool::IDbDomain::~IDbDomain
virtual ~IDbDomain()
Definition: IDbDomain.h:42
pool
pool namespace
Definition: libname.h:15
pool::IDbDomain
Definition: IDbDomain.h:40
pool::IDbDomain::existsDbase
virtual bool existsDbase(const std::string &nam)=0
Check for existence of a domain within a session.
pool::DbOption
Definition: DbOption.h:36
pool::IDbDomain::getOption
virtual DbStatus getOption(DbOption &refOpt) const =0
Access domain specific options.
pool::IDbDomain::setOption
virtual DbStatus setOption(const DbOption &refOpt)=0
Set domain specific options.
pool.h