Skip to content

Latest commit

 

History

History
103 lines (89 loc) · 3.62 KB

File metadata and controls

103 lines (89 loc) · 3.62 KB
title IRowsetImpl Class | Microsoft Docs
ms.custom
ms.date 11/04/2016
ms.reviewer
ms.suite
ms.technology
cpp-windows
ms.tgt_pltfrm
ms.topic article
f1_keywords
IRowsetImpl
dev_langs
C++
helpviewer_keywords
IRowsetImpl class
ms.assetid 6a9189af-7556-45b1-adcb-9d62bb36704c
caps.latest.revision 9
author mikeblome
ms.author mblome
manager ghogen
translation.priority.ht
cs-cz
de-de
es-es
fr-fr
it-it
ja-jp
ko-kr
pl-pl
pt-br
ru-ru
tr-tr
zh-cn
zh-tw

IRowsetImpl Class

Provides an implementation of the IRowset interface.

Syntax

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

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.

Data Members

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.

Remarks

IRowset is the base rowset interface.

Requirements

Header: atldb.h

See Also

OLE DB Provider Templates
OLE DB Provider Template Architecture