TZASA8PlainDriver Class Reference

Implements a driver for ASA 8.0. More...

Inheritance diagram for TZASA8PlainDriver:

TZAbstractObject IZASA8PlainDriver TInterfacedObject IZObject

List of all members.

Public Member Functions

IZInterface Clone ()
 Clones an object instance.
PASASQLDA db_alloc_sqlda (LongWord NumVar)
Integer db_cancel_request (PZASASQLCA sqlca)
 db_close (PZASASQLCA sqlca, PChar CursorName)
 db_commit (PZASASQLCA sqlca, LongWord TransLevel)
 db_declare (PZASASQLCA sqlca, PChar CursorName, PChar StatementName, PChar ProgName, PSmallInt StatementNum, Word Options)
 db_delete (PZASASQLCA sqlca, PChar CursorName)
 db_describe (PZASASQLCA sqlca, PChar ProgName, PSmallInt StatementNum, PASASQLDA Descriptor, Word WhatToDesc)
 db_describe_cursor (PZASASQLCA sqlca, PChar CursorName, PASASQLDA Descriptor, LongWord WhatToDesc)
 db_disconnect (PZASASQLCA sqlca, PChar ConnStr)
 db_dropstmt (PZASASQLCA sqlca, PChar StatementName, PChar ProgName, PSmallInt StatementNum)
 db_execute_imm (PZASASQLCA sqlca, PChar Statement)
 db_execute_into (PZASASQLCA sqlca, PChar Statement, PChar ProgName, PSmallInt StatementNum, PASASQLDA Descriptor, PASASQLDA ResultDescriptor)
 db_explain (PZASASQLCA sqlca, PChar CursorName, PASASQLDA Descriptor)
 db_fetch (PZASASQLCA sqlca, PChar CursorName, Word Offset, Integer RelPositon, PASASQLDA Descriptor, SmallInt BlockSize, Word Options)
 db_fetch_array (PZASASQLCA sqlca, PChar CursorName, Word Offset, Integer RelPositon, PASASQLDA Descriptor, SmallInt BlockSize, Word Options, Word ArrayWidth)
PASASQLDA db_fill_s_sqlda (PASASQLDA Parameter, Integer MaxLength)
PASASQLDA db_fill_sqlda (PASASQLDA Parameter)
Word db_find_engine (PZASASQLCA sqlca, PChar Params)
Integer db_fini (PZASASQLCA sqlca)
 db_free_filled_sqlda (PASASQLDA Parameter)
 db_free_sqlda (PASASQLDA Parameter)
 db_free_sqlda_noind (PASASQLDA Parameter)
 db_get_data (PZASASQLCA sqlca, PChar CursorName, Word ColumnNumber, Integer Offset, PASASQLDA Descriptor)
Integer db_init (PZASASQLCA sqlca)
 db_open (PZASASQLCA sqlca, PChar CursorName, PChar ProgName, PSmallInt StatementNum, PASASQLDA Descriptor, SmallInt BlockSize, SmallInt IsolationLvl, Word CursorOptions)
 db_prepare_describe (PZASASQLCA sqlca, PChar ProgName, PSmallInt StatementNum, PChar SqlStatement, PASASQLDA Descriptor, LongWord WhatToDesc, Word LongNames)
 db_prepare_into (PZASASQLCA sqlca, PChar ProgName, PSmallInt StatementNum, PChar SqlStatement, PASASQLDA Descriptor1, PASASQLDA Descriptor2, LongWord WhatToDesc)
 db_put_array (PZASASQLCA sqlca, PChar CursorName, PASASQLDA Descriptor, PASASQLDA ResultDescriptor, Word Rows)
 db_put_into (PZASASQLCA sqlca, PChar CursorName, PASASQLDA Descriptor, PASASQLDA ResultDescriptor)
 db_register_callback (PZASASQLCA sqlca, ZASA_db_callback_index CBIdx, TZASASQLCallback Proc)
 db_resume (PZASASQLCA sqlca, PChar CursorName)
 db_rollback (PZASASQLCA sqlca, LongWord TransLevel)
 db_select (PZASASQLCA sqlca, PChar ProgName, PSmallInt StatementNum, PASASQLDA Descriptor, PASASQLDA ResultDescriptor)
 db_setconnect (PZASASQLCA sqlca, PChar ConnStr)
 db_setoption (PZASASQLCA sqlca, LongInt Temporary, PChar User, PChar Option, PASASQLDA Descriptor)
