TZOracleBlob Class Reference

Implements external blob wrapper object for Oracle. More...

Inheritance diagram for TZOracleBlob:

TZAbstractBlob IZOracleBlob TInterfacedObject IZBlob

List of all members.

Public Member Functions

 Clear ()
IZBlob Clone ()
 Clones this blob object.
 CreateBlob ()
 Creates a temporary blob.
TByteDynArray GetBytes ()
POCILobLocator GetLobLocator ()
 Gets the lob locator reference.
TStream GetStream ()
 Gets the associated stream object.
string GetString ()
WideString GetUnicodeString ()
Boolean IsEmpty ()
 Checks if this blob has an empty content.
Boolean IsUpdated ()
LongInt Length ()
 ReadBlob ()
 Reads the blob by the blob handle.
 SetBytes (const TByteDynArray Value)
 SetStream (TStream Value)
 SetString (const string Value)
 SetUnicodeString (const WideString Value)
 TZOracleBlob (IZOraclePlainDriver PlainDriver, Pointer Data, Integer Size, IZConnection Handle, POCILobLocator LobLocator, TZSQLType BlobType)
 Constructs this class and assignes the main properties.
 WriteBlob ()
 Writes the blob by the blob handle.
 ~TZOracleBlob ()
 Destroys this object and cleanups the memory.

Protected Attributes

Pointer BlobData
Integer BlobSize
Boolean Updated

Private Attributes

TZSQLType FBlobType
IZConnection FHandle
POCILobLocator FLobLocator
IZOraclePlainDriver FPlainDriver
Boolean FTemporary


Detailed Description

Implements external blob wrapper object for Oracle.

Definition at line 216 of file ZDbcOracleResultSet.pas.


Constructor & Destructor Documentation

TZOracleBlob::TZOracleBlob ( IZOraclePlainDriver  PlainDriver,
Pointer  Data,
Integer  Size,
IZConnection  Handle,
POCILobLocator  LobLocator,
TZSQLType  BlobType 
)

Constructs this class and assignes the main properties.

Parameters:
PlainDriver a Oracle plain driver.
Data a pointer to the blobdata.
Size the size of the blobdata.
Handle a Oracle connection reference.
LobLocator an Oracle lob locator reference.
BlobType a blob type.

Definition at line 1164 of file ZDbcOracleResultSet.pas.

TZOracleBlob::~TZOracleBlob (  ) 

Destroys this object and cleanups the memory.

Definition at line 1186 of file ZDbcOracleResultSet.pas.


Member Function Documentation

TZAbstractBlob::Clear (  )  [inherited]

Reimplemented from IZBlob.

IZBlob TZOracleBlob::Clone (  ) 

Clones this blob object.

Returns:
a clonned blob object.

Reimplemented from TZAbstractBlob.

Definition at line 1368 of file ZDbcOracleResultSet.pas.

TZOracleBlob::CreateBlob (  ) 

Creates a temporary blob.

Reimplemented from IZOracleBlob.

Definition at line 1221 of file ZDbcOracleResultSet.pas.

TByteDynArray TZAbstractBlob::GetBytes (  )  [inherited]

Reimplemented from IZBlob.

Reimplemented in TZASABlob, and TZInterbase6Blob.

POCILobLocator TZOracleBlob::GetLobLocator (  ) 

Gets the lob locator reference.

Returns:
the lob locator reference.

Reimplemented from IZOracleBlob.

Definition at line 1210 of file ZDbcOracleResultSet.pas.

TStream TZOracleBlob::GetStream (  ) 

Gets the associated stream object.

Returns:
an associated or newly created stream object.

Reimplemented from TZAbstractBlob.

Definition at line 1381 of file ZDbcOracleResultSet.pas.

string TZAbstractBlob::GetString (  )  [inherited]

Reimplemented from IZBlob.

Reimplemented in TZASABlob, and TZInterbase6Blob.

WideString TZAbstractBlob::GetUnicodeString (  )  [inherited]

Reimplemented from IZBlob.

Reimplemented in TZASABlob, and TZInterbase6Blob.

Boolean TZOracleBlob::IsEmpty (  ) 

Checks if this blob has an empty content.

Returns:
True if this blob is empty.

Reimplemented from TZAbstractBlob.

Definition at line 1355 of file ZDbcOracleResultSet.pas.

Boolean TZAbstractBlob::IsUpdated (  )  [inherited]

Reimplemented from IZBlob.

LongInt TZAbstractBlob::Length (  )  [inherited]

Reimplemented from IZBlob.

TZOracleBlob::ReadBlob (  ) 

Reads the blob by the blob handle.

Reimplemented from IZOracleBlob.

Definition at line 1253 of file ZDbcOracleResultSet.pas.

TZAbstractBlob::SetBytes ( const TByteDynArray  Value  )  [inherited]

Reimplemented from IZBlob.

TZAbstractBlob::SetStream ( TStream  Value  )  [inherited]

Reimplemented from IZBlob.

TZAbstractBlob::SetString ( const string  Value  )  [inherited]

Reimplemented from IZBlob.

TZAbstractBlob::SetUnicodeString ( const WideString  Value  )  [inherited]

Reimplemented from IZBlob.

TZOracleBlob::WriteBlob (  ) 

Writes the blob by the blob handle.

Reimplemented from IZOracleBlob.

Definition at line 1310 of file ZDbcOracleResultSet.pas.


Member Data Documentation

Pointer TZAbstractBlob::BlobData [protected, inherited]

See also:
FBlobData For reading

FBlobData For writing

Reimplemented in TZASABlob.

Definition at line 764 of file ZDbcResultSet.pas.

Integer TZAbstractBlob::BlobSize [protected, inherited]

See also:
FBlobSize For reading

FBlobSize For writing

Reimplemented in TZASABlob.

Definition at line 767 of file ZDbcResultSet.pas.

Definition at line 227 of file ZDbcOracleResultSet.pas.

Definition at line 221 of file ZDbcOracleResultSet.pas.

Definition at line 223 of file ZDbcOracleResultSet.pas.

Definition at line 225 of file ZDbcOracleResultSet.pas.

Boolean TZOracleBlob::FTemporary [private]

Definition at line 229 of file ZDbcOracleResultSet.pas.

Boolean TZAbstractBlob::Updated [protected, inherited]

See also:
FUpdated For reading

FUpdated For writing

Definition at line 770 of file ZDbcResultSet.pas.


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

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