QCommenceRowSet Class Reference

#include <QCommenceDB.h>

Inheritance diagram for QCommenceRowSet:

Inheritance graph

List of all members.

Public Slots

virtual long rowCount (void)
 Return Row Count.
virtual long columnCount (void)
 Return Column Count.
virtual QString getRowValue (long i_row, long i_col, long i_flags=0)
 Return a Row/Column value.
virtual QString getRowValue (long i_row, QString i_col)
 Return a Row/Column value by name.
virtual QString getRowVar (long i_row, long i_col, QString i_var)
 Return a column var field value.
virtual QString getRowVar (long i_row, const QString &i_col, const QString &i_var)
virtual QString getColumnLabel (long i_col, long i_flags=0)
 Return a column label name by index.
virtual long getColumnIndex (QString i_label, long i_flags=0)
 Return a column index value by name.
virtual QString getRow (long i_row, QString i_delim, long i_flags=0)=0
 Return an entire row value as one string.
virtual bool isField (long i_col)
 Return TRUE/FALSE if column is a field.
virtual bool isConnection (long i_col)
 Return TRUE/FALSE if column is a connection.
QString keyValue (long i_row)
 Return the KeyField value.
QString cfyValue (long i_row)
 Return the CfyField value.
QString varValue (long i_row)
 Return the VarField value (the whole var).
QString varField (long i_row, QString i_field)
 Return a VarField element value.
QString cmcIDValue (long i_row)
 Return the cmcID value.
QString guidValue (long i_row)
 Return the guid value.
QCommenceCategoryDefcategoryDef (void)
 Return the category Definition.

Signals

void beforeGetRowValue (long v_row, long v_col)
void afterGetRowValue (long v_row, long v_col)
void beforeGetColumnLabel (long v_col)
void afterGetColumnLabel (long v_col)
void beforeGetColumnIndex (QString v_label)
void afterGetColumnIndex (QString v_label)
void beforeCommit (void)
void afterCommit (void)
void beforeModifyRow (long v_row, long v_col, QString v_buf)
void afterModifyRow (long v_row, long v_col, QString v_buf)
void beforeGetRow (long v_row, QString v_delim)
void afterGetRow (long v_row, QString v_delim)
void beforeSetShared (long v_row)

Public Member Functions

 QCommenceRowSet (void)
 QCommenceRowSet (long i_rowCount, QCocDispatch *i_unknown, QCommenceCursor *i_cursor)
virtual ~QCommenceRowSet ()
virtual QString rs_getRowID (DISPID v_dispid, long v_row, long v_flags=0)
virtual bool rs_shared (DISPID v_dispid, long v_row)
virtual QString rs_getRow (DISPID v_dispid, long v_row, QString v_delim, long v_flags=0)
virtual long rs_getFieldToFile (DISPID v_dispid, long v_row, long v_col, QString v_filename, long v_flags=0)
virtual long rs_modifyRow (long v_row, long v_col, QString v_buf, long v_flags=0)
virtual long rs_commit (long v_flags=0)
virtual QCommenceCursorrs_commitGetCursor (long v_flags=0)
virtual QCommenceCursorcursor (void)
virtual QCommenceDatabaseDB (void)

Private Attributes

QPointer< QCommenceCursorm_cursor
long m_rowCount
long m_colCount
QPointer< QCommenceCategoryDefm_categoryDef


Detailed Description

Definition at line 5007 of file QCommenceDB.h.


Constructor & Destructor Documentation

QCommenceRowSet::QCommenceRowSet ( void   )  [inline]

Definition at line 5013 of file QCommenceDB.h.

QCommenceRowSet::QCommenceRowSet ( long  i_rowCount,
QCocDispatch i_unknown,
QCommenceCursor i_cursor 
)

Definition at line 4991 of file QCommenceDB.cpp.

QCommenceRowSet::~QCommenceRowSet (  )  [virtual]

Definition at line 5007 of file QCommenceDB.cpp.


Member Function Documentation

void QCommenceRowSet::afterCommit ( void   )  [signal]

void QCommenceRowSet::afterGetColumnIndex ( QString  v_label  )  [signal]

void QCommenceRowSet::afterGetColumnLabel ( long  v_col  )  [signal]

void QCommenceRowSet::afterGetRow ( long  v_row,
QString  v_delim 
) [signal]

void QCommenceRowSet::afterGetRowValue ( long  v_row,
long  v_col 
) [signal]

void QCommenceRowSet::afterModifyRow ( long  v_row,
long  v_col,
QString  v_buf 
) [signal]

void QCommenceRowSet::beforeCommit ( void   )  [signal]

void QCommenceRowSet::beforeGetColumnIndex ( QString  v_label  )  [signal]

void QCommenceRowSet::beforeGetColumnLabel ( long  v_col  )  [signal]

void QCommenceRowSet::beforeGetRow ( long  v_row,
QString  v_delim 
) [signal]

void QCommenceRowSet::beforeGetRowValue ( long  v_row,
long  v_col 
) [signal]

void QCommenceRowSet::beforeModifyRow ( long  v_row,
long  v_col,
QString  v_buf 
) [signal]

void QCommenceRowSet::beforeSetShared ( long  v_row  )  [signal]

QCommenceCategoryDef * QCommenceRowSet::categoryDef ( void   )  [slot]

Return the category Definition.

Definition at line 5776 of file QCommenceDB.cpp.

QString QCommenceRowSet::cfyValue ( long  i_row  )  [slot]

Return the CfyField value.

Definition at line 5715 of file QCommenceDB.cpp.