LongWord db_start_database (PZASASQLCA sqlca, PChar Params)
LongWord db_start_engine (PZASASQLCA sqlca, PChar Params)
LongWord db_stop_database (PZASASQLCA sqlca, PChar Params)
LongWord db_stop_engine (PZASASQLCA sqlca, PChar Params)
Integer db_string_connect (PZASASQLCA sqlca, PChar Params)
LongWord db_string_disconnect (PZASASQLCA sqlca, PChar Params)
 db_update (PZASASQLCA sqlca, PChar CursorName, PASASQLDA Descriptor)
Boolean Equals (const IZInterface Value)
string GetDescription ()
string GetProtocol ()
LongInt Hash ()
 Gets a unique hash for this object.
 Initialize ()
Boolean InstanceOf (const TGUID IId)
 Checks is this object implements a specified interface.
PChar sqlerror_message (PZASASQLCA sqlca, PChar Buffer, Integer MaxSize)
string ToString ()
 Converts this object into the string representation.
 TZASA8PlainDriver ()


Detailed Description

Implements a driver for ASA 8.0.

Definition at line 1492 of file ZPlainASADriver.pas.


Constructor & Destructor Documentation

TZASA8PlainDriver::TZASA8PlainDriver (  ) 

Definition at line 2630 of file ZPlainASADriver.pas.


Member Function Documentation

IZInterface TZAbstractObject::Clone (  )  [inherited]

Clones an object instance.

Returns:
a clonned object instance.

Reimplemented from IZObject.

Reimplemented in TZCollection, TZUnmodifiableCollection, TZHashMap, TZStack, and TZAnyValue.

Definition at line 474 of file ZClasses.pas.

PASASQLDA TZASA8PlainDriver::db_alloc_sqlda ( LongWord  NumVar  ) 

Reimplemented from IZASAPlainDriver.

Definition at line 2766 of file ZPlainASADriver.pas.

Integer TZASA8PlainDriver::db_cancel_request ( PZASASQLCA  sqlca  ) 

Reimplemented from IZASAPlainDriver.

Definition at line 3151 of file ZPlainASADriver.pas.

TZASA8PlainDriver::db_close ( PZASASQLCA  sqlca,
PChar  CursorName 
)

Reimplemented from IZASAPlainDriver.

Definition at line 2956 of file ZPlainASADriver.pas.

TZASA8PlainDriver::db_commit ( PZASASQLCA  sqlca,
LongWord  TransLevel 
)

Reimplemented from IZASAPlainDriver.

Definition at line 3099 of file ZPlainASADriver.pas.

TZASA8PlainDriver::db_declare ( PZASASQLCA  sqlca,
PChar  CursorName,
PChar  StatementName,
PChar  ProgName,
PSmallInt  StatementNum,
Word  Options 
)

Reimplemented from IZASAPlainDriver.

Definition at line 2898 of file ZPlainASADriver.pas.

TZASA8PlainDriver::db_delete ( PZASASQLCA  sqlca,
PChar  CursorName 
)

Reimplemented from IZASAPlainDriver.

Definition at line 3013 of file ZPlainASADriver.pas.

TZASA8PlainDriver::db_describe ( PZASASQLCA  sqlca,
PChar  ProgName,
PSmallInt  StatementNum,
PASASQLDA  Descriptor,
Word  WhatToDesc 
)

