⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 sodatapump.cpp

📁 SuperMap的网络分析示范源码
💻 CPP
字号:
// 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.


#include "stdafx.h"
#include "sodatapump.h"

// Dispatch interfaces referenced by this interface
#include "soimportparams.h"
#include "soExportParams.h"
#include "sostrings.h"
#include "soPJCoordSys.h"


/////////////////////////////////////////////////////////////////////////////
// CsoDataPump properties

CsoImportParams CsoDataPump::GetDataImportParams()
{
	LPDISPATCH pDispatch;
	GetProperty(0x17, VT_DISPATCH, (void*)&pDispatch);
	return CsoImportParams(pDispatch);
}

void CsoDataPump::SetDataImportParams(LPDISPATCH propVal)
{
	SetProperty(0x17, VT_DISPATCH, propVal);
}

CsoExportParams CsoDataPump::GetDataExportParams()
{
	LPDISPATCH pDispatch;
	GetProperty(0x18, VT_DISPATCH, (void*)&pDispatch);
	return CsoExportParams(pDispatch);
}

void CsoDataPump::SetDataExportParams(LPDISPATCH propVal)
{
	SetProperty(0x18, VT_DISPATCH, propVal);
}

/////////////////////////////////////////////////////////////////////////////
// CsoDataPump operations

BOOL CsoDataPump::Import()
{
	BOOL result;
	InvokeHelper(0x19, DISPATCH_METHOD, VT_BOOL, (void*)&result, NULL);
	return result;
}

BOOL CsoDataPump::Export()
{
	BOOL result;
	InvokeHelper(0x1a, DISPATCH_METHOD, VT_BOOL, (void*)&result, NULL);
	return result;
}

CsoStrings CsoDataPump::RetrieveLayerInfo(LPCTSTR strFileName, long nFileType)
{
	LPDISPATCH pDispatch;
	static BYTE parms[] =
		VTS_BSTR VTS_I4;
	InvokeHelper(0x1b, DISPATCH_METHOD, VT_DISPATCH, (void*)&pDispatch, parms,
		strFileName, nFileType);
	return CsoStrings(pDispatch);
}

CsoPJCoordSys CsoDataPump::RetrievePJCoordSys(LPCTSTR strFileName, long nFileType)
{
	LPDISPATCH pDispatch;
	static BYTE parms[] =
		VTS_BSTR VTS_I4;
	InvokeHelper(0x1c, DISPATCH_METHOD, VT_DISPATCH, (void*)&pDispatch, parms,
		strFileName, nFileType);
	return CsoPJCoordSys(pDispatch);
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -