You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
48 lines
1.1 KiB
48 lines
1.1 KiB
//+---------------------------------------------------------------------------
|
|
//
|
|
// Microsoft Windows
|
|
// Copyright (C) Microsoft Corporation, 1995.
|
|
//
|
|
// File: RowCache.hxx
|
|
//
|
|
// Contents: Forward-only cache
|
|
//
|
|
// Classes: CMiniRowCache
|
|
//
|
|
// History: 05-Jun-95 KyleP Created
|
|
//
|
|
//----------------------------------------------------------------------------
|
|
|
|
#pragma once
|
|
|
|
#include "pcache.hxx"
|
|
|
|
//+---------------------------------------------------------------------------
|
|
//
|
|
// Class: CMiniRowCache
|
|
//
|
|
// Purpose: Row cache that supports forward-only access.
|
|
//
|
|
// History: 05-Jun-95 KyleP Created.
|
|
//
|
|
//----------------------------------------------------------------------------
|
|
|
|
class CMiniRowCache : public PMiniRowCache
|
|
{
|
|
public:
|
|
|
|
CMiniRowCache( int Index,
|
|
IRowset * pRowset,
|
|
unsigned cBindings,
|
|
DBBINDING * pBindings,
|
|
unsigned cbMaxLen );
|
|
|
|
~CMiniRowCache() {};
|
|
|
|
//
|
|
// Iteration
|
|
//
|
|
|
|
ENext Next( int iDir = 1 );
|
|
};
|
|
|