Reimplemented from IZASAPlainDriver.

Definition at line 2913 of file ZPlainASADriver.pas.

TZASA8PlainDriver::db_describe_cursor ( PZASASQLCA  sqlca,
PChar  CursorName,
PASASQLDA  Descriptor,
LongWord  WhatToDesc 
)

Reimplemented from IZASAPlainDriver.

Definition at line 2854 of file ZPlainASADriver.pas.

TZASA8PlainDriver::db_disconnect ( PZASASQLCA  sqlca,
PChar  ConnStr 
)

Reimplemented from IZASAPlainDriver.

Definition at line 2831 of file ZPlainASADriver.pas.

TZASA8PlainDriver::db_dropstmt ( PZASASQLCA  sqlca,
PChar  StatementName,
PChar  ProgName,
PSmallInt  StatementNum 
)

Reimplemented from IZASAPlainDriver.

Definition at line 2927 of file ZPlainASADriver.pas.

TZASA8PlainDriver::db_execute_imm ( PZASASQLCA  sqlca,
PChar  Statement 
)

Reimplemented from IZASAPlainDriver.

Definition at line 3089 of file ZPlainASADriver.pas.

TZASA8PlainDriver::db_execute_into ( PZASASQLCA  sqlca,
PChar  Statement,
PChar  ProgName,
PSmallInt  StatementNum,
PASASQLDA  Descriptor,
PASASQLDA  ResultDescriptor 
)

Reimplemented from IZASAPlainDriver.

Definition at line 3074 of file ZPlainASADriver.pas.

TZASA8PlainDriver::db_explain ( PZASASQLCA  sqlca,
PChar  CursorName,
PASASQLDA  Descriptor 
)

Reimplemented from IZASAPlainDriver.

Definition at line 3119 of file ZPlainASADriver.pas.

TZASA8PlainDriver::db_fetch ( PZASASQLCA  sqlca,
PChar  CursorName,
Word  Offset,
Integer  RelPositon,
PASASQLDA  Descriptor,
SmallInt  BlockSize,
Word  Options 
)

Reimplemented from IZASAPlainDriver.

Definition at line 2966 of file ZPlainASADriver.pas.

TZASA8PlainDriver::db_fetch_array ( PZASASQLCA  sqlca,
PChar  CursorName,
Word  Offset,
Integer  RelPositon,
PASASQLDA  Descriptor,
SmallInt  BlockSize,
Word  Options,
Word  ArrayWidth 
)

Reimplemented from IZASAPlainDriver.

Definition at line 2982 of file ZPlainASADriver.pas.

PASASQLDA TZASA8PlainDriver::db_fill_s_sqlda ( PASASQLDA  Parameter,
Integer  MaxLength 
)

Reimplemented from IZASAPlainDriver.

Definition at line 2784 of file ZPlainASADriver.pas.

PASASQLDA TZASA8PlainDriver::db_fill_sqlda ( PASASQLDA  Parameter  ) 

Reimplemented from IZASAPlainDriver.

Definition at line 2775 of file ZPlainASADriver.pas.

Word TZASA8PlainDriver::db_find_engine ( PZASASQLCA  sqlca,
PChar  Params 
)

Reimplemented from IZASAPlainDriver.

Definition at line 2712 of file ZPlainASADriver.pas.

Integer TZASA8PlainDriver::db_fini ( PZASASQLCA  sqlca  ) 

Reimplemented from IZASAPlainDriver.

Definition at line 2681 of file ZPlainASADriver.pas.

TZASA8PlainDriver::db_free_filled_sqlda ( PASASQLDA  Parameter  ) 

Reimplemented from IZASAPlainDriver.

Definition at line 2812 of file ZPlainASADriver.pas.

TZASA8PlainDriver::db_free_sqlda ( PASASQLDA  Parameter  ) 

Reimplemented from IZASAPlainDriver.

Definition at line 2794 of file ZPlainASADriver.pas.

TZASA8PlainDriver::db_free_sqlda_noind ( PASASQLDA  Parameter  ) 

Reimplemented from IZASAPlainDriver.

Definition at line 2803 of file ZPlainASADriver.pas.

TZASA8PlainDriver::db_get_data ( PZASASQLCA  sqlca,
PChar  CursorName,
Word  ColumnNumber,
Integer  Offset,
PASASQLDA  Descriptor 
)

Reimplemented from IZASAPlainDriver.

Definition at line 2999 of file ZPlainASADriver.pas.

Integer TZASA8PlainDriver::db_init ( PZASASQLCA  sqlca  ) 

Reimplemented from IZASAPlainDriver.

Definition at line 2672 of file ZPlainASADriver.pas.

TZASA8PlainDriver::db_open ( PZASASQLCA  sqlca,
PChar  CursorName,
PChar  ProgName,
PSmallInt  StatementNum,
PASASQLDA  Descriptor,
SmallInt  BlockSize,
SmallInt  IsolationLvl,
Word  CursorOptions 
)

Reimplemented from IZASAPlainDriver.

Definition at line 2939 of file ZPlainASADriver.pas.

TZASA8PlainDriver::db_prepare_describe ( PZASASQLCA  sqlca,
PChar  ProgName,
PSmallInt  StatementNum,
PChar  SqlStatement,
PASASQLDA  Descriptor,
LongWord  WhatToDesc,
Word  LongNames 
)

Reimplemented from IZASAPlainDriver.

Definition at line 2882 of file ZPlainASADriver.pas.

TZASA8PlainDriver::db_prepare_into ( PZASASQLCA  sqlca,
PChar  ProgName,
PSmallInt  StatementNum,
PChar  SqlStatement,
PASASQLDA  Descriptor1,
PASASQLDA  Descriptor2,
LongWord  WhatToDesc 
)

Reimplemented from IZASAPlainDriver.

Definition at line 2866 of file ZPlainASADriver.pas.

TZASA8PlainDriver::db_put_array ( PZASASQLCA  sqlca,
PChar  CursorName,
PASASQLDA  Descriptor,
PASASQLDA  ResultDescriptor,
Word  Rows 
)

Reimplemented from IZASAPlainDriver.

Definition at line 3046 of file ZPlainASADriver.pas.

TZASA8PlainDriver::db_put_into ( PZASASQLCA  sqlca,
PChar  CursorName,
PASASQLDA  Descriptor,
PASASQLDA  ResultDescriptor 
)

Reimplemented from IZASAPlainDriver.

Definition at line 3034 of file ZPlainASADriver.pas.

TZASA8PlainDriver::db_register_callback ( PZASASQLCA  sqlca,
ZASA_db_callback_index  CBIdx,
TZASASQLCallback  Proc 
)

Reimplemented from IZASAPlainDriver.

Definition at line 3130 of file ZPlainASADriver.pas.

TZASA8PlainDriver::db_resume ( PZASASQLCA  sqlca,
PChar  CursorName 
)

Reimplemented from IZASAPlainDriver.

Definition at line 3141 of file ZPlainASADriver.pas.

TZASA8PlainDriver::db_rollback ( PZASASQLCA  sqlca,
LongWord  TransLevel 
)

Reimplemented from IZASAPlainDriver.

Definition at line 3109 of file ZPlainASADriver.pas.

TZASA8PlainDriver::db_select ( PZASASQLCA  sqlca,
PChar  ProgName,
PSmallInt  StatementNum,
PASASQLDA  Descriptor,
PASASQLDA  ResultDescriptor 
)

Reimplemented from IZASAPlainDriver.

Definition at line 3060 of file ZPlainASADriver.pas.

TZASA8PlainDriver::db_setconnect ( PZASASQLCA  sqlca,
PChar  ConnStr 
)

