Class: TSQLStandardDBProtocolODBC

Declaration: SQLStandardDataAccess.h

Taxonomy Categories:

Member Functions:


Interface Category:

API.

Inherits From:

TSQLDBProtocol

Inherited By:

None.

Purpose:

Provides access to datastores via ODBC drivers.

Instantiation:

Allocate on the heap or the stack.

Deriving Classes:

None.

Concurrency:

Not multithread safe.

Resource Use:

No special requirements.

Other Considerations:

None.

Member Function: TSQLStandardDBProtocolODBC::TSQLStandardDBProtocolODBC

  1. TSQLStandardDBProtocolODBC ()
  2. TSQLStandardDBProtocolODBC (const TSQLStandardDBProtocolODBC &)

Interface Category:

API.

Purpose:

  1. Default constructor.
  2. Copy constructor.

Calling Context:

  1. Called by the stream-in operators and any other function that needs to construct an uninitialized object.
  2. Called to copy an object.

Parameters:

Return Value:

None.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Not multithread safe.

Other Considerations:

None.

Member Function: TSQLStandardDBProtocolODBC::~TSQLStandardDBProtocolODBC

virtual ~ TSQLStandardDBProtocolODBC ()

Interface Category:

API.

Purpose:

Destructor.

Calling Context:

Called to destroy an object.

Parameters:

Return Value:

None.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Not multithread safe.

Other Considerations:

None.

Member Function: TSQLStandardDBProtocolODBC::operator=

TSQLStandardDBProtocolODBC & operator =(const TSQLStandardDBProtocolODBC &)

Interface Category:

API.

Purpose:

Assignment operator.

Calling Context:

Called when an object is assigned to another compatible object.

Parameters:

Return Value:

A non-const reference to the left-hand side object.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Not multithread safe.

Other Considerations:

None.

Member Function: TSQLStandardDBProtocolODBC::CanAccess

virtual bool CanAccess (const TSQLDataStore &) const

Interface Category:

API.

Purpose:

Determines if the ODBC protocol can access the given datastore. Based on the result of this call, clients can limit the complexity of choices presented to the end user.

Calling Context:

Call this function directly.

Parameters:

Return Value:

Returns true if the ODBC protocol can access the given datastore.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Not multithread safe.

Other Considerations:

None.
Click the icon to mail questions or corrections about this material to Taligent personnel.
Copyright©1995 Taligent,Inc. All rights reserved.