| # Gaudi Framework, version v22r2 |

Home |  | Generated: Tue May 10 2011

Public Member Functions

# IDataSourceMgr Class Reference

IDataSourceMgr interface definition. More...

`#include <GaudiKernel/IDataSourceMgr.h>`

Inheritance diagram for IDataSourceMgr:
[legend]
Collaboration diagram for IDataSourceMgr:
[legend]

List of all members.

## Public Member Functions
| DeclareInterfaceID (IDataSourceMgr, 2, 0)
| InterfaceID.
virtual bool | isConnected (const std::string &identifier) const =0
| Check if a datasource is connected.
virtual StatusCode | connect (const std::string &logon, std::string &identifier)=0
| Connect data source.
virtual StatusCode | connect (const std::string &logon)=0
| Connect data source.
virtual StatusCode | disconnect (const std::string &identifier)=0
| Disconnect data source.
virtual StatusCode | disconnectAll ()=0
| Close all open connections.

## Detailed Description

IDataSourceMgr interface definition.

Author:
  Markus Frank

Version:
  1.0

Definition at line 15 of file IDataSourceMgr.h.

## Member Function Documentation

virtual StatusCode IDataSourceMgr::connect | ( | const std::string & | logon,
|  | std::string & | identifier
| ) |  | `[pure virtual]`

Connect data source.

Parameters:

  mode | Connection mode (READ,CREATE,UPDATE)
  logon | Connection string
  identifier | Logical name (OUTPUT)

Returns:
  Status code indicating success or failure.

virtual StatusCode IDataSourceMgr::connect | ( | const std::string & | logon ) | `[pure virtual]`

Connect data source.

Parameters:

  mode | Connection mode (READ,CREATE,UPDATE)
  logon | Connection string

Returns:
  Status code indicating success or failure.

IDataSourceMgr::DeclareInterfaceID | ( | IDataSourceMgr | ,
|  | 2 | ,
|  | 0 |
| ) |  |

InterfaceID.

virtual StatusCode IDataSourceMgr::disconnect | ( | const std::string & | identifier ) | `[pure virtual]`

Disconnect data source.

Parameters:

  identifier | Connection string

Returns:
  Status code indicating success or failure.

virtual StatusCode IDataSourceMgr::disconnectAll | ( | ) | `[pure virtual]`

Close all open connections.

virtual bool IDataSourceMgr::isConnected | ( | const std::string & | identifier ) | const`[pure virtual]`

Check if a datasource is connected.

Parameters:

  identifier | Connection string

Returns:
  Status code indicating success or failure.

The documentation for this class was generated from the following file:

- /afs/.cern.ch/sw/Gaudi/releases/GAUDI/GAUDI_v22r2/GaudiKernel/GaudiKernel/IDataSourceMgr.h

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines