TZASA9PlainDriver Class Reference

Implements a driver for ASA 9.0. More...

Inheritance diagram for TZASA9PlainDriver:

TZAbstractObject IZASA9PlainDriver 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.
 TZASA9PlainDriver ()


Detailed Description

Implements a driver for ASA 9.0.

Definition at line 1799 of file ZPlainASADriver.pas.


Constructor & Destructor Documentation

TZASA9PlainDriver::TZASA9PlainDriver (  ) 

Definition at line 3160 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 TZASA9PlainDriver::db_alloc_sqlda ( LongWord  NumVar  ) 

Reimplemented from IZASAPlainDriver.

Definition at line 3296 of file ZPlainASADriver.pas.

Integer TZASA9PlainDriver::db_cancel_request ( PZASASQLCA  sqlca  ) 

Reimplemented from IZASAPlainDriver.

Definition at line 3681 of file ZPlainASADriver.pas.

TZASA9PlainDriver::db_close ( PZASASQLCA  sqlca,
PChar  CursorName 
)

Reimplemented from IZASAPlainDriver.

Definition at line 3486 of file ZPlainASADriver.pas.

TZASA9PlainDriver::db_commit ( PZASASQLCA  sqlca,
LongWord  TransLevel 
)

Reimplemented from IZASAPlainDriver.

Definition at line 3629 of file ZPlainASADriver.pas.

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

Reimplemented from IZASAPlainDriver.

Definition at line 3428 of file ZPlainASADriver.pas.

TZASA9PlainDriver::db_delete ( PZASASQLCA  sqlca,
PChar  CursorName 
)

Reimplemented from IZASAPlainDriver.

Definition at line 3543 of file ZPlainASADriver.pas.

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

Reimplemented from IZASAPlainDriver.

Definition at line 3443 of file ZPlainASADriver.pas.

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

Reimplemented from IZASAPlainDriver.

Definition at line 3384 of file ZPlainASADriver.pas.

TZASA9PlainDriver::db_disconnect ( PZASASQLCA  sqlca,
PChar  ConnStr 
)

Reimplemented from IZASAPlainDriver.

Definition at line 3361 of file ZPlainASADriver.pas.

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

Reimplemented from IZASAPlainDriver.

Definition at line 3457 of file ZPlainASADriver.pas.

TZASA9PlainDriver::db_execute_imm ( PZASASQLCA  sqlca,
PChar  Statement 
)

Reimplemented from IZASAPlainDriver.

Definition at line 3619 of file ZPlainASADriver.pas.

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

Reimplemented from IZASAPlainDriver.

Definition at line 3604 of file ZPlainASADriver.pas.

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

Reimplemented from IZASAPlainDriver.

Definition at line 3649 of file ZPlainASADriver.pas.

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

Reimplemented from IZASAPlainDriver.

Definition at line 3496 of file ZPlainASADriver.pas.

TZASA9PlainDriver::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 3512 of file ZPlainASADriver.pas.

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

Reimplemented from IZASAPlainDriver.

Definition at line 3314 of file ZPlainASADriver.pas.

PASASQLDA TZASA9PlainDriver::db_fill_sqlda ( PASASQLDA  Parameter  ) 

Reimplemented from IZASAPlainDriver.

Definition at line 3305 of file ZPlainASADriver.pas.

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

Reimplemented from IZASAPlainDriver.

Definition at line 3242 of file ZPlainASADriver.pas.

Integer TZASA9PlainDriver::db_fini ( PZASASQLCA  sqlca  ) 

Reimplemented from IZASAPlainDriver.

Definition at line 3211 of file ZPlainASADriver.pas.

TZASA9PlainDriver::db_free_filled_sqlda ( PASASQLDA  Parameter  ) 

Reimplemented from IZASAPlainDriver.

Definition at line 3342 of file ZPlainASADriver.pas.

TZASA9PlainDriver::db_free_sqlda ( PASASQLDA  Parameter  ) 

Reimplemented from IZASAPlainDriver.

Definition at line 3324 of file ZPlainASADriver.pas.

TZASA9PlainDriver::db_free_sqlda_noind ( PASASQLDA  Parameter  ) 

Reimplemented from IZASAPlainDriver.

Definition at line 3333 of file ZPlainASADriver.pas.

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

Reimplemented from IZASAPlainDriver.

Definition at line 3529 of file ZPlainASADriver.pas.

Integer TZASA9PlainDriver::db_init ( PZASASQLCA  sqlca  ) 

Reimplemented from IZASAPlainDriver.

Definition at line 3202 of file ZPlainASADriver.pas.

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

Reimplemented from IZASAPlainDriver.

Definition at line 3469 of file ZPlainASADriver.pas.

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

Reimplemented from IZASAPlainDriver.

Definition at line 3412 of file ZPlainASADriver.pas.

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

Reimplemented from IZASAPlainDriver.

Definition at line 3396 of file ZPlainASADriver.pas.

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

Reimplemented from IZASAPlainDriver.

Definition at line 3576 of file ZPlainASADriver.pas.

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

Reimplemented from IZASAPlainDriver.

Definition at line 3564 of file ZPlainASADriver.pas.

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

Reimplemented from IZASAPlainDriver.

Definition at line 3660 of file ZPlainASADriver.pas.

TZASA9PlainDriver::db_resume ( PZASASQLCA  sqlca,
PChar  CursorName 
)

Reimplemented from IZASAPlainDriver.

Definition at line 3671 of file ZPlainASADriver.pas.

TZASA9PlainDriver::db_rollback ( PZASASQLCA  sqlca,
LongWord  TransLevel 
)

Reimplemented from IZASAPlainDriver.

Definition at line 3639 of file ZPlainASADriver.pas.

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

Reimplemented from IZASAPlainDriver.

Definition at line 3590 of file ZPlainASADriver.pas.

TZASA9PlainDriver::db_setconnect ( PZASASQLCA  sqlca,
PChar  ConnStr 
)

Reimplemented from IZASAPlainDriver.

Definition at line 3351 of file ZPlainASADriver.pas.

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

Reimplemented from IZASAPlainDriver.

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

Reimplemented from IZASAPlainDriver.

Definition at line 3275 of file ZPlainASADriver.pas.

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

Reimplemented from IZASAPlainDriver.

Definition at line 3253 of file ZPlainASADriver.pas.

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

Reimplemented from IZASAPlainDriver.

Definition at line 3286 of file ZPlainASADriver.pas.

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

Reimplemented from IZASAPlainDriver.

Definition at line 3264 of file ZPlainASADriver.pas.

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

Reimplemented from IZASAPlainDriver.

Definition at line 3221 of file ZPlainASADriver.pas.

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

Reimplemented from IZASAPlainDriver.

Definition at line 3231 of file ZPlainASADriver.pas.

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

Reimplemented from IZASAPlainDriver.

Definition at line 3553 of file ZPlainASADriver.pas.

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

Reimplemented in TZAnyValue.

string TZASA9PlainDriver::GetDescription (  ) 

Reimplemented from IZPlainDriver.

Definition at line 3175 of file ZPlainASADriver.pas.

string TZASA9PlainDriver::GetProtocol (  ) 

Reimplemented from IZPlainDriver.

Definition at line 3167 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.

TZASA9PlainDriver::Initialize (  ) 

Reimplemented from IZPlainDriver.

Definition at line 3183 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 TZASA9PlainDriver::sqlerror_message ( PZASASQLCA  sqlca,
PChar  Buffer,
Integer  MaxSize 
)

Reimplemented from IZASAPlainDriver.

Definition at line 3191 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