Location:
D32DBMS.H
Link against: edbms.lib
class TDbColSetIter;
Provides a useful way to iterate over the contents of a column set.
Defined in TDbColSetIter
:
Col()
, TDbColSetIter()
, operator *()
, operator TAny *()
, operator++()
, operator++()
, operator->()
IMPORT_C TDbColSetIter(const CDbColSet &aColSet);
Constructs a column set iterator over a column set. The iterator now references the first column in the set.
|
inline const TDbCol &operator *() const;
Dereferences the iterator on the current column definition.
|
inline const TDbCol *operator->() const;
Gets a member of the currently referenced column definition. This enables the use of the following constructs:
if (iter->iType==EDbColText && iter->iMaxLength<50)
|
IMPORT_C TDbColSetIter &operator++();
Moves the iterator to the next column in the set -- post increment operator.
Note that this is implemented in terms of the pre-increment operator, and is less efficient.
|
inline TDbColSetIter operator++(TInt);
Moves the iterator to the next column in the set post increment operator.
Note that this is implemented in terms of the pre-increment operator, and is less efficient.
|
|
inline TDbColNo Col() const;
Returns a column ordinal in the set for the currently referenced column definition.
|