Reimplemented from IZASAPlainDriver.

Definition at line 2821 of file ZPlainASADriver.pas.

TZASA8PlainDriver::db_setoption ( PZASASQLCA  sqlca,
LongInt  Temporary,
PChar  User,
PChar  Option,
PASASQLDA  Descriptor 
)

Reimplemented from IZASAPlainDriver.

LongWord TZASA8PlainDriver::db_start_database ( PZASASQLCA  sqlca,
PChar  Params 
)

Reimplemented from IZASAPlainDriver.

Definition at line 2745 of file ZPlainASADriver.pas.

LongWord TZASA8PlainDriver::db_start_engine ( PZASASQLCA  sqlca,
PChar  Params 
)

Reimplemented from IZASAPlainDriver.

Definition at line 2723 of file ZPlainASADriver.pas.

LongWord TZASA8PlainDriver::db_stop_database ( PZASASQLCA  sqlca,
PChar  Params 
)

Reimplemented from IZASAPlainDriver.

Definition at line 2756 of file ZPlainASADriver.pas.

LongWord TZASA8PlainDriver::db_stop_engine ( PZASASQLCA  sqlca,
PChar  Params 
)

Reimplemented from IZASAPlainDriver.

Definition at line 2734 of file ZPlainASADriver.pas.

Integer TZASA8PlainDriver::db_string_connect ( PZASASQLCA  sqlca,
PChar  Params 
)

Reimplemented from IZASAPlainDriver.

Definition at line 2691 of file ZPlainASADriver.pas.

LongWord TZASA8PlainDriver::db_string_disconnect ( PZASASQLCA  sqlca,
PChar  Params 
)

Reimplemented from IZASAPlainDriver.

Definition at line 2701 of file ZPlainASADriver.pas.

TZASA8PlainDriver::db_update ( PZASASQLCA  sqlca,
PChar  CursorName,
PASASQLDA  Descriptor 
)

Reimplemented from IZASAPlainDriver.

Definition at line 3023 of file ZPlainASADriver.pas.

Boolean TZAbstractObject::Equals ( const IZInterface  Value  )  [inherited]

Reimplemented in TZAnyValue.

string TZASA8PlainDriver::GetDescription (  ) 

Reimplemented from IZPlainDriver.

Definition at line 2645 of file ZPlainASADriver.pas.

string TZASA8PlainDriver::GetProtocol (  ) 

Reimplemented from IZPlainDriver.

Definition at line 2637 of file ZPlainASADriver.pas.

LongInt TZAbstractObject::Hash (  )  [inherited]

Gets a unique hash for this object.

Returns:
a unique hash for this object.

Reimplemented from IZObject.

Definition at line 462 of file ZClasses.pas.

TZASA8PlainDriver::Initialize (  ) 

Reimplemented from IZPlainDriver.

Definition at line 2653 of file ZPlainASADriver.pas.

Boolean TZAbstractObject::InstanceOf ( const TGUID  IId  )  [inherited]

Checks is this object implements a specified interface.

Parameters:
IId an interface id.
Returns:
True if this object support the interface.

Reimplemented from IZObject.

Definition at line 488 of file ZClasses.pas.

PChar TZASA8PlainDriver::sqlerror_message ( PZASASQLCA  sqlca,
PChar  Buffer,
Integer  MaxSize 
)

Reimplemented from IZASAPlainDriver.

Definition at line 2661 of file ZPlainASADriver.pas.

string TZAbstractObject::ToString (  )  [inherited]

Converts this object into the string representation.

Returns:
a string representation for this object.

Reimplemented from IZObject.

Reimplemented in TZCollection, TZUnmodifiableCollection, TZStack, and TZAnyValue.

Definition at line 501 of file ZClasses.pas.


The documentation for this class was generated from the following file:

Generated on Wed Dec 30 08:42:48 2009 for zeoslib by  doxygen 1.5.7.1