ATLAS Offline Software
Loading...
Searching...
No Matches
IDbDomain.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2025 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
19class StatusCode;
20
21/*
22 * POOL namespace declaration
23 */
24namespace pool {
25
26 // Forward declarations
27 class DbSession;
28 class DbOption;
29 class DbType;
30
42 class IDbDomain {
43 public:
44 virtual ~IDbDomain() { }
45
47
51 virtual bool existsDbase(const std::string& nam) = 0;
52
54
58 virtual StatusCode setOption(const DbOption& refOpt) = 0;
59
61
65 virtual StatusCode getOption(DbOption& refOpt) const = 0;
66 };
67} // End namespace pool
68#endif // POOL_IDBDOMAIN_H
Description: Definition an option to be supplied to database objects.
Definition DbOption.h:37
Db objects: class DbSession.
Definition DbSession.h:44
IDbDomain interface.
Definition IDbDomain.h:42
virtual ~IDbDomain()
Definition IDbDomain.h:44
virtual StatusCode getOption(DbOption &refOpt) const =0
Access domain specific options.
virtual bool existsDbase(const std::string &nam)=0
Check for existence of a domain within a session.
virtual StatusCode setOption(const DbOption &refOpt)=0
Set domain specific options.
pool namespace
Definition libname.h:15