TZDBLibMSSQL7PlainDriver Class Reference

Implements a dblib driver for MSSql7. More...

Inheritance diagram for TZDBLibMSSQL7PlainDriver:

TZAbstractObject IZDBLibPlainDriver TInterfacedObject IZObject

List of all members.

Public Member Functions

 CheckError ()
IZInterface Clone ()
 Clones an object instance.
RETCODE dbCancel (PDBPROCESS dbProc)
RETCODE dbCanQuery (PDBPROCESS dbProc)
RETCODE dbClose (PDBPROCESS dbProc)
RETCODE dbCmd (PDBPROCESS dbProc, PChar Cmd)
RETCODE dbCmdRow (PDBPROCESS dbProc)
DBInt dbColLen (PDBPROCESS dbProc, Integer Column)
PChar dbColName (PDBPROCESS dbProc, Integer Column)
Integer dbColType (PDBPROCESS dbProc, Integer Column)
Integer dbConvert (PDBPROCESS dbProc, Integer SrcType, PByte Src, DBINT SrcLen, Integer DestType, PByte Dest, DBINT DestLen)
Integer dbCount (PDBPROCESS dbProc)
PByte dbData (PDBPROCESS dbProc, Integer Column)
Integer dbDatLen (PDBPROCESS dbProc, Integer Column)
Boolean dbDead (PDBPROCESS dbProc)
STATUS dbGetRow (PDBPROCESS dbProc, Integer Row)
Boolean dbHasRetStat (PDBPROCESS dbProc)
PLOGINREC dbLogin ()
 dbLoginFree (PLOGINREC Login)
RETCODE dbMoreCmds (PDBPROCESS dbProc)
PChar dbName (PDBPROCESS dbProc)
STATUS dbNextRow (PDBPROCESS dbProc)
Integer dbNumCols (PDBPROCESS dbProc)
PDBPROCESS dbOpen (PLOGINREC Login, PChar Host)
RETCODE dbResults (PDBPROCESS dbProc)
Pointer dbRetData (PDBPROCESS dbProc, Integer RetNum)
Integer dbRetLen (PDBPROCESS dbProc, Integer RetNum)
PChar dbRetName (PDBPROCESS dbProc, Integer RetNum)
Integer dbRetStatus (PDBPROCESS dbProc)
Integer dbRetType (PDBPROCESS dbProc, Integer RetNum)
RETCODE dbRpcExec (PDBPROCESS dbProc)
RETCODE dbRpcInit (PDBPROCESS dbProc, PChar RpcName, SmallInt Options)
RETCODE dbRpcParam (PDBPROCESS dbProc, PChar ParamName, Byte Status, Integer Type_, Integer MaxLen, Integer DataLen, Pointer Value)
RETCODE dbRpcSend (PDBPROCESS dbProc)
RETCODE dbSetLApp (PLOGINREC Login, PChar AppName)
RETCODE dbSetLCharSet (PLOGINREC Login, PChar CharsetName)
RETCODE dbSetLHost (PLOGINREC Login, PChar HostName)
RETCODE dbsetLName (PLOGINREC Login, PChar Value, Integer Item)
RETCODE dbSetLNatLang (PLOGINREC Login, PChar NatLangName)
RETCODE dbSetLoginTime (Integer Seconds)
RETCODE dbSetLPwd (PLOGINREC Login, PChar Password)
RETCODE dbSetLSecure (PLOGINREC Login)
RETCODE dbSetLUser (PLOGINREC Login, PChar UserName)
RETCODE dbSetMaxprocs (SmallInt MaxProcs)
RETCODE dbSetOpt (PDBPROCESS dbProc, Integer Option, PChar Char_Param=nil, Integer Int_Param=1)
RETCODE dbSqlExec (PDBPROCESS dbProc)
RETCODE dbUse (PDBPROCESS dbProc, PChar dbName)
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.
string ToString ()
 Converts this object into the string representation.
 TZDBLibMSSQL7PlainDriver ()


Detailed Description

Implements a dblib driver for MSSql7.

Definition at line 1279 of file ZPlainDbLibDriver.pas.


Constructor & Destructor Documentation

TZDBLibMSSQL7PlainDriver::TZDBLibMSSQL7PlainDriver (  ) 