QString QCommenceRowSet::cmcIDValue ( long  i_row  )  [slot]

Return the cmcID value.

Definition at line 5744 of file QCommenceDB.cpp.

long QCommenceRowSet::columnCount ( void   )  [virtual, slot]

Return Column Count.

Definition at line 5030 of file QCommenceDB.cpp.

QCommenceCursor * QCommenceRowSet::cursor ( void   )  [virtual]

Definition at line 5013 of file QCommenceDB.cpp.

QCommenceDatabase * QCommenceRowSet::DB ( void   )  [virtual]

Definition at line 5018 of file QCommenceDB.cpp.

long QCommenceRowSet::getColumnIndex ( QString  i_label,
long  i_flags = 0 
) [virtual, slot]

Return a column index value by name.

Definition at line 5184 of file QCommenceDB.cpp.

QString QCommenceRowSet::getColumnLabel ( long  i_col,
long  i_flags = 0 
) [virtual, slot]

Return a column label name by index.

Definition at line 5131 of file QCommenceDB.cpp.

virtual QString QCommenceRowSet::getRow ( long  i_row,
QString  i_delim,
long  i_flags = 0 
) [pure virtual, slot]

Return an entire row value as one string.

Implemented in QCommenceQueryRowSet, QCommenceAddRowSet, QCommenceEditRowSet, and QCommenceDeleteRowSet.

QString QCommenceRowSet::getRowValue ( long  i_row,
QString  i_col 
) [virtual, slot]

Return a Row/Column value by name.

This is a convenience function that returns a column value by column name aleviating the task of having to lookup the columnName index value before making the query.

Definition at line 5037 of file QCommenceDB.cpp.

QString QCommenceRowSet::getRowValue ( long  i_row,
long  i_col,
long  i_flags = 0 
) [virtual, slot]

Return a Row/Column value.

Definition at line 5043 of file QCommenceDB.cpp.

QString QCommenceRowSet::getRowVar ( long  i_row,
const QString &  i_col,
const QString &  i_var 
) [virtual, slot]

Definition at line 5109 of file QCommenceDB.cpp.

QString QCommenceRowSet::getRowVar ( long  i_row,
long  i_col,
QString  i_var 
) [virtual, slot]

Return a column var field value.

This treats any column as a var-field column, and returns a particular element from that var field.

Definition at line 5121 of file QCommenceDB.cpp.

QString QCommenceRowSet::guidValue ( long  i_row  )  [slot]

Return the guid value.

Definition at line 5760 of file QCommenceDB.cpp.

bool QCommenceRowSet::isConnection ( long  i_col  )  [virtual, slot]

Return TRUE/FALSE if column is a connection.

Definition at line 5701 of file QCommenceDB.cpp.

bool QCommenceRowSet::isField ( long  i_col  )  [virtual, slot]

Return TRUE/FALSE if column is a field.

Definition at line 5696 of file QCommenceDB.cpp.

QString QCommenceRowSet::keyValue ( long  i_row  )  [slot]

Return the KeyField value.

Definition at line 5706 of file QCommenceDB.cpp.

long QCommenceRowSet::rowCount ( void   )  [virtual, slot]

Return Row Count.

Definition at line 5023 of file QCommenceDB.cpp.

long QCommenceRowSet::rs_commit ( long  v_flags = 0  )  [virtual]

Definition at line 5571 of file QCommenceDB.cpp.

QCommenceCursor * QCommenceRowSet::rs_commitGetCursor ( long  v_flags = 0  )  [virtual]

Definition at line 5636 of file QCommenceDB.cpp.

long QCommenceRowSet::rs_getFieldToFile ( DISPID  v_dispid,
long  v_row,
long  v_col,
QString  v_filename,
long  v_flags = 0 
) [virtual]

Definition at line 5418 of file QCommenceDB.cpp.

QString QCommenceRowSet::rs_getRow ( DISPID  v_dispid,
long  v_row,
QString  v_delim,
long  v_flags = 0 
) [virtual]

Definition at line 5356 of file QCommenceDB.cpp.

virtual QString QCommenceRowSet::rs_getRowID ( DISPID  v_dispid,
long  v_row,
long  v_flags = 0 
) [virtual]

long QCommenceRowSet::rs_modifyRow ( long  v_row,
long  v_col,
QString  v_buf,
long  v_flags = 0 
) [virtual]

Definition at line 5483 of file QCommenceDB.cpp.

bool QCommenceRowSet::rs_shared ( DISPID  v_dispid,
long  v_row 
) [virtual]

Definition at line 5302 of file QCommenceDB.cpp.

QString QCommenceRowSet::varField ( long  i_row,
QString  i_field 
) [slot]

Return a VarField element value.

Definition at line 5739 of file QCommenceDB.cpp.

QString QCommenceRowSet::varValue ( long  i_row  )  [slot]

Return the VarField value (the whole var).

Definition at line 5727 of file QCommenceDB.cpp.


Member Data Documentation

Definition at line 5181 of file QCommenceDB.h.

Definition at line 5179 of file QCommenceDB.h.

Definition at line 5177 of file QCommenceDB.h.

Definition at line 5178 of file QCommenceDB.h.


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




~ ~ ~ ~ ~ ~
Source Code without Comments is like a Cranberry Garland
without the berries. Comment your Code!
 
Commence Database User Support Group Forum
http://newsgroup.showoff-db.org/
~ ~ ~ ~ ~ ~
Author: Mark Petryk
Lorimark Solutions, LLC
mark@lorimarksolutions.com