Class: TSQLStandardDBProtocolOpenClientDBLib

Declaration: SQLStandardDataAccess.h

Taxonomy Categories:

Member Functions:


Interface Category:

API.

Inherits From:

TSQLDBProtocol

Inherited By:

None.

Purpose:

Provides access to database servers via Sybase OpenClient DBlib.

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: TSQLStandardDBProtocolOpenClientDBLib::TSQLStandardDBProtocolOpenClientDBLib

  1. TSQLStandardDBProtocolOpenClientDBLib (const TText & version =TStandardText :: GetEmptyText (), const TText & name =TStandardText :: GetEmptyText (), const TText & platform =TStandardText :: GetEmptyText ())
  2. TSQLStandardDBProtocolOpenClientDBLib (const TSQLStandardDBProtocolOpenClientDBLib &)

Interface Category:

API.

Purpose:

  1. Constructs a protocol object with the specified parameters.
  2. Copy constructor.

Calling Context:

  1. Called to instantiate and initialize an 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: TSQLStandardDBProtocolOpenClientDBLib::~TSQLStandardDBProtocolOpenClientDBLib

virtual ~ TSQLStandardDBProtocolOpenClientDBLib ()

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: TSQLStandardDBProtocolOpenClientDBLib::operator=

TSQLStandardDBProtocolOpenClientDBLib & operator =(const TSQLStandardDBProtocolOpenClientDBLib &)

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: TSQLStandardDBProtocolOpenClientDBLib::CanAccess

virtual bool CanAccess (const TSQLDataStore &) const

Interface Category:

API.

Purpose:

Determines if the OpenClient 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 OpenClient 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.