Class: TSQLDataStore

Declaration: SQLDataAccess.h

Taxonomy Categories:

Member Functions:


Interface Category:

API.

Inherits From:

TSQLProduct

Inherited By:

TSQLStandardDataStoreDB2 TSQLStandardDataStoreODBC TSQLStandardDataStoreOracle7 TSQLStandardDataStoreSybase10

Purpose:

TSQLDataStore is a concrete class that describes a data store, typically a DBMS such as Oracle 7 or AS/400.

Instantiation:

Allocate on the heap or the stack. Although this is a concrete class, SQLDAS clients typically use of one its derived classes to specify a particular datastore.

Deriving Classes:

Providers need to derive a new class for every new datastore that they want to support.

Concurrency:

Not multithread safe.

Resource Use:

No special requirements.

Other Considerations:

None.

Member Function: TSQLDataStore::TSQLDataStore

  1. TSQLDataStore ()
  2. TSQLDataStore (const TText & vendor, const TText & identifier, const TText & version, const TText & name, const TText & platform =TStandardText :: GetEmptyText ())
  3. TSQLDataStore (const TSQLDataStore & source)

Interface Category:

API.

Purpose:

  1. Default constructor.
  2. Constructs a datastore for the specified product.
  3. Copy constructor.

Calling Context:

  1. Called by the stream-in operators and any other function that needs to construct an uninitialized object.
  2. Call this function directly.
  3. 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: TSQLDataStore::~TSQLDataStore

virtual ~ TSQLDataStore ()

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

TSQLDataStore & operator =(const TSQLDataStore & right)

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.
Click the icon to mail questions or corrections about this material to Taligent personnel.
Copyright©1995 Taligent,Inc. All rights reserved.