Definition at line 2051 of file ZPlainDbLibDriver.pas.


Member Function Documentation

TZDBLibMSSQL7PlainDriver::CheckError (  ) 

Reimplemented from IZDBLibPlainDriver.

Definition at line 2083 of file ZPlainDbLibDriver.pas.

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.

RETCODE TZDBLibMSSQL7PlainDriver::dbCancel ( PDBPROCESS  dbProc  ) 

Reimplemented from IZDBLibPlainDriver.

Definition at line 2259 of file ZPlainDbLibDriver.pas.

RETCODE TZDBLibMSSQL7PlainDriver::dbCanQuery ( PDBPROCESS  dbProc  ) 

Reimplemented from IZDBLibPlainDriver.

Definition at line 2296 of file ZPlainDbLibDriver.pas.

RETCODE TZDBLibMSSQL7PlainDriver::dbClose ( PDBPROCESS  dbProc  ) 

Reimplemented from IZDBLibPlainDriver.

Definition at line 2336 of file ZPlainDbLibDriver.pas.

RETCODE TZDBLibMSSQL7PlainDriver::dbCmd ( PDBPROCESS  dbProc,
PChar  Cmd 
)

Reimplemented from IZDBLibPlainDriver.

Definition at line 2268 of file ZPlainDbLibDriver.pas.

RETCODE TZDBLibMSSQL7PlainDriver::dbCmdRow ( PDBPROCESS  dbProc  ) 

Reimplemented from IZDBLibPlainDriver.

Definition at line 2354 of file ZPlainDbLibDriver.pas.

DBInt TZDBLibMSSQL7PlainDriver::dbColLen ( PDBPROCESS  dbProc,
Integer  Column 
)

Reimplemented from IZDBLibPlainDriver.

Definition at line 2392 of file ZPlainDbLibDriver.pas.

PChar TZDBLibMSSQL7PlainDriver::dbColName ( PDBPROCESS  dbProc,
Integer  Column 
)

Reimplemented from IZDBLibPlainDriver.

Definition at line 2372 of file ZPlainDbLibDriver.pas.

Integer TZDBLibMSSQL7PlainDriver::dbColType ( PDBPROCESS  dbProc,
Integer  Column 
)

Reimplemented from IZDBLibPlainDriver.

Definition at line 2382 of file ZPlainDbLibDriver.pas.

Integer TZDBLibMSSQL7PlainDriver::dbConvert ( PDBPROCESS  dbProc,
Integer  SrcType,
PByte  Src,
DBINT  SrcLen,
Integer  DestType,
PByte  Dest,
DBINT  DestLen 
)

Reimplemented from IZDBLibPlainDriver.

Definition at line 2422 of file ZPlainDbLibDriver.pas.

Integer TZDBLibMSSQL7PlainDriver::dbCount ( PDBPROCESS  dbProc  ) 

Reimplemented from IZDBLibPlainDriver.

Definition at line 2456 of file ZPlainDbLibDriver.pas.

PByte TZDBLibMSSQL7PlainDriver::dbData ( PDBPROCESS  dbProc,
Integer  Column 
)

Reimplemented from IZDBLibPlainDriver.

Definition at line 2402 of file ZPlainDbLibDriver.pas.

Integer TZDBLibMSSQL7PlainDriver::dbDatLen ( PDBPROCESS  dbProc,
Integer  Column 
)

Reimplemented from IZDBLibPlainDriver.

Definition at line 2412 of file ZPlainDbLibDriver.pas.

Boolean TZDBLibMSSQL7PlainDriver::dbDead ( PDBPROCESS  dbProc  ) 

Reimplemented from IZDBLibPlainDriver.

Definition at line 2124 of file ZPlainDbLibDriver.pas.

STATUS TZDBLibMSSQL7PlainDriver::dbGetRow ( PDBPROCESS  dbProc,
Integer  Row 
)

Reimplemented from IZDBLibPlainDriver.

Definition at line 2446 of file ZPlainDbLibDriver.pas.

Boolean TZDBLibMSSQL7PlainDriver::dbHasRetStat ( PDBPROCESS  dbProc  ) 

