windows-nt/Source/XPSP1/NT/inetsrv/query/h/querble.hxx

52 lines
1.4 KiB
C++
Raw Normal View History

2020-09-26 03:20:57 -05:00
//+---------------------------------------------------------------------------
//
// Copyright (C) 1991-1992, Microsoft Corporation.
//
// File: QUERBLE.HXX
//
// Contents: Queriable Object
//
// Classes: CQueriable
//
// History: 14-Jul-92 MikeHew Created
//
//----------------------------------------------------------------------------
#pragma once
class CKey;
class CKeyArray;
//+---------------------------------------------------------------------------
//
// Class: CQueriable
//
// Purpose: Pure virtual class for all queriable objects
//
// Interface: QueryCursor - Obtain a cursor
//
// History: 14-Jul-92 MikeHew Created
//
// Notes: Inherited by CIndex and applications which highlight
// query hits.
//
//----------------------------------------------------------------------------
class CQueriable
{
public:
virtual COccCursor * QueryCursor( const CKey * pkey,
BOOL isRange,
ULONG & cMaxNodes ) = 0;
virtual COccCursor * QueryRangeCursor( const CKey * pkeyBegin,
const CKey * pkeyEnd,
ULONG & cMaxNodes ) = 0;
virtual COccCursor * QuerySynCursor( CKeyArray & keyArr,
BOOL isRange,
ULONG & cMaxNodes ) = 0;
};