Class: TSQLParameterHandle

Declaration: SQLDataAccess.h

Taxonomy Categories:

Member Functions:


Interface Category:

API.

Inherits From:

None.

Inherited By:

None.

Purpose:

This class is a memory management surrogate for TSQLParameter. Commands can have parameterized values that are replaced by native SQL constants at execution time.

Instantiation:

Always allocate on the stack.

Deriving Classes:

None.

Concurrency:

Not multithread safe.

Resource Use:

No special requirements.

Other Considerations:

None.

Member Function: TSQLParameterHandle::TSQLParameterHandle

  1. TSQLParameterHandle ()
  2. TSQLParameterHandle (const TSQLParameterHandle & source)
  3. TSQLParameterHandle (TSQLParameter & source)

Interface Category:

API.

Purpose:

  1. Default constructor.
  2. Copy constructor.
  3. Instantiates and initializes an object.

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.
  3. Called to instantiate and initialize an object.

Parameters:

Return Value:

None.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Not multithread safe.

Other Considerations:

None.

Member Function: TSQLParameterHandle::~TSQLParameterHandle

virtual ~ TSQLParameterHandle ()

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

  1. TSQLParameterHandle & operator =(const TSQLParameterHandle & right)
  2. TSQLParameterHandle & operator =(const int)
  3. TSQLParameterHandle & operator =(const short)
  4. TSQLParameterHandle & operator =(const long)
  5. TSQLParameterHandle & operator =(const double)
  6. TSQLParameterHandle & operator =(const TText &)
  7. TSQLParameterHandle & operator =(const TTime &)
  8. TSQLParameterHandle & operator =(const TSQLTime &)
  9. TSQLParameterHandle & operator =(const TSQLDate &)
  10. TSQLParameterHandle & operator =(const TSQLTimestamp &)

Interface Category:

API.

Purpose:

  1. Assignment operator.
  2. Assignment operator.
  3. Assignment operator.
  4. Assignment operator.
  5. Assignment operator.
  6. Assignment operator.
  7. Assignment operator.
  8. Assignment operator.
  9. Assignment operator.
  10. Assignment operator.

Calling Context:

  1. Called when an object is assigned to another compatible object.
  2. Called when an object is assigned to another compatible object.
  3. Called when an object is assigned to another compatible object.
  4. Called when an object is assigned to another compatible object.
  5. Called when an object is assigned to another compatible object.
  6. Called when an object is assigned to another compatible object.
  7. Called when an object is assigned to another compatible object.
  8. Called when an object is assigned to another compatible object.
  9. Called when an object is assigned to another compatible object.
  10. 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: TSQLParameterHandle::MakeNull

virtual void MakeNull ()

Interface Category:

API.

Purpose:

Assigns the Null value to the associated parameter.

Calling Context:

Call this function directly.

Parameters:

Return Value:

None.

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.