QCosDumontDataSet Class Reference

DumontDataSet Server Interface Implementation. More...

#include <QCoDumontDSO.h>

Inheritance diagram for QCosDumontDataSet:

Inheritance graph

List of all members.

Public Member Functions

 QCosDumontDataSet (ITypeLib *v_ITypeLib, QPointer< QCocCommenceDB > v_cmcDB, QString v_catName)
virtual ~QCosDumontDataSet ()
virtual QCocCommenceDBcmcDB (void)
virtual QCocCommenceConversationcmcCV (void)
virtual QCocCommenceCursorcursor (void)
virtual QCocCommenceRowSetrs (void)
virtual QCocCommenceQueryRowSetqrs (void)
virtual QCocCommenceAddRowSetars (void)
virtual QCocCommenceEditRowSeters (void)
virtual QCocCommenceDeleteRowSetdrs (void)
virtual QString meid (void)
virtual QString catName (void)
virtual void catName (QString v_catName)
virtual long columnCount (void)
virtual long rowCount (void)
virtual long editRowCount (void)
virtual long addRowCount (void)
virtual long rowNumber (void)
virtual long rowNumber (long int v_rowNumber)
virtual long firstRow (void)
virtual long prevRow (void)
virtual long nextRow (void)
virtual long lastRow (void)
virtual bool bof (void)
virtual bool eof (void)
virtual bool isDirtyRow (void)
virtual bool isDirtySet (void)
virtual bool isAdd (void)
virtual void addRows (long int v_addRC)
virtual long int addRows (void)
virtual long deleteRow (void)
virtual long post (long int v_flag=0)
virtual int colNumber (QString v_fieldName)
virtual void addFieldColumn (QString v_colName)
virtual void addConnectedColumn (QString v_conName, QString v_catName, QString v_fieldName)
virtual QString fldVar (QString v_fieldName, QString v_varName)
virtual void fldVar (QString v_fieldName, QString v_varName, QString v_varValue)
virtual void delVar (QString v_fieldName, QString v_varName)
virtual QString fv (QString v_fieldName)
virtual void fv (QString v_fieldName, QString v_fieldValue)
virtual QString cv (int v_colNumber)
virtual void cv (int v_colNumber, QString v_fieldValue)
virtual QString vt (QString v_fieldName)
virtual void vt (QString v_fieldName, QString v_fieldValue)
virtual long int vi (QString v_fieldName)
virtual void vi (QString v_fieldName, long int v_fieldValue)
virtual double vd (QString v_fieldName)
virtual void vd (QString v_fieldName, double v_fieldValue)
virtual void dv (QString v_fieldName)
virtual QString filter (void)
virtual void filter (QString filterLine)
virtual void andFilter (QString filterLine)
virtual void orFilter (QString filterLine)
virtual QString sort (void)
virtual void sort (QString sortLine)
virtual void addSort (QString v_sortLine)
virtual QCosDumontDataSetopenDataSet (QString v_catName, QString v_conName)
virtual QCosDumontDataSetChangeopenDataSetChange (QString v_catName, QString v_conName)
virtual QCosDumontDataSetCalendaropenDataSetCalendar (QString v_catName, QString v_conName)
virtual HRESULT __stdcall test ()
virtual HRESULT __stdcall get_catName (BSTR *pbstrOut)
virtual HRESULT __stdcall put_catName (BSTR bstrIn)
virtual HRESULT __stdcall get_keyField (BSTR *pbstrOut)
virtual HRESULT __stdcall put_keyField (BSTR bstrIn)
virtual HRESULT __stdcall get_columnCount (long int *)
virtual HRESULT __stdcall get_rowCount (long int *)
virtual HRESULT __stdcall get_addRowCount (long int *)
virtual HRESULT __stdcall get_rowNumber (long int *)
virtual HRESULT __stdcall put_rowNumber (long int)
virtual HRESULT __stdcall firstRow (long int *)
virtual HRESULT __stdcall prevRow (long int *)
virtual HRESULT __stdcall nextRow (long int *)
virtual HRESULT __stdcall lastRow (long int *)
virtual HRESULT __stdcall get_bof (VARIANT_BOOL *)
virtual HRESULT __stdcall get_eof (VARIANT_BOOL *)
virtual HRESULT __stdcall get_isDirtyRow (VARIANT_BOOL *)
virtual HRESULT __stdcall get_isDirtySet (VARIANT_BOOL *)
virtual HRESULT __stdcall get_isAdd (VARIANT_BOOL *)
virtual HRESULT __stdcall get_addRows (long int *)
virtual HRESULT __stdcall put_addRows (long int)
virtual HRESULT __stdcall deleteRow (long int *)
virtual HRESULT __stdcall post (long int *)
virtual HRESULT __stdcall addFieldColumn (BSTR v_colName)
virtual HRESULT __stdcall addConnectedColumn (BSTR v_conName, BSTR v_catName, BSTR v_fieldName)
virtual HRESULT __stdcall get_fldVar (OLECHAR *, OLECHAR *, OLECHAR **)
virtual HRESULT __stdcall put_fldVar (OLECHAR *, OLECHAR *, OLECHAR *)
virtual HRESULT __stdcall delVar (OLECHAR *, OLECHAR *)
virtual HRESULT __stdcall get_fv (OLECHAR *, OLECHAR **)
virtual HRESULT __stdcall put_fv (OLECHAR *, OLECHAR *)
virtual HRESULT __stdcall get_cv (long int, OLECHAR **)
virtual HRESULT __stdcall put_cv (long int, OLECHAR *)
virtual HRESULT __stdcall get_vt (OLECHAR *, OLECHAR **)
virtual HRESULT __stdcall put_vt (OLECHAR *, OLECHAR *)
virtual HRESULT __stdcall get_vi (OLECHAR *, long int *)
virtual HRESULT __stdcall put_vi (OLECHAR *, long int)
virtual HRESULT __stdcall get_vd (OLECHAR *, double *)
virtual HRESULT __stdcall put_vd (OLECHAR *, double)
virtual HRESULT __stdcall dv (OLECHAR *)
virtual HRESULT __stdcall filterClear (void)
virtual HRESULT __stdcall get_filter (BSTR *)
virtual HRESULT __stdcall put_filter (BSTR)
virtual HRESULT __stdcall put_andFilter (BSTR)
virtual HRESULT __stdcall put_orFilter (BSTR)
virtual HRESULT __stdcall sortClear (void)
virtual HRESULT __stdcall get_sort (BSTR *)
virtual HRESULT __stdcall put_sort (BSTR)
virtual HRESULT __stdcall put_addSort (BSTR)
virtual HRESULT __stdcall get_openDataSet (BSTR v_catName, BSTR v_conName, IDumontDataSet **o_ds)
virtual HRESULT __stdcall get_openDataSetChange (BSTR v_catName, BSTR v_conName, IDumontDataSetChange **o_ds)
virtual HRESULT __stdcall get_openDataSetCalendar (BSTR v_catName, BSTR v_conName, IDumontDataSetCalendar **o_ds)
virtual HRESULT __stdcall InterfaceSupportsErrorInfo (const IID &riid)
void keyField (QString v_fieldName)
 Set the field used to uniquely identify rows.
QString keyField (void)
 Return the field used to uniquely identify rows.
QString keyName (void)
 Return the catnameKey field.
QString cfyName (void)
 Return the catnameCfy field.
QString varName (void)
 Return the catnameVar field.

Protected Member Functions

void reopen (void)
void applyColumns (void)
void applyFilterLine (int v_ln)
void applyFilterLines (void)
void applySortLines (void)

Private Member Functions

virtual DECLARE_IUNKNOWN
HRESULT __stdcall 
NondelegatingQueryInterface (const IID &iid, void **ppv)
virtual HRESULT __stdcall GetTypeInfoCount (UINT *pCountTypeInfo)
virtual HRESULT __stdcall GetTypeInfo (UINT iTypeInfo, LCID, ITypeInfo **ppITypeInfo)
virtual HRESULT __stdcall GetIDsOfNames (const IID &iid, OLECHAR **arrayNames, UINT countNames, LCID, DISPID *arrayDispIDs)
virtual HRESULT __stdcall Invoke (DISPID dispidMember, const IID &iid, LCID, WORD wFlags, DISPPARAMS *pDispParams, VARIANT *pvarResult, EXCEPINFO *pExcepInfo, UINT *pArgErr)
QString catFieldName (void)
 Return the category name formatted for FieldVar.

Private Attributes

ITypeInfo * m_ITypeInfo
QPointer< QCocCommenceDBm_cmcDB
QPointer
< QCocCommenceConversation
m_cmcCV
QPointer< QCocCommenceCursorm_cursor
QPointer< QCocCommenceRowSetm_rs
QPointer< QCocCommenceQueryRowSetm_qrs
QPointer< QCocCommenceEditRowSetm_ers
QPointer< QCocCommenceAddRowSetm_ars
QPointer
< QCocCommenceDeleteRowSet
m_drs
QString m_meid
QString m_catName
QString m_keyField
long m_rowNumber
long m_editRC
long m_addRC
bool m_bof
bool m_eof
QStringList m_filter
QString m_filterJoin [7]
QStringList m_sort
QStringList m_colNameCache
QStringList m_colNameDefs
QStringList m_conNameDefs


Detailed Description

DumontDataSet Server Interface Implementation.

This class represents the DumontDataSet server class. This class gets instantiated for every DataSet instance requested. It supports a dual-interface meaning it can be interfaced (gotten to) through the ActiveX API and through the C++ direct interface. This means that each function is effectively implemented twice, once for the ActiveX API and once for the C++ interface. This may seem somewhat redundant, but, we got time, eh?

Definition at line 59 of file QCoDumontDSO.h.


Constructor & Destructor Documentation

QCosDumontDataSet::QCosDumontDataSet ( ITypeLib *  v_ITypeLib,
QPointer< QCocCommenceDB v_cmcDB,
QString  v_catName 
)

Definition at line 51 of file QCoDumontDataSet.cpp.

QCosDumontDataSet::~QCosDumontDataSet (  )  [virtual]

Definition at line 107 of file QCoDumontDataSet.cpp.


Member Function Documentation

HRESULT __stdcall QCosDumontDataSet::addConnectedColumn ( BSTR  v_conName,
BSTR  v_catName,
BSTR  v_fieldName 
) [virtual]

Definition at line 1086 of file QCoDumontDataSet.cpp.

void QCosDumontDataSet::addConnectedColumn ( QString  v_conName,
QString  v_catName,
QString  v_fieldName 
) [virtual]

Definition at line 605 of file QCoDumontDataSet.cpp.

HRESULT __stdcall QCosDumontDataSet::addFieldColumn ( BSTR  v_colName  )  [virtual]

Definition at line 1073 of file QCoDumontDataSet.cpp.

void QCosDumontDataSet::addFieldColumn ( QString  v_colName  )  [virtual]

Definition at line 594 of file QCoDumontDataSet.cpp.

long int QCosDumontDataSet::addRowCount ( void   )  [virtual]

Definition at line 424 of file QCoDumontDataSet.cpp.

long int QCosDumontDataSet::addRows ( void   )  [virtual]

Definition at line 529 of file QCoDumontDataSet.cpp.

void QCosDumontDataSet::addRows ( long int  v_addRC  )  [virtual]

Definition at line 521 of file QCoDumontDataSet.cpp.

void QCosDumontDataSet::addSort ( QString  v_sortLine  )  [virtual]

Definition at line 858 of file QCoDumontDataSet.cpp.

void QCosDumontDataSet::andFilter ( QString  filterLine  )  [virtual]

Definition at line 809 of file QCoDumontDataSet.cpp.

void QCosDumontDataSet::applyColumns ( void   )  [protected]

Definition at line 723 of file QCoDumontDataSet.cpp.

void QCosDumontDataSet::applyFilterLine ( int  v_ln  )  [protected]

Definition at line 749 of file QCoDumontDataSet.cpp.

void QCosDumontDataSet::applyFilterLines ( void   )  [protected]

Definition at line 761 of file QCoDumontDataSet.cpp.

void QCosDumontDataSet::applySortLines ( void   )  [protected]

Definition at line 827 of file QCoDumontDataSet.cpp.

QCocCommenceAddRowSet * QCosDumontDataSet::ars ( void   )  [virtual]

Definition at line 303 of file QCoDumontDataSet.cpp.

bool QCosDumontDataSet::bof ( void   )  [virtual]

Definition at line 482 of file QCoDumontDataSet.cpp.

QString QCosDumontDataSet::catFieldName ( void   )  [private]

Return the category name formatted for FieldVar.

This is a support function for the Key/Cfy/Var field functions. When selecting the categoryKey, categoryCfy, categoryVar fields, the category name is reduced to a "known" format consisting of an all-lower-case categoryName followed by "Key" "Cfy" or "Var" depending on which field was requested.

See also:
keyName, cfyName, varName

Definition at line 366 of file QCoDumontDataSet.cpp.

void QCosDumontDataSet::catName ( QString  v_catName  )  [virtual]

Definition at line 395 of file QCoDumontDataSet.cpp.

QString QCosDumontDataSet::catName ( void   )  [virtual]

Definition at line 389 of file QCoDumontDataSet.cpp.

QString QCosDumontDataSet::cfyName ( void   ) 

Return the catnameCfy field.

Definition at line 377 of file QCoDumontDataSet.cpp.

QCocCommenceConversation * QCosDumontDataSet::cmcCV ( void   )  [virtual]

Definition at line 225 of file QCoDumontDataSet.cpp.

QCocCommenceDB * QCosDumontDataSet::cmcDB ( void   )  [virtual]

Definition at line 198 of file QCoDumontDataSet.cpp.

int QCosDumontDataSet::colNumber ( QString  v_fieldName  )  [virtual]

Fetch the columnNumber of a field from the cursor

This routine returns the indexNumber of a column name within the Cursor or RowSet. It uses an internal cache so that once the column has been looked up through the cmcDB api it doesn't need to look it up again.

Definition at line 579 of file QCoDumontDataSet.cpp.

long QCosDumontDataSet::columnCount ( void   )  [virtual]

rowCount is a value derived from the current dataSet state. if the dataSet is in the cursor() state, then the rowCount is pulled from that. If the cursor() is in any one of the edit states (Edit, Query, Delete) then the rowCount is pulled from the appropriate RowSet object. Finally, if addRows is active (more than zero), then the add rows is added to the total row count.

Definition at line 401 of file QCoDumontDataSet.cpp.

QCocCommenceCursor * QCosDumontDataSet::cursor ( void   )  [virtual]

Definition at line 263 of file QCoDumontDataSet.cpp.

void QCosDumontDataSet::cv ( int  v_colNumber,
QString  v_fieldValue 
) [virtual]

Definition at line 660 of file QCoDumontDataSet.cpp.

QString QCosDumontDataSet::cv ( int  v_colNumber  )  [virtual]

Definition at line 647 of file QCoDumontDataSet.cpp.

HRESULT __stdcall QCosDumontDataSet::deleteRow ( long int *  v_ResultCode  )  [virtual]

Definition at line 1060 of file QCoDumontDataSet.cpp.

long QCosDumontDataSet::deleteRow ( void   )  [virtual]

Definition at line 535 of file QCoDumontDataSet.cpp.

HRESULT __stdcall QCosDumontDataSet::delVar ( OLECHAR *  v_fieldName,
OLECHAR *  v_varName 
) [virtual]

Definition at line 1137 of file QCoDumontDataSet.cpp.

void QCosDumontDataSet::delVar ( QString  v_fieldName,
QString  v_varName 
) [virtual]

Definition at line 628 of file QCoDumontDataSet.cpp.

QCocCommenceDeleteRowSet * QCosDumontDataSet::drs ( void   )  [virtual]

Definition at line 327 of file QCoDumontDataSet.cpp.

HRESULT __stdcall QCosDumontDataSet::dv ( OLECHAR *  v_fn  )  [virtual]

Definition at line 1215 of file QCoDumontDataSet.cpp.

void QCosDumontDataSet::dv ( QString  v_fieldName  )  [virtual]

Definition at line 713 of file QCoDumontDataSet.cpp.

long QCosDumontDataSet::editRowCount ( void   )  [virtual]

Definition at line 413 of file QCoDumontDataSet.cpp.

bool QCosDumontDataSet::eof ( void   )  [virtual]

Definition at line 488 of file QCoDumontDataSet.cpp.

QCocCommenceEditRowSet * QCosDumontDataSet::ers ( void   )  [virtual]

Definition at line 315 of file QCoDumontDataSet.cpp.

void QCosDumontDataSet::filter ( QString  filterLine  )  [virtual]

Definition at line 801 of file QCoDumontDataSet.cpp.

QString QCosDumontDataSet::filter ( void   )  [virtual]

Definition at line 796 of file QCoDumontDataSet.cpp.

HRESULT QCosDumontDataSet::filterClear ( void   )  [virtual]

Definition at line 781 of file QCoDumontDataSet.cpp.

HRESULT __stdcall QCosDumontDataSet::firstRow ( long int *  retVal  )  [virtual]

Definition at line 994 of file QCoDumontDataSet.cpp.

long int QCosDumontDataSet::firstRow ( void   )  [virtual]

Definition at line 449 of file QCoDumontDataSet.cpp.

void QCosDumontDataSet::fldVar ( QString  v_fieldName,
QString  v_varName,
QString  v_varValue 
) [virtual]

Definition at line 622 of file QCoDumontDataSet.cpp.

QString QCosDumontDataSet::fldVar ( QString  v_fieldName,
QString  v_varName 
) [virtual]

Definition at line 616 of file QCoDumontDataSet.cpp.

void QCosDumontDataSet::fv ( QString  v_fieldName,
QString  v_fieldValue 
) [virtual]

Definition at line 641 of file QCoDumontDataSet.cpp.

QString QCosDumontDataSet::fv ( QString  v_fieldName  )  [virtual]

Definition at line 635 of file QCoDumontDataSet.cpp.

HRESULT __stdcall QCosDumontDataSet::get_addRowCount ( long int *  retVal  )  [virtual]

Definition at line 976 of file QCoDumontDataSet.cpp.

HRESULT __stdcall QCosDumontDataSet::get_addRows ( long int *  v_addRC  )  [virtual]

Definition at line 1048 of file QCoDumontDataSet.cpp.

HRESULT __stdcall QCosDumontDataSet::get_bof ( VARIANT_BOOL *  retVal  )  [virtual]

Definition at line 1018 of file QCoDumontDataSet.cpp.

HRESULT __stdcall QCosDumontDataSet::get_catName ( BSTR *  pbstrOut  )  [virtual]

Definition at line 938 of file QCoDumontDataSet.cpp.

HRESULT __stdcall QCosDumontDataSet::get_columnCount ( long int *  retVal  )  [virtual]

Definition at line 964 of file QCoDumontDataSet.cpp.

HRESULT __stdcall QCosDumontDataSet::get_cv ( long  int,
OLECHAR **  v_cv 
) [virtual]

Definition at line 1167 of file QCoDumontDataSet.cpp.

HRESULT __stdcall QCosDumontDataSet::get_eof ( VARIANT_BOOL *  retVal  )  [virtual]

Definition at line 1024 of file QCoDumontDataSet.cpp.

HRESULT __stdcall QCosDumontDataSet::get_filter ( BSTR *  v_Result  )  [virtual]

Definition at line 1228 of file QCoDumontDataSet.cpp.

HRESULT __stdcall QCosDumontDataSet::get_fldVar ( OLECHAR *  v_fieldName,
OLECHAR *  v_varName,
OLECHAR **  v_varValue 
) [virtual]

Definition at line 1103 of file QCoDumontDataSet.cpp.

HRESULT __stdcall QCosDumontDataSet::get_fv ( OLECHAR *  v_fieldName,
OLECHAR **  v_fieldValue 
) [virtual]

Definition at line 1147 of file QCoDumontDataSet.cpp.

HRESULT __stdcall QCosDumontDataSet::get_isAdd ( VARIANT_BOOL *  retVal  )  [virtual]

Definition at line 1042 of file QCoDumontDataSet.cpp.

HRESULT __stdcall QCosDumontDataSet::get_isDirtyRow ( VARIANT_BOOL *  retVal  )  [virtual]

Definition at line 1030 of file QCoDumontDataSet.cpp.

HRESULT __stdcall QCosDumontDataSet::get_isDirtySet ( VARIANT_BOOL *  retVal  )  [virtual]

Definition at line 1036 of file QCoDumontDataSet.cpp.

HRESULT __stdcall QCosDumontDataSet::get_keyField ( BSTR *  pbstrOut  )  [virtual]

Definition at line 951 of file QCoDumontDataSet.cpp.

HRESULT __stdcall QCosDumontDataSet::get_openDataSet ( BSTR  v_catName,
BSTR  v_conName,
IDumontDataSet **  o_ds 
) [virtual]

Definition at line 1278 of file QCoDumontDataSet.cpp.

HRESULT __stdcall QCosDumontDataSet::get_openDataSetCalendar ( BSTR  v_catName,
BSTR  v_conName,
IDumontDataSetCalendar **  o_ds 
) [virtual]

Definition at line 1304 of file QCoDumontDataSet.cpp.

HRESULT __stdcall QCosDumontDataSet::get_openDataSetChange ( BSTR  v_catName,
BSTR  v_conName,
IDumontDataSetChange **  o_ds 
) [virtual]

Definition at line 1294 of file QCoDumontDataSet.cpp.

HRESULT __stdcall QCosDumontDataSet::get_rowCount ( long int *  retVal  )  [virtual]

Definition at line 970 of file QCoDumontDataSet.cpp.

HRESULT __stdcall QCosDumontDataSet::get_rowNumber ( long int *  retVal  )  [virtual]

Definition at line 982 of file QCoDumontDataSet.cpp.

HRESULT __stdcall QCosDumontDataSet::get_sort ( BSTR *  v_Result  )  [virtual]

Definition at line 1258 of file QCoDumontDataSet.cpp.

HRESULT __stdcall QCosDumontDataSet::get_vd ( OLECHAR *  v_fn,
double *  v_fv 
) [virtual]

Definition at line 1203 of file QCoDumontDataSet.cpp.

HRESULT __stdcall QCosDumontDataSet::get_vi ( OLECHAR *  v_fn,
long int *  v_fv 
) [virtual]

Definition at line 1191 of file QCoDumontDataSet.cpp.

HRESULT __stdcall QCosDumontDataSet::get_vt ( OLECHAR *  v_fn,
OLECHAR **  v_fv 
) [virtual]

Definition at line 1179 of file QCoDumontDataSet.cpp.

HRESULT __stdcall QCosDumontDataSet::GetIDsOfNames ( const IID iid,
OLECHAR **  arrayNames,
UINT  countNames,
LCID  ,
DISPID *  arrayDispIDs 
) [private, virtual]

Definition at line 1400 of file QCoDumontDataSet.cpp.

HRESULT __stdcall QCosDumontDataSet::GetTypeInfo ( UINT  iTypeInfo,
LCID  ,
ITypeInfo **  ppITypeInfo 
) [private, virtual]

Definition at line 1377 of file QCoDumontDataSet.cpp.

HRESULT __stdcall QCosDumontDataSet::GetTypeInfoCount ( UINT *  pCountTypeInfo  )  [private, virtual]

Definition at line 1367 of file QCoDumontDataSet.cpp.

virtual HRESULT __stdcall QCosDumontDataSet::InterfaceSupportsErrorInfo ( const IID riid  )  [inline, virtual]

Definition at line 275 of file QCoDumontDSO.h.

HRESULT __stdcall QCosDumontDataSet::Invoke ( DISPID  dispidMember,
const IID iid,
LCID  ,
WORD  wFlags,
DISPPARAMS *  pDispParams,
VARIANT *  pvarResult,
EXCEPINFO *  pExcepInfo,
UINT *  pArgErr 
) [private, virtual]

Definition at line 1427 of file QCoDumontDataSet.cpp.

bool QCosDumontDataSet::isAdd ( void   )  [virtual]

Definition at line 515 of file QCoDumontDataSet.cpp.

bool QCosDumontDataSet::isDirtyRow ( void   )  [virtual]

Definition at line 494 of file QCoDumontDataSet.cpp.

bool QCosDumontDataSet::isDirtySet ( void   )  [virtual]

Definition at line 504 of file QCoDumontDataSet.cpp.

QString QCosDumontDataSet::keyField ( void   ) 

Return the field used to uniquely identify rows.

See also:
keyField(QString);

Definition at line 354 of file QCoDumontDataSet.cpp.

void QCosDumontDataSet::keyField ( QString  v_fieldName  ) 

Set the field used to uniquely identify rows.

In Commence (or any database for that matter) at least one column must be defined to uniquely identify specific rows. This is generally referred to as the "Key" field. In Commence this can be any field, but it is usually the "Name" field. Commence on its own does not have a reliable method of uniquely identifying rows unless the Category has been defined as "No Duplicates". In some cases, especially phone book categories and calendar categories, having a dataset that does not allow duplicates is usually not viable. Commence does include some methods available through the API to fetch the RowID value for any item, but this same value is not available to the built-in filtering system so the value itself, while interesting, is quite useless in practical applications. Therefore another method must be provided for uniquely identifying rows, and this method usually consists of setting aside a field for the sole task of uniquely identifying rows.

See also:
keyField(void);

Definition at line 360 of file QCoDumontDataSet.cpp.

QString QCosDumontDataSet::keyName ( void   ) 

Return the catnameKey field.

Definition at line 371 of file QCoDumontDataSet.cpp.

HRESULT __stdcall QCosDumontDataSet::lastRow ( long int *  retVal  )  [virtual]

Definition at line 1012 of file QCoDumontDataSet.cpp.

long int QCosDumontDataSet::lastRow ( void   )  [virtual]

Definition at line 476 of file QCoDumontDataSet.cpp.

QString QCosDumontDataSet::meid ( void   )  [virtual]

Definition at line 339 of file QCoDumontDataSet.cpp.

HRESULT __stdcall QCosDumontDataSet::nextRow ( long int *  retVal  )  [virtual]

Definition at line 1006 of file QCoDumontDataSet.cpp.

long int QCosDumontDataSet::nextRow ( void   )  [virtual]

Definition at line 466 of file QCoDumontDataSet.cpp.

HRESULT __stdcall QCosDumontDataSet::NondelegatingQueryInterface ( const IID iid,
void **  ppv 
) [private, virtual]

Reimplemented from QCosUnknown.

Definition at line 1335 of file QCoDumontDataSet.cpp.

QCosDumontDataSet * QCosDumontDataSet::openDataSet ( QString  v_catName,
QString  v_conName 
) [virtual]

Definition at line 868 of file QCoDumontDataSet.cpp.

QCosDumontDataSetCalendar * QCosDumontDataSet::openDataSetCalendar ( QString  v_catName,
QString  v_conName 
) [virtual]

Definition at line 904 of file QCoDumontDataSet.cpp.

QCosDumontDataSetChange * QCosDumontDataSet::openDataSetChange ( QString  v_catName,
QString  v_conName 
) [virtual]

Definition at line 892 of file QCoDumontDataSet.cpp.

void QCosDumontDataSet::orFilter ( QString  filterLine  )  [virtual]

Definition at line 817 of file QCoDumontDataSet.cpp.

HRESULT __stdcall QCosDumontDataSet::post ( long int *  v_ResultCode  )  [virtual]

Definition at line 1066 of file QCoDumontDataSet.cpp.

long QCosDumontDataSet::post ( long int  v_flag = 0  )  [virtual]

Definition at line 541 of file QCoDumontDataSet.cpp.

HRESULT __stdcall QCosDumontDataSet::prevRow ( long int *  retVal  )  [virtual]

Definition at line 1000 of file QCoDumontDataSet.cpp.

long int QCosDumontDataSet::prevRow ( void   )  [virtual]

Definition at line 456 of file QCoDumontDataSet.cpp.

HRESULT __stdcall QCosDumontDataSet::put_addRows ( long int  v_addRC  )  [virtual]

Definition at line 1054 of file QCoDumontDataSet.cpp.

HRESULT __stdcall QCosDumontDataSet::put_addSort ( BSTR  v_sortLine  )  [virtual]

Definition at line 1270 of file QCoDumontDataSet.cpp.

HRESULT __stdcall QCosDumontDataSet::put_andFilter ( BSTR  v_filterLine  )  [virtual]

Definition at line 1240 of file QCoDumontDataSet.cpp.

HRESULT __stdcall QCosDumontDataSet::put_catName ( BSTR  bstrIn  )  [virtual]

Definition at line 945 of file QCoDumontDataSet.cpp.

HRESULT __stdcall QCosDumontDataSet::put_cv ( long  int,
OLECHAR *  v_cv 
) [virtual]

Definition at line 1173 of file QCoDumontDataSet.cpp.

HRESULT __stdcall QCosDumontDataSet::put_filter ( BSTR  v_filterLine  )  [virtual]

Definition at line 1234 of file QCoDumontDataSet.cpp.

HRESULT __stdcall QCosDumontDataSet::put_fldVar ( OLECHAR *  v_fieldName,
OLECHAR *  v_varName,
OLECHAR *  v_varValue 
) [virtual]

Definition at line 1122 of file QCoDumontDataSet.cpp.

HRESULT __stdcall QCosDumontDataSet::put_fv ( OLECHAR *  v_fieldName,
OLECHAR *  v_fieldValue 
) [virtual]

Definition at line 1157 of file QCoDumontDataSet.cpp.

HRESULT __stdcall QCosDumontDataSet::put_keyField ( BSTR  bstrIn  )  [virtual]

Definition at line 958 of file QCoDumontDataSet.cpp.

HRESULT __stdcall QCosDumontDataSet::put_orFilter ( BSTR  v_filterLine  )  [virtual]

Definition at line 1246 of file QCoDumontDataSet.cpp.

HRESULT __stdcall QCosDumontDataSet::put_rowNumber ( long int  value  )  [virtual]

Definition at line 988 of file QCoDumontDataSet.cpp.

HRESULT __stdcall QCosDumontDataSet::put_sort ( BSTR  v_sortLine  )  [virtual]

Definition at line 1264 of file QCoDumontDataSet.cpp.

HRESULT __stdcall QCosDumontDataSet::put_vd ( OLECHAR *  v_fn,
double  v_fv 
) [virtual]

Definition at line 1209 of file QCoDumontDataSet.cpp.

HRESULT __stdcall QCosDumontDataSet::put_vi ( OLECHAR *  v_fn,
long int  v_fv 
) [virtual]

Definition at line 1197 of file QCoDumontDataSet.cpp.

HRESULT __stdcall QCosDumontDataSet::put_vt ( OLECHAR *  v_fn,
OLECHAR *  v_fv 
) [virtual]

Definition at line 1185 of file QCoDumontDataSet.cpp.

QCocCommenceQueryRowSet * QCosDumontDataSet::qrs ( void   )  [virtual]

Definition at line 291 of file QCoDumontDataSet.cpp.

void QCosDumontDataSet::reopen ( void   )  [protected]

Definition at line 238 of file QCoDumontDataSet.cpp.

long QCosDumontDataSet::rowCount ( void   )  [virtual]

Definition at line 407 of file QCoDumontDataSet.cpp.

long int QCosDumontDataSet::rowNumber ( long int  v_rowNumber  )  [virtual]

Definition at line 436 of file QCoDumontDataSet.cpp.

long int QCosDumontDataSet::rowNumber ( void   )  [virtual]

Definition at line 430 of file QCoDumontDataSet.cpp.

QCocCommenceRowSet * QCosDumontDataSet::rs ( void   )  [virtual]

Definition at line 273 of file QCoDumontDataSet.cpp.

void QCosDumontDataSet::sort ( QString  sortLine  )  [virtual]

Definition at line 851 of file QCoDumontDataSet.cpp.

QString QCosDumontDataSet::sort ( void   )  [virtual]

Definition at line 845 of file QCoDumontDataSet.cpp.

HRESULT __stdcall QCosDumontDataSet::sortClear ( void   )  [virtual]

Definition at line 1252 of file QCoDumontDataSet.cpp.

HRESULT __stdcall QCosDumontDataSet::test ( void   )  [virtual]

Definition at line 136 of file QCoDumontDataSet.cpp.

QString QCosDumontDataSet::varName ( void   ) 

Return the catnameVar field.

Definition at line 383 of file QCoDumontDataSet.cpp.

void QCosDumontDataSet::vd ( QString  v_fieldName,
double  v_fieldValue 
) [virtual]

Definition at line 707 of file QCoDumontDataSet.cpp.

double QCosDumontDataSet::vd ( QString  v_fieldName  )  [virtual]

Definition at line 701 of file QCoDumontDataSet.cpp.

void QCosDumontDataSet::vi ( QString  v_fieldName,
long int  v_fieldValue 
) [virtual]

Definition at line 695 of file QCoDumontDataSet.cpp.

long int QCosDumontDataSet::vi ( QString  v_fieldName  )  [virtual]

Definition at line 689 of file QCoDumontDataSet.cpp.

void QCosDumontDataSet::vt ( QString  v_fieldName,
QString  v_fieldValue 
) [virtual]

Definition at line 683 of file QCoDumontDataSet.cpp.

QString QCosDumontDataSet::vt ( QString  v_fieldName  )  [virtual]

Definition at line 677 of file QCoDumontDataSet.cpp.


Member Data Documentation

Definition at line 359 of file QCoDumontDSO.h.

Definition at line 350 of file QCoDumontDSO.h.

bool QCosDumontDataSet::m_bof [private]

Definition at line 360 of file QCoDumontDSO.h.

QString QCosDumontDataSet::m_catName [private]

Definition at line 355 of file QCoDumontDSO.h.

Definition at line 345 of file QCoDumontDSO.h.

Definition at line 344 of file QCoDumontDSO.h.

QStringList QCosDumontDataSet::m_colNameCache [private]

Definition at line 368 of file QCoDumontDSO.h.

QStringList QCosDumontDataSet::m_colNameDefs [private]

Definition at line 369 of file QCoDumontDSO.h.

QStringList QCosDumontDataSet::m_conNameDefs [private]

Definition at line 370 of file QCoDumontDSO.h.

Definition at line 346 of file QCoDumontDSO.h.

Definition at line 351 of file QCoDumontDSO.h.

Definition at line 358 of file QCoDumontDSO.h.

bool QCosDumontDataSet::m_eof [private]

Definition at line 361 of file QCoDumontDSO.h.

Definition at line 349 of file QCoDumontDSO.h.

QStringList QCosDumontDataSet::m_filter [private]

Definition at line 362 of file QCoDumontDSO.h.

QString QCosDumontDataSet::m_filterJoin[7] [private]

Definition at line 363 of file QCoDumontDSO.h.

ITypeInfo* QCosDumontDataSet::m_ITypeInfo [private]

Definition at line 341 of file QCoDumontDSO.h.

QString QCosDumontDataSet::m_keyField [private]

Definition at line 356 of file QCoDumontDSO.h.

QString QCosDumontDataSet::m_meid [private]

Definition at line 354 of file QCoDumontDSO.h.

Definition at line 348 of file QCoDumontDSO.h.

Definition at line 357 of file QCoDumontDSO.h.

Definition at line 347 of file QCoDumontDSO.h.

QStringList QCosDumontDataSet::m_sort [private]

Definition at line 364 of file QCoDumontDSO.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