ATLAS Offline Software
Loading...
Searching...
No Matches
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 */
22namespace 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
Description: Definition an option to be supplied to database objects.
Definition DbOption.h:36
Db objects: class DbSession.
Definition DbSession.h:43
This class is highly inspired by the error code distribution system as it is used in DEC/VMS or MS/WN...
Definition DbStatus.h:64
IDbDomain interface.
Definition IDbDomain.h:40
virtual DbStatus getOption(DbOption &refOpt) const =0
Access domain specific options.
virtual ~IDbDomain()
Definition IDbDomain.h:42
virtual DbStatus setOption(const DbOption &refOpt)=0
Set domain specific options.
virtual bool existsDbase(const std::string &nam)=0
Check for existence of a domain within a session.
pool namespace
Definition libname.h:15