TZMySQLNativeLibraryLoader Class Reference

Implements a loader for MySQL native library. More...

Inheritance diagram for TZMySQLNativeLibraryLoader:

TZNativeLibraryLoader TZNativeLibraryLoader TZNativeLibraryLoader TZNativeLibraryLoader TZNativeLibraryLoader

List of all members.

Public Member Functions

Boolean Load ()
 Loads a library module.
Boolean Load ()
 Loads a library module.
Boolean Load ()
 Loads a library module.
Boolean Load ()
 Loads a library module.
Boolean Load ()
 Loads a library module.
 LoadIfNeeded ()
 Loads a library if it was not previously loaded.
 ~TZMySQLNativeLibraryLoader ()
 ~TZMySQLNativeLibraryLoader ()
 ~TZMySQLNativeLibraryLoader ()
 ~TZMySQLNativeLibraryLoader ()
 ~TZMySQLNativeLibraryLoader ()
 Destroys the library and cleanups the memory.

Public Attributes

MYSQL5_API api_rec
MYSQL41_API api_rec
MYSQL40_API api_rec
MYSQL323_API api_rec
MYSQL320_API api_rec
LongWord Handle
Boolean Loaded

Protected Member Functions

 FreeNativeLibrary ()
 Frees a previously loaded library.
Pointer GetAddress (PChar ProcName)
 Gets a procedure address from the loaded library by its name.
Boolean LoadNativeLibrary ()
 Loads a library module and initializes the handle.


Detailed Description

Implements a loader for MySQL native library.

Definition at line 449 of file ZPlainMySql320.pas.


Constructor & Destructor Documentation

TZMySQLNativeLibraryLoader::~TZMySQLNativeLibraryLoader (  ) 

Destroys the library and cleanups the memory.

Definition at line 493 of file ZPlainMySql320.pas.

TZMySQLNativeLibraryLoader::~TZMySQLNativeLibraryLoader (  ) 

TZMySQLNativeLibraryLoader::~TZMySQLNativeLibraryLoader (  ) 

TZMySQLNativeLibraryLoader::~TZMySQLNativeLibraryLoader (  ) 

TZMySQLNativeLibraryLoader::~TZMySQLNativeLibraryLoader (  ) 


Member Function Documentation

TZNativeLibraryLoader::FreeNativeLibrary (  )  [protected, inherited]

Frees a previously loaded library.

Reimplemented in TZSybaseNativeLibraryLoader.

Definition at line 257 of file ZPlainLoader.pas.

Pointer TZNativeLibraryLoader::GetAddress ( PChar  ProcName  )  [protected, inherited]

Gets a procedure address from the loaded library by its name.

Parameters:
ProcName a name of the procedure.
Returns:
a procedure address.

Definition at line 273 of file ZPlainLoader.pas.

Boolean TZMySQLNativeLibraryLoader::Load (  ) 

Loads a library module.

Returns:
True if library was successfully loaded.

Reimplemented from TZNativeLibraryLoader.

Boolean TZMySQLNativeLibraryLoader::Load (  ) 

Loads a library module.

Returns:
True if library was successfully loaded.

Reimplemented from TZNativeLibraryLoader.

Boolean TZMySQLNativeLibraryLoader::Load (  ) 

Loads a library module.

Returns:
True if library was successfully loaded.

Reimplemented from TZNativeLibraryLoader.

Boolean TZMySQLNativeLibraryLoader::Load (  ) 

Loads a library module.

Returns:
True if library was successfully loaded.

Reimplemented from TZNativeLibraryLoader.

Boolean TZMySQLNativeLibraryLoader::Load (  ) 

Loads a library module.

Returns:
True if library was successfully loaded.

Reimplemented from TZNativeLibraryLoader.

Definition at line 479 of file ZPlainMySql320.pas.

TZNativeLibraryLoader::LoadIfNeeded (  )  [inherited]

Loads a library if it was not previously loaded.

Definition at line 190 of file ZPlainLoader.pas.

Boolean TZNativeLibraryLoader::LoadNativeLibrary (  )  [protected, inherited]

Loads a library module and initializes the handle.

Returns:
True is library was successfully loaded.

Definition at line 203 of file ZPlainLoader.pas.


Member Data Documentation

Definition at line 886 of file ZPlainMySql5.pas.

Definition at line 873 of file ZPlainMySql41.pas.

Definition at line 559 of file ZPlainMySql40.pas.

Definition at line 464 of file ZPlainMySql323.pas.

Definition at line 454 of file ZPlainMySql320.pas.

LongWord TZNativeLibraryLoader::Handle [inherited]

See also:
FHandle For reading

FHandle For writing

Definition at line 106 of file ZPlainLoader.pas.

Boolean TZNativeLibraryLoader::Loaded [inherited]

See also:
FLoaded For reading

FLoaded For writing

Definition at line 113 of file ZPlainLoader.pas.


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

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