IRowsetImpl Class
Provides an implementation of the IRowset interface.
template <
class T,
class RowsetInterface,
class RowClass = CSimpleRow,
class MapClass = CAtlMap <
RowClass::KeyType,
RowClass*
>
>
class ATL_NO_VTABLE IRowsetImpl : public RowsetInterface
Parameters
T
Your class, derived from IRowsetImpl.RowsetInterface
A class derived from IRowsetImpl.RowClass
Storage unit for the HROW.MapClass
Storage unit for all row handles held by the provider.
Members
Methods
Adds a reference count to an existing row handle. |
|
Called by GetNextRows to allocate a new HROW. Not called directly by user. |
|
Retrieves data from the rowset's copy of the row. |
|
Returns the status for the specified field. |
|
Fetches rows sequentially, remembering the previous position. |
|
The constructor. Not called directly by user. |
|
Called by AddRefRows and ReleaseRows. Not called directly by user. |
|
Releases rows. |
|
Repositions the next fetch position to its initial position; that is, its position when the rowset was first created. |
|
Sets the status flags for the specified field. |
Data Members
Indicates whether a provider supports backward fetching. |
|
Indicates whether a provider can have its cursor scroll backwards. |
|
Indicates whether a provider has reset its cursor position. This has special meaning when scrolling backwards or fetching backwards in GetNextRows. |
|
An index to the rowset, representing the cursor. |
|
A list of row handles. |
Remarks
IRowset is the base rowset interface.
Requirements
Header: atldb.h