Source code of Windows XP (NT5)
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

  1. //+---------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. // Copyright (C) Microsoft Corporation, 1995.
  5. //
  6. // File: RowCache.hxx
  7. //
  8. // Contents: Forward-only cache
  9. //
  10. // Classes: CMiniRowCache
  11. //
  12. // History: 05-Jun-95 KyleP Created
  13. //
  14. //----------------------------------------------------------------------------
  15. #pragma once
  16. #include "pcache.hxx"
  17. //+---------------------------------------------------------------------------
  18. //
  19. // Class: CMiniRowCache
  20. //
  21. // Purpose: Row cache that supports forward-only access.
  22. //
  23. // History: 05-Jun-95 KyleP Created.
  24. //
  25. //----------------------------------------------------------------------------
  26. class CMiniRowCache : public PMiniRowCache
  27. {
  28. public:
  29. CMiniRowCache( int Index,
  30. IRowset * pRowset,
  31. unsigned cBindings,
  32. DBBINDING * pBindings,
  33. unsigned cbMaxLen );
  34. ~CMiniRowCache() {};
  35. //
  36. // Iteration
  37. //
  38. ENext Next( int iDir = 1 );
  39. };