| title | IRowsetImpl Class | Microsoft Docs | |||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ms.custom | ||||||||||||||
| ms.date | 11/04/2016 | |||||||||||||
| ms.reviewer | ||||||||||||||
| ms.suite | ||||||||||||||
| ms.technology |
|
|||||||||||||
| ms.tgt_pltfrm | ||||||||||||||
| ms.topic | article | |||||||||||||
| f1_keywords |
|
|||||||||||||
| dev_langs |
|
|||||||||||||
| helpviewer_keywords |
|
|||||||||||||
| ms.assetid | 6a9189af-7556-45b1-adcb-9d62bb36704c | |||||||||||||
| caps.latest.revision | 9 | |||||||||||||
| author | mikeblome | |||||||||||||
| ms.author | mblome | |||||||||||||
| manager | ghogen | |||||||||||||
| translation.priority.ht |
|
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
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.
| AddRefRows | Adds a reference count to an existing row handle. |
| CreateRow | Called by GetNextRows to allocate a new HROW. Not called directly by user. |
| GetData | Retrieves data from the rowset's copy of the row. |
| GetDBStatus | Returns the status for the specified field. |
| GetNextRows | Fetches rows sequentially, remembering the previous position. |
| IRowsetImpl | The constructor. Not called directly by user. |
| RefRows | Called by AddRefRows and ReleaseRows. Not called directly by user. |
| ReleaseRows | Releases rows. |
| RestartPosition | Repositions the next fetch position to its initial position; that is, its position when the rowset was first created. |
| SetDBStatus | Sets the status flags for the specified field. |
| m_bCanFetchBack | Indicates whether a provider supports backward fetching. |
| m_bCanScrollBack | Indicates whether a provider can have its cursor scroll backwards. |
| m_bReset | Indicates whether a provider has reset its cursor position. This has special meaning when scrolling backwards or fetching backwards in GetNextRows. |
| m_iRowset | An index to the rowset, representing the cursor. |
| m_rgRowHandles | A list of row handles. |
IRowset is the base rowset interface.
Header: atldb.h
OLE DB Provider Templates
OLE DB Provider Template Architecture