Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

SQLDBC::SQLDBC_ConnectionItem Class Reference

#include <SQLDBC.h>

Inheritance diagram for SQLDBC::SQLDBC_ConnectionItem:

SQLDBC::SQLDBC_Connection SQLDBC::SQLDBC_ResultSet SQLDBC::SQLDBC_RowSet SQLDBC::SQLDBC_Statement SQLDBC::SQLDBC_PreparedStatement List of all members.

Detailed Description

Base class to administrate the error handling within SQLDBC.

A ConnectionItem is an object that is referenced by connection, and it is directly bound to it. A Statement, PreparedStatement or a ResultSet object references this object.. Any SQLDBC_ConnectionItem has an ErrorHndl and a Warning member. They are set after an, unsuccessfull operation.

Definition at line 181 of file SQLDBC.h.

Public Methods


Member Function Documentation

void SQLDBC::SQLDBC_ConnectionItem::clearError  
 

Deletes the error has been stored.

void SQLDBC::SQLDBC_ConnectionItem::clearWarnings  
 

Deletes the warning stored in the SQLWarning object.

SQLDBC_ErrorHndl& SQLDBC::SQLDBC_ConnectionItem::error  
 

Returns a reference to the ErrorHndl object.

Returns:
An SQLDBC_ErrorHndl object.

SQLDBC_SQLWarning* SQLDBC::SQLDBC_ConnectionItem::warning  
 

Returns a reference to an SQLWarning object stored in the SQLDBC_ConnectionItem object.

Returns:
The SQLWarning object stored in the item.


Friends And Related Function Documentation

friend class SQLDBC_Connection [friend]
 

Reimplemented in SQLDBC::SQLDBC_Statement, and SQLDBC::SQLDBC_PreparedStatement.

Definition at line 214 of file SQLDBC.h.

friend class SQLDBC_Environment [friend]
 

Reimplemented in SQLDBC::SQLDBC_Connection.

Definition at line 213 of file SQLDBC.h.

friend class SQLDBC_PreparedStatement [friend]
 

Reimplemented in SQLDBC::SQLDBC_Statement.

Definition at line 216 of file SQLDBC.h.

friend class SQLDBC_ResultSet [friend]
 

Reimplemented in SQLDBC::SQLDBC_RowSet.

Definition at line 217 of file SQLDBC.h.

friend class SQLDBC_RowSet [friend]
 

Definition at line 218 of file SQLDBC.h.

friend class SQLDBC_Statement [friend]
 

Reimplemented in SQLDBC::SQLDBC_ResultSet.

Definition at line 215 of file SQLDBC.h.


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