- Visual C++源码
- Visual Basic源码
- C++ Builder源码
- Java源码
- Delphi源码
- C/C++源码
- PHP源码
- Perl源码
- Python源码
- Asm源码
- Pascal源码
- Borland C++源码
- Others源码
- SQL源码
- VBScript源码
- JavaScript源码
- ASP/ASPX源码
- C#源码
- Flash/ActionScript源码
- matlab源码
- PowerBuilder源码
- LabView源码
- Flex源码
- MathCAD源码
- VBA源码
- IDL源码
- Lisp/Scheme源码
- VHDL源码
- Objective-C源码
- Fortran源码
- tcl/tk源码
- QT源码
modataconnection.h
资源名称:MoLecture.rar [点击查看]
上传用户:qinfarui
上传日期:2022-08-10
资源大小:362k
文件大小:2k
源码类别:
GIS编程
开发平台:
Visual C++
- #if !defined(AFX_MODATACONNECTION_H__ECAE4C16_A368_468B_9D91_9C8CCFF36425__INCLUDED_)
- #define AFX_MODATACONNECTION_H__ECAE4C16_A368_468B_9D91_9C8CCFF36425__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;
- /////////////////////////////////////////////////////////////////////////////
- // CMoDataConnection wrapper class
- class CMoDataConnection : public COleDispatchDriver
- {
- public:
- CMoDataConnection() {} // Calls COleDispatchDriver default constructor
- CMoDataConnection(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {}
- CMoDataConnection(const CMoDataConnection& dispatchSrc) : COleDispatchDriver(dispatchSrc) {}
- // Attributes
- public:
- BOOL GetConnected();
- void SetConnected(BOOL);
- CString GetDatabase();
- void SetDatabase(LPCTSTR);
- CString GetServer();
- void SetServer(LPCTSTR);
- CString GetUser();
- void SetUser(LPCTSTR);
- CString GetPassword();
- void SetPassword(LPCTSTR);
- LPDISPATCH GetGeoDatasets();
- void SetGeoDatasets(LPDISPATCH);
- long GetConnection();
- void SetConnection(long);
- long GetConnectError();
- void SetConnectError(long);
- long GetExtendedError();
- void SetExtendedError(long);
- CString GetExtendedErrorString();
- void SetExtendedErrorString(LPCTSTR);
- // Operations
- public:
- BOOL Connect();
- void Disconnect();
- CMoGeoDataset FindGeoDataset(LPCTSTR Name);
- CMoGeoDataset AddGeoDataset(LPCTSTR Name, long shapeType, LPDISPATCH TableDesc, const VARIANT& HasZ, const VARIANT& HasMeasure);
- BOOL DeleteGeoDataset(LPCTSTR Name);
- LPDISPATCH FindCoordinateSystem(LPCTSTR Name);
- void ClearConnectError();
- LPDISPATCH FindArcInfoCoordinateSystem(LPCTSTR Name);
- };
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_MODATACONNECTION_H__ECAE4C16_A368_468B_9D91_9C8CCFF36425__INCLUDED_)