Pol  Rev 533
BSQLResultSet Class Reference

#include <sqlscrobj.h>

+ Inheritance diagram for BSQLResultSet:
+ Collaboration diagram for BSQLResultSet:

List of all members.

Public Member Functions

 BSQLResultSet (MYSQL_RES *result)
 BSQLResultSet (MYSQL_RES *result, MYSQL_FIELD *fields)
 BSQLResultSet (int affected_rows)
 ~BSQLResultSet ()
int affected_rows () const
virtual BObjectImpcopy () const
const char * field_name (unsigned int index) const
bool free ()
virtual std::string getStringRep () const
virtual bool isTrue () const
int num_fields () const
int num_rows () const
virtual size_t sizeEstimate () const
virtual const char * typeOf () const
virtual int typeOfInt () const

Private Attributes

int _affected_rows
MYSQL_FIELD * _fields
MYSQL_RES * _result

Friends

class BSQLRow

Detailed Description

Definition at line 55 of file sqlscrobj.h.


Constructor & Destructor Documentation

BSQLResultSet::BSQLResultSet ( MYSQL_RES *  result)

Definition at line 82 of file sqlscrobj.cpp.

References _fields.

Referenced by copy().

+ Here is the caller graph for this function:

BSQLResultSet::BSQLResultSet ( MYSQL_RES *  result,
MYSQL_FIELD *  fields 
)

Definition at line 85 of file sqlscrobj.cpp.

BSQLResultSet::BSQLResultSet ( int  affected_rows)

Definition at line 87 of file sqlscrobj.cpp.

Definition at line 111 of file sqlscrobj.cpp.

References _result.


Member Function Documentation

Definition at line 102 of file sqlscrobj.cpp.

References _affected_rows.

Referenced by SQLExecutorModule::mf_AffectedRows().

+ Here is the caller graph for this function:

virtual BObjectImp* BSQLResultSet::copy ( void  ) const [inline, virtual]

Implements BObjectImp.

Definition at line 69 of file sqlscrobj.h.

References _affected_rows, _fields, _result, and BSQLResultSet().

+ Here is the call graph for this function:

const char * BSQLResultSet::field_name ( unsigned int  index) const

Definition at line 90 of file sqlscrobj.cpp.

References _fields, and _result.

Referenced by SQLExecutorModule::mf_FieldName().

+ Here is the caller graph for this function:

Definition at line 105 of file sqlscrobj.cpp.

References _result.

Referenced by SQLExecutorModule::mf_FreeResult().

+ Here is the caller graph for this function:

string BSQLResultSet::getStringRep ( ) const [virtual]

Implements BObjectImp.

Definition at line 117 of file sqlscrobj.cpp.

bool BSQLResultSet::isTrue ( void  ) const [virtual]

Reimplemented from BObjectImp.

Definition at line 114 of file sqlscrobj.cpp.

Definition at line 97 of file sqlscrobj.cpp.

References _result.

Referenced by SQLExecutorModule::mf_NumFields().

+ Here is the caller graph for this function:

int BSQLResultSet::num_rows ( ) const [inline]

Definition at line 65 of file sqlscrobj.h.

References _result.

Referenced by SQLExecutorModule::mf_NumRows().

+ Here is the caller graph for this function:

virtual size_t BSQLResultSet::sizeEstimate ( ) const [inline, virtual]

Implements BObjectImp.

Definition at line 74 of file sqlscrobj.h.

virtual const char* BSQLResultSet::typeOf ( ) const [inline, virtual]

Reimplemented from BObjectImp.

Definition at line 75 of file sqlscrobj.h.

virtual int BSQLResultSet::typeOfInt ( ) const [inline, virtual]

Reimplemented from BObjectImp.

Definition at line 76 of file sqlscrobj.h.

References BObjectImp::OTSQLResultSet.


Friends And Related Function Documentation

friend class BSQLRow [friend]

Definition at line 80 of file sqlscrobj.h.


Member Data Documentation

Definition at line 84 of file sqlscrobj.h.

Referenced by affected_rows(), and copy().

MYSQL_FIELD* BSQLResultSet::_fields [private]

Definition at line 83 of file sqlscrobj.h.

Referenced by BSQLResultSet(), copy(), and field_name().


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