Reimplemented from IZDBLibPlainDriver.

Definition at line 2518 of file ZPlainDbLibDriver.pas.

PLOGINREC TZDBLibMSSQL7PlainDriver::dbLogin (  ) 

Reimplemented from IZDBLibPlainDriver.

Definition at line 2133 of file ZPlainDbLibDriver.pas.

TZDBLibMSSQL7PlainDriver::dbLoginFree ( PLOGINREC  Login  ) 

Reimplemented from IZDBLibPlainDriver.

Definition at line 2141 of file ZPlainDbLibDriver.pas.

RETCODE TZDBLibMSSQL7PlainDriver::dbMoreCmds ( PDBPROCESS  dbProc  ) 

Reimplemented from IZDBLibPlainDriver.

Definition at line 2305 of file ZPlainDbLibDriver.pas.

PChar TZDBLibMSSQL7PlainDriver::dbName ( PDBPROCESS  dbProc  ) 

Reimplemented from IZDBLibPlainDriver.

Definition at line 2345 of file ZPlainDbLibDriver.pas.

STATUS TZDBLibMSSQL7PlainDriver::dbNextRow ( PDBPROCESS  dbProc  ) 

Reimplemented from IZDBLibPlainDriver.

Definition at line 2437 of file ZPlainDbLibDriver.pas.

Integer TZDBLibMSSQL7PlainDriver::dbNumCols ( PDBPROCESS  dbProc  ) 

Reimplemented from IZDBLibPlainDriver.

Definition at line 2363 of file ZPlainDbLibDriver.pas.

PDBPROCESS TZDBLibMSSQL7PlainDriver::dbOpen ( PLOGINREC  Login,
PChar  Host 
)

Reimplemented from IZDBLibPlainDriver.

Definition at line 2248 of file ZPlainDbLibDriver.pas.

RETCODE TZDBLibMSSQL7PlainDriver::dbResults ( PDBPROCESS  dbProc  ) 

Reimplemented from IZDBLibPlainDriver.

Definition at line 2287 of file ZPlainDbLibDriver.pas.

Pointer TZDBLibMSSQL7PlainDriver::dbRetData ( PDBPROCESS  dbProc,
Integer  RetNum 
)

Reimplemented from IZDBLibPlainDriver.

Definition at line 2537 of file ZPlainDbLibDriver.pas.

Integer TZDBLibMSSQL7PlainDriver::dbRetLen ( PDBPROCESS  dbProc,
Integer  RetNum 
)

Reimplemented from IZDBLibPlainDriver.

Definition at line 2547 of file ZPlainDbLibDriver.pas.

PChar TZDBLibMSSQL7PlainDriver::dbRetName ( PDBPROCESS  dbProc,
Integer  RetNum 
)

Reimplemented from IZDBLibPlainDriver.

Definition at line 2527 of file ZPlainDbLibDriver.pas.

Integer TZDBLibMSSQL7PlainDriver::dbRetStatus ( PDBPROCESS  dbProc  ) 

Reimplemented from IZDBLibPlainDriver.

Definition at line 2509 of file ZPlainDbLibDriver.pas.

Integer TZDBLibMSSQL7PlainDriver::dbRetType ( PDBPROCESS  dbProc,
Integer  RetNum 
)

Reimplemented from IZDBLibPlainDriver.

Definition at line 2557 of file ZPlainDbLibDriver.pas.

RETCODE TZDBLibMSSQL7PlainDriver::dbRpcExec ( PDBPROCESS  dbProc  ) 

Reimplemented from IZDBLibPlainDriver.

Definition at line 2500 of file ZPlainDbLibDriver.pas.

RETCODE TZDBLibMSSQL7PlainDriver::dbRpcInit ( PDBPROCESS  dbProc,
PChar  RpcName,
SmallInt  Options 
)

Reimplemented from IZDBLibPlainDriver.

Definition at line 2465 of file ZPlainDbLibDriver.pas.

RETCODE TZDBLibMSSQL7PlainDriver::dbRpcParam ( PDBPROCESS  dbProc,
PChar  ParamName,
Byte  Status,
Integer  Type_,
Integer  MaxLen,
Integer  DataLen,
Pointer  Value 
)

Reimplemented from IZDBLibPlainDriver.

Definition at line 2476 of file ZPlainDbLibDriver.pas.

RETCODE TZDBLibMSSQL7PlainDriver::dbRpcSend ( PDBPROCESS  dbProc  ) 

Reimplemented from IZDBLibPlainDriver.

Definition at line 2491 of file ZPlainDbLibDriver.pas.

RETCODE TZDBLibMSSQL7PlainDriver::dbSetLApp ( PLOGINREC  Login,
PChar  AppName 
)

Reimplemented from IZDBLibPlainDriver.

Definition at line 2200 of file ZPlainDbLibDriver.pas.

RETCODE TZDBLibMSSQL7PlainDriver::dbSetLCharSet ( PLOGINREC  Login,
PChar  CharsetName 
)

Reimplemented from IZDBLibPlainDriver.

Definition at line 2220 of file ZPlainDbLibDriver.pas.

RETCODE TZDBLibMSSQL7PlainDriver::dbSetLHost ( PLOGINREC  Login,
PChar  HostName 
)

Reimplemented from IZDBLibPlainDriver.

Definition at line 2170 of file ZPlainDbLibDriver.pas.

RETCODE TZDBLibMSSQL7PlainDriver::dbsetLName ( PLOGINREC  Login,
PChar  Value,
Integer  Item 
)

Reimplemented from IZDBLibPlainDriver.

RETCODE TZDBLibMSSQL7PlainDriver::dbSetLNatLang ( PLOGINREC  Login,
PChar  NatLangName 
)

Reimplemented from IZDBLibPlainDriver.

Definition at line 2210 of file ZPlainDbLibDriver.pas.

RETCODE TZDBLibMSSQL7PlainDriver::dbSetLoginTime ( Integer  Seconds  ) 

Reimplemented from IZDBLibPlainDriver.

Definition at line 2150 of file ZPlainDbLibDriver.pas.

RETCODE TZDBLibMSSQL7PlainDriver::dbSetLPwd ( PLOGINREC  Login,
PChar  Password 
)

Reimplemented from IZDBLibPlainDriver.

RETCODE TZDBLibMSSQL7PlainDriver::dbSetLSecure ( PLOGINREC  Login  ) 

Reimplemented from IZDBLibPlainDriver.

RETCODE TZDBLibMSSQL7PlainDriver::dbSetLUser ( PLOGINREC  Login,
PChar  UserName 
)

Reimplemented from IZDBLibPlainDriver.

RETCODE TZDBLibMSSQL7PlainDriver::dbSetMaxprocs ( SmallInt  MaxProcs  ) 

Reimplemented from IZDBLibPlainDriver.

RETCODE TZDBLibMSSQL7PlainDriver::dbSetOpt ( PDBPROCESS  dbProc,
Integer  Option,
PChar  Char_Param = nil,
Integer  Int_Param = 1 
)

Reimplemented from IZDBLibPlainDriver.

Definition at line 2324 of file ZPlainDbLibDriver.pas.

RETCODE TZDBLibMSSQL7PlainDriver::dbSqlExec ( PDBPROCESS  dbProc  ) 

Reimplemented from IZDBLibPlainDriver.

Definition at line 2278 of file ZPlainDbLibDriver.pas.

RETCODE TZDBLibMSSQL7PlainDriver::dbUse ( PDBPROCESS  dbProc,
PChar  dbName 
)

Reimplemented from IZDBLibPlainDriver.

Definition at line 2314 of file ZPlainDbLibDriver.pas.

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

Reimplemented in TZAnyValue.

string TZDBLibMSSQL7PlainDriver::GetDescription (  ) 

Reimplemented from IZPlainDriver.

Definition at line 2066 of file ZPlainDbLibDriver.pas.

string TZDBLibMSSQL7PlainDriver::GetProtocol (  ) 

Reimplemented from IZPlainDriver.

Definition at line 2058 of file ZPlainDbLibDriver.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.

TZDBLibMSSQL7PlainDriver::Initialize (  ) 

Reimplemented from IZPlainDriver.

Definition at line 2074 of file ZPlainDbLibDriver.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.

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:50 2009 for zeoslib by  doxygen 1.5.7.1