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

GIS编程

开发平台:

Visual C++

  1. #if !defined(AFX_MOMAPLAYER_H__C554E3B4_2A7B_4E92_B119_905D3DBE7124__INCLUDED_)
  2. #define AFX_MOMAPLAYER_H__C554E3B4_2A7B_4E92_B119_905D3DBE7124__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 CMoRectangle;
  11. class CMoRecordset;
  12. class CMoSymbol;
  13. class CMoGeoDataset;
  14. class CMoStrings;
  15. /////////////////////////////////////////////////////////////////////////////
  16. // CMoMapLayer wrapper class
  17. class CMoMapLayer : public COleDispatchDriver
  18. {
  19. public:
  20. CMoMapLayer() {} // Calls COleDispatchDriver default constructor
  21. CMoMapLayer(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {}
  22. CMoMapLayer(const CMoMapLayer& dispatchSrc) : COleDispatchDriver(dispatchSrc) {}
  23. // Attributes
  24. public:
  25. CString GetName();
  26. void SetName(LPCTSTR);
  27. CMoRectangle GetExtent();
  28. void SetExtent(LPDISPATCH);
  29. BOOL GetVisible();
  30. void SetVisible(BOOL);
  31. CMoRecordset GetRecords();
  32. void SetRecords(LPDISPATCH);
  33. CMoSymbol GetSymbol();
  34. void SetSymbol(LPDISPATCH);
  35. CMoGeoDataset GetGeoDataset();
  36. void SetGeoDataset(LPDISPATCH);
  37. long GetLayerType();
  38. void SetLayerType(long);
  39. CMoRectangle GetAreaOfInterest();
  40. void SetAreaOfInterest(LPDISPATCH);
  41. LPDISPATCH GetRenderer();
  42. void SetRenderer(LPDISPATCH);
  43. CString GetTag();
  44. void SetTag(LPCTSTR);
  45. long GetShapeType();
  46. void SetShapeType(long);
  47. BOOL GetValid();
  48. void SetValid(BOOL);
  49. BOOL GetIndexed();
  50. void SetIndexed(BOOL);
  51. VARIANT GetCoordinateSystem();
  52. void SetCoordinateSystem(const VARIANT&);
  53. VARIANT GetGeographicTransformation();
  54. void SetGeographicTransformation(const VARIANT&);
  55. double GetDensificationTolerance();
  56. void SetDensificationTolerance(double);
  57. VARIANT GetFilterShape();
  58. void SetFilterShape(const VARIANT&);
  59. long GetFilterOperator();
  60. void SetFilterOperator(long);
  61. CString GetFilterExpression();
  62. void SetFilterExpression(LPCTSTR);
  63. CMoStrings GetFilterFields();
  64. void SetFilterFields(LPDISPATCH);
  65. long GetFilterOrder();
  66. void SetFilterOrder(long);
  67. // Operations
  68. public:
  69. CMoRecordset SearchExpression(LPCTSTR expression);
  70. BOOL AddRelate(LPCTSTR toField, LPDISPATCH Table, LPCTSTR fromField, const VARIANT& CheckFields);
  71. void RemoveRelates();
  72. CMoRecordset SearchByDistance(LPDISPATCH shape, double distance, LPCTSTR expression);
  73. CMoRecordset SearchShape(LPDISPATCH shape, long searchMethod, LPCTSTR expression);
  74. BOOL BuildIndex(BOOL force);
  75. };
  76. //{{AFX_INSERT_LOCATION}}
  77. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  78. #endif // !defined(AFX_MOMAPLAYER_H__C554E3B4_2A7B_4E92_B119_905D3DBE7124__INCLUDED_)