NCBI C++ ToolKit
Public Member Functions | Protected Member Functions | Friends | List of all members
IDataSource Class Referenceabstract

Search Toolkit Book for IDataSource

IDataSource –. More...

#include <dbapi/dbapi.hpp>

+ Inheritance diagram for IDataSource:

Public Member Functions

virtual IConnectionCreateConnection (EOwnership ownership=eNoOwnership)=0
virtual void SetLoginTimeout (unsigned int i)=0
 Set login timeout. More...
virtual void SetLogStream (ostream *out)=0
 Set the output stream for server messages. More...
virtual CDB_MultiExGetErrorAsEx ()=0
 Returns all server messages as a CDB_MultiEx object. More...
virtual string GetErrorInfo ()=0
 Returns all server messages as a single string. More...
virtual I_DriverContextGetDriverContext ()=0
 Returns the pointer to the general driver interface. More...
virtual const I_DriverContextGetDriverContext () const =0
void SetApplicationName (const string &app_name)
string GetApplicationName (void) const

Protected Member Functions

virtual ~IDataSource ()
 Protected Destructor. More...


class CDriverManager

Detailed Description

IDataSource –.

Interface for a datasource

Definition at line 962 of file dbapi.hpp.

The documentation for this class was generated from the following files:
Modified on Thu Feb 29 12:20:16 2024 by rev. 669887