TZASA7PlainDriver Class Reference

Implements a driver for ASA 7.0. More...

Inheritance diagram for TZASA7PlainDriver:

TZAbstractObject IZASA7PlainDriver 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.
 TZASA7PlainDriver ()


Detailed Description

Implements a driver for ASA 7.0.

Definition at line 1185 of file ZPlainASADriver.pas.


Constructor & Destructor Documentation

TZASA7PlainDriver::TZASA7PlainDriver (  ) 

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

Reimplemented from IZASAPlainDriver.

Definition at line 2236 of file ZPlainASADriver.pas.

Integer TZASA7PlainDriver::db_cancel_request ( PZASASQLCA  sqlca  ) 

Reimplemented from IZASAPlainDriver.

Definition at line 2621 of file ZPlainASADriver.pas.

TZASA7PlainDriver::db_close ( PZASASQLCA  sqlca,
PChar  CursorName 
)

Reimplemented from IZASAPlainDriver.

Definition at line 2426 of file ZPlainASADriver.pas.

TZASA7PlainDriver::db_commit ( PZASASQLCA  sqlca,
LongWord  TransLevel 
)

Reimplemented from IZASAPlainDriver.

Definition at line 2569 of file ZPlainASADriver.pas.

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

Reimplemented from IZASAPlainDriver.

Definition at line 2368 of file ZPlainASADriver.pas.

TZASA7PlainDriver::db_delete ( PZASASQLCA  sqlca,
PChar  CursorName 
)

Reimplemented from IZASAPlainDriver.

Definition at line 2483 of file ZPlainASADriver.pas.

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

Reimplemented from IZASAPlainDriver.

Definition at line 2383 of file ZPlainASADriver.pas.

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

Reimplemented from IZASAPlainDriver.

Definition at line 2324 of file ZPlainASADriver.pas.

TZASA7PlainDriver::db_disconnect ( PZASASQLCA  sqlca,
PChar  ConnStr 
)

Reimplemented from IZASAPlainDriver.

Definition at line 2301 of file ZPlainASADriver.pas.

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

Reimplemented from IZASAPlainDriver.

Definition at line 2397 of file ZPlainASADriver.pas.

TZASA7PlainDriver::db_execute_imm ( PZASASQLCA  sqlca,
PChar  Statement 
)

Reimplemented from IZASAPlainDriver.

Definition at line 2559 of file ZPlainASADriver.pas.

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

Reimplemented from IZASAPlainDriver.

Definition at line 2544 of file ZPlainASADriver.pas.

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

Reimplemented from IZASAPlainDriver.

Definition at line 2589 of file ZPlainASADriver.pas.

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

Reimplemented from IZASAPlainDriver.

Definition at line 2436 of file ZPlainASADriver.pas.

TZASA7PlainDriver::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 2452 of file ZPlainASADriver.pas.

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

Reimplemented from IZASAPlainDriver.

Definition at line 2254 of file ZPlainASADriver.pas.

PASASQLDA TZASA7PlainDriver::db_fill_sqlda ( PASASQLDA  Parameter  ) 

Reimplemented from IZASAPlainDriver.

Definition at line 2245 of file ZPlainASADriver.pas.

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

Reimplemented from IZASAPlainDriver.

Definition at line 2182 of file ZPlainASADriver.pas.

Integer TZASA7PlainDriver::db_fini ( PZASASQLCA  sqlca  ) 

Reimplemented from IZASAPlainDriver.

Definition at line 2151 of file ZPlainASADriver.pas.

TZASA7PlainDriver::db_free_filled_sqlda ( PASASQLDA  Parameter  ) 

Reimplemented from IZASAPlainDriver.

Definition at line 2282 of file ZPlainASADriver.pas.

TZASA7PlainDriver::db_free_sqlda ( PASASQLDA  Parameter  ) 

Reimplemented from IZASAPlainDriver.

Definition at line 2264 of file ZPlainASADriver.pas.

TZASA7PlainDriver::db_free_sqlda_noind ( PASASQLDA  Parameter  ) 

Reimplemented from IZASAPlainDriver.

Definition at line 2273 of file ZPlainASADriver.pas.

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

Reimplemented from IZASAPlainDriver.

Definition at line 2469 of file ZPlainASADriver.pas.

Integer TZASA7PlainDriver::db_init ( PZASASQLCA  sqlca  ) 

Reimplemented from IZASAPlainDriver.

Definition at line 2142 of file ZPlainASADriver.pas.

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

Reimplemented from IZASAPlainDriver.

Definition at line 2409 of file ZPlainASADriver.pas.

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

Reimplemented from IZASAPlainDriver.

Definition at line 2352 of file ZPlainASADriver.pas.

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

Reimplemented from IZASAPlainDriver.

Definition at line 2336 of file ZPlainASADriver.pas.

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

Reimplemented from IZASAPlainDriver.

Definition at line 2516 of file ZPlainASADriver.pas.

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

Reimplemented from IZASAPlainDriver.

Definition at line 2504 of file ZPlainASADriver.pas.

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

Reimplemented from IZASAPlainDriver.

Definition at line 2600 of file ZPlainASADriver.pas.

TZASA7PlainDriver::db_resume ( PZASASQLCA  sqlca,
PChar  CursorName 
)

Reimplemented from IZASAPlainDriver.

Definition at line 2611 of file ZPlainASADriver.pas.

TZASA7PlainDriver::db_rollback ( PZASASQLCA  sqlca,
LongWord  TransLevel 
)

Reimplemented from IZASAPlainDriver.

Definition at line 2579 of file ZPlainASADriver.pas.

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

Reimplemented from IZASAPlainDriver.

Definition at line 2530 of file ZPlainASADriver.pas.

TZASA7PlainDriver::db_setconnect ( PZASASQLCA  sqlca,
PChar  ConnStr 
)

Reimplemented from IZASAPlainDriver.

Definition at line 2291 of file ZPlainASADriver.pas.

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

Reimplemented from IZASAPlainDriver.

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

Reimplemented from IZASAPlainDriver.

Definition at line 2215 of file ZPlainASADriver.pas.

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

Reimplemented from IZASAPlainDriver.

Definition at line 2193 of file ZPlainASADriver.pas.

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

Reimplemented from IZASAPlainDriver.

Definition at line 2226 of file ZPlainASADriver.pas.

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

Reimplemented from IZASAPlainDriver.

Definition at line 2204 of file ZPlainASADriver.pas.

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

Reimplemented from IZASAPlainDriver.

Definition at line 2161 of file ZPlainASADriver.pas.

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

Reimplemented from IZASAPlainDriver.

Definition at line 2171 of file ZPlainASADriver.pas.

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

Reimplemented from IZASAPlainDriver.

Definition at line 2493 of file ZPlainASADriver.pas.

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

Reimplemented in TZAnyValue.

string TZASA7PlainDriver::GetDescription (  ) 

Reimplemented from IZPlainDriver.

Definition at line 2115 of file ZPlainASADriver.pas.

string TZASA7PlainDriver::GetProtocol (  ) 

Reimplemented from IZPlainDriver.

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

TZASA7PlainDriver::Initialize (  ) 

Reimplemented from IZPlainDriver.

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

Reimplemented from IZASAPlainDriver.

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