moplacelocator.h
资源名称:MoLecture.rar [点击查看]
上传用户:qinfarui
上传日期:2022-08-10
资源大小:362k
文件大小:2k
源码类别:
GIS编程
开发平台:
Visual C++
- #if !defined(AFX_MOPLACELOCATOR_H__30522D95_4648_4DD0_98E5_75B2CEB7BC8C__INCLUDED_)
- #define AFX_MOPLACELOCATOR_H__30522D95_4648_4DD0_98E5_75B2CEB7BC8C__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- // Machine generated IDispatch wrapper class(es) created by Microsoft Visual C++
- // NOTE: Do not modify the contents of this file. If this class is regenerated by
- // Microsoft Visual C++, your modifications will be overwritten.
- // Dispatch interfaces referenced by this interface
- class CMoGeoDataset;
- class CMoPoints;
- class CMoStrings;
- /////////////////////////////////////////////////////////////////////////////
- // CMoPlaceLocator wrapper class
- class CMoPlaceLocator : public COleDispatchDriver
- {
- public:
- CMoPlaceLocator() {} // Calls COleDispatchDriver default constructor
- CMoPlaceLocator(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {}
- CMoPlaceLocator(const CMoPlaceLocator& dispatchSrc) : COleDispatchDriver(dispatchSrc) {}
- // Attributes
- public:
- BOOL GetIndexed();
- void SetIndexed(BOOL);
- CMoGeoDataset GetPlaceNameTable();
- void SetPlaceNameTable(LPDISPATCH);
- // Operations
- public:
- BOOL BuildIndex(LPCTSTR Field, BOOL force);
- CMoPoints Locate(LPCTSTR placeName);
- CMoStrings FindApproximateMatches(LPCTSTR placeName);
- CMoStrings FindAllPlaceNames(LPCTSTR prefix);
- };
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_MOPLACELOCATOR_H__30522D95_4648_4DD0_98E5_75B2CEB7BC8C__INCLUDED_)