morecordset.h
上传用户:qinfarui
上传日期:2022-08-10
资源大小:362k
文件大小:2k
源码类别:

GIS编程

开发平台:

Visual C++

  1. #if !defined(AFX_MORECORDSET_H__6D74DE1E_DDC0_47B4_A455_33A7D0907238__INCLUDED_)
  2. #define AFX_MORECORDSET_H__6D74DE1E_DDC0_47B4_A455_33A7D0907238__INCLUDED_
  3. #if _MSC_VER > 1000
  4. #pragma once
  5. #endif // _MSC_VER > 1000
  6. // Machine generated IDispatch wrapper class(es) created by Microsoft Visual C++
  7. // NOTE: Do not modify the contents of this file.  If this class is regenerated by
  8. //  Microsoft Visual C++, your modifications will be overwritten.
  9. // Dispatch interfaces referenced by this interface
  10. class CMoFields;
  11. class CMoTableDesc;
  12. class CMoStatistics;
  13. class CMoGeoDataset;
  14. /////////////////////////////////////////////////////////////////////////////
  15. // CMoRecordset wrapper class
  16. class CMoRecordset : public COleDispatchDriver
  17. {
  18. public:
  19. CMoRecordset() {} // Calls COleDispatchDriver default constructor
  20. CMoRecordset(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {}
  21. CMoRecordset(const CMoRecordset& dispatchSrc) : COleDispatchDriver(dispatchSrc) {}
  22. // Attributes
  23. public:
  24. CMoFields GetFields();
  25. void SetFields(LPDISPATCH);
  26. BOOL GetEof();
  27. void SetEof(BOOL);
  28. long GetCount();
  29. void SetCount(long);
  30. long GetEditMode();
  31. void SetEditMode(long);
  32. BOOL GetUpdatable();
  33. void SetUpdatable(BOOL);
  34. CMoTableDesc GetTableDesc();
  35. void SetTableDesc(LPDISPATCH);
  36. BOOL GetAutoFlush();
  37. void SetAutoFlush(BOOL);
  38. BOOL GetSupportsTransactions();
  39. void SetSupportsTransactions(BOOL);
  40. // Operations
  41. public:
  42. void MoveFirst();
  43. void MoveNext();
  44. void MovePrevious();
  45. CMoStatistics CalculateStatistics(LPCTSTR FieldName);
  46. void Delete();
  47. void Edit();
  48. void AddNew();
  49. void Update();
  50. void CancelUpdate();
  51. void StopEditing();
  52. CMoGeoDataset Export(LPCTSTR OutName, const VARIANT& OutCoordSys);
  53. void StartTransaction();
  54. void RollbackTransaction();
  55. void CommitTransaction();
  56. };
  57. //{{AFX_INSERT_LOCATION}}
  58. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  59. #endif // !defined(AFX_MORECORDSET_H__6D74DE1E_DDC0_47B4_A455_33A7D0907238__INCLUDED_)