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

📄 sodatasetvector.cpp

📁 SuperMap的网络分析示范源码
💻 CPP
📖 第 1 页 / 共 2 页
字号:
// 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 "sodatasetvector.h"

// Dispatch interfaces referenced by this interface
#include "sorect.h"
#include "sodataset.h"
#include "sodynamiceventlocator.h"
#include "sodatasetinfo.h"
#include "sorecordset.h"
#include "sofieldinfo.h"
#include "sofieldinfos.h"


/////////////////////////////////////////////////////////////////////////////
// CsoDatasetVector properties

BOOL CsoDatasetVector::GetCanUpdate()
{
	BOOL result;
	GetProperty(0x1, VT_BOOL, (void*)&result);
	return result;
}

void CsoDatasetVector::SetCanUpdate(BOOL propVal)
{
	SetProperty(0x1, VT_BOOL, propVal);
}

CsoRect CsoDatasetVector::GetBounds()
{
	LPDISPATCH pDispatch;
	GetProperty(0x2, VT_DISPATCH, (void*)&pDispatch);
	return CsoRect(pDispatch);
}

void CsoDatasetVector::SetBounds(LPDISPATCH propVal)
{
	SetProperty(0x2, VT_DISPATCH, propVal);
}

DATE CsoDatasetVector::GetDateCreated()
{
	DATE result;
	GetProperty(0x3, VT_DATE, (void*)&result);
	return result;
}

void CsoDatasetVector::SetDateCreated(DATE propVal)
{
	SetProperty(0x3, VT_DATE, propVal);
}

DATE CsoDatasetVector::GetDateLastUpdated()
{
	DATE result;
	GetProperty(0x4, VT_DATE, (void*)&result);
	return result;
}

void CsoDatasetVector::SetDateLastUpdated(DATE propVal)
{
	SetProperty(0x4, VT_DATE, propVal);
}

CString CsoDatasetVector::GetName()
{
	CString result;
	GetProperty(0x5, VT_BSTR, (void*)&result);
	return result;
}

void CsoDatasetVector::SetName(LPCTSTR propVal)
{
	SetProperty(0x5, VT_BSTR, propVal);
}

long CsoDatasetVector::GetType()
{
	long result;
	GetProperty(0x6, VT_I4, (void*)&result);
	return result;
}

void CsoDatasetVector::SetType(long propVal)
{
	SetProperty(0x6, VT_I4, propVal);
}

BOOL CsoDatasetVector::GetVector()
{
	BOOL result;
	GetProperty(0x7, VT_BOOL, (void*)&result);
	return result;
}

void CsoDatasetVector::SetVector(BOOL propVal)
{
	SetProperty(0x7, VT_BOOL, propVal);
}

CString CsoDatasetVector::GetDataSourceAlias()
{
	CString result;
	GetProperty(0x8, VT_BSTR, (void*)&result);
	return result;
}

void CsoDatasetVector::SetDataSourceAlias(LPCTSTR propVal)
{
	SetProperty(0x8, VT_BSTR, propVal);
}

CString CsoDatasetVector::GetDescription()
{
	CString result;
	GetProperty(0x9, VT_BSTR, (void*)&result);
	return result;
}

void CsoDatasetVector::SetDescription(LPCTSTR propVal)
{
	SetProperty(0x9, VT_BSTR, propVal);
}

double CsoDatasetVector::GetMaxZ()
{
	double result;
	GetProperty(0xa, VT_R8, (void*)&result);
	return result;
}

void CsoDatasetVector::SetMaxZ(double propVal)
{
	SetProperty(0xa, VT_R8, propVal);
}

double CsoDatasetVector::GetMinZ()
{
	double result;
	GetProperty(0xb, VT_R8, (void*)&result);
	return result;
}

void CsoDatasetVector::SetMinZ(double propVal)
{
	SetProperty(0xb, VT_R8, propVal);
}

BOOL CsoDatasetVector::GetHasGeometry()
{
	BOOL result;
	GetProperty(0x11, VT_BOOL, (void*)&result);
	return result;
}

void CsoDatasetVector::SetHasGeometry(BOOL propVal)
{
	SetProperty(0x11, VT_BOOL, propVal);
}

long CsoDatasetVector::GetFieldCount()
{
	long result;
	GetProperty(0x12, VT_I4, (void*)&result);
	return result;
}

void CsoDatasetVector::SetFieldCount(long propVal)
{
	SetProperty(0x12, VT_I4, propVal);
}

double CsoDatasetVector::GetToleranceSmallPolygon()
{
	double result;
	GetProperty(0x13, VT_R8, (void*)&result);
	return result;
}

void CsoDatasetVector::SetToleranceSmallPolygon(double propVal)
{
	SetProperty(0x13, VT_R8, propVal);
}

double CsoDatasetVector::GetToleranceDangle()
{
	double result;
	GetProperty(0x14, VT_R8, (void*)&result);
	return result;
}

void CsoDatasetVector::SetToleranceDangle(double propVal)
{
	SetProperty(0x14, VT_R8, propVal);
}

double CsoDatasetVector::GetToleranceNodeSnap()
{
	double result;
	GetProperty(0x15, VT_R8, (void*)&result);
	return result;
}

void CsoDatasetVector::SetToleranceNodeSnap(double propVal)
{
	SetProperty(0x15, VT_R8, propVal);
}

double CsoDatasetVector::GetToleranceGrain()
{
	double result;
	GetProperty(0x16, VT_R8, (void*)&result);
	return result;
}

void CsoDatasetVector::SetToleranceGrain(double propVal)
{
	SetProperty(0x16, VT_R8, propVal);
}

double CsoDatasetVector::GetToleranceFuzzy()
{
	double result;
	GetProperty(0x17, VT_R8, (void*)&result);
	return result;
}

void CsoDatasetVector::SetToleranceFuzzy(double propVal)
{
	SetProperty(0x17, VT_R8, propVal);
}

long CsoDatasetVector::GetDimension()
{
	long result;
	GetProperty(0x18, VT_I4, (void*)&result);
	return result;
}

void CsoDatasetVector::SetDimension(long propVal)
{
	SetProperty(0x18, VT_I4, propVal);
}

long CsoDatasetVector::GetRecordCount()
{
	long result;
	GetProperty(0x19, VT_I4, (void*)&result);
	return result;
}

void CsoDatasetVector::SetRecordCount(long propVal)
{
	SetProperty(0x19, VT_I4, propVal);
}

CsoDataset CsoDatasetVector::GetSubDataset()
{
	LPDISPATCH pDispatch;
	GetProperty(0x1a, VT_DISPATCH, (void*)&pDispatch);
	return CsoDataset(pDispatch);
}

void CsoDatasetVector::SetSubDataset(LPDISPATCH propVal)
{
	SetProperty(0x1a, VT_DISPATCH, propVal);
}

long CsoDatasetVector::GetCharset()
{
	long result;
	GetProperty(0x31, VT_I4, (void*)&result);
	return result;
}

void CsoDatasetVector::SetCharset(long propVal)
{
	SetProperty(0x31, VT_I4, propVal);
}

BOOL CsoDatasetVector::GetSpatialIndexDirty()
{
	BOOL result;
	GetProperty(0x32, VT_BOOL, (void*)&result);
	return result;
}

void CsoDatasetVector::SetSpatialIndexDirty(BOOL propVal)
{
	SetProperty(0x32, VT_BOOL, propVal);
}

CString CsoDatasetVector::GetTableName()
{
	CString result;
	GetProperty(0x34, VT_BSTR, (void*)&result);
	return result;
}

void CsoDatasetVector::SetTableName(LPCTSTR propVal)
{
	SetProperty(0x34, VT_BSTR, propVal);
}

BOOL CsoDatasetVector::GetIsEventTable()
{
	BOOL result;
	GetProperty(0x40, VT_BOOL, (void*)&result);
	return result;
}

void CsoDatasetVector::SetIsEventTable(BOOL propVal)
{
	SetProperty(0x40, VT_BOOL, propVal);
}

CsoDynamicEventLocator CsoDatasetVector::GetDynamicEventLocator()
{
	LPDISPATCH pDispatch;
	GetProperty(0x41, VT_DISPATCH, (void*)&pDispatch);
	return CsoDynamicEventLocator(pDispatch);
}

void CsoDatasetVector::SetDynamicEventLocator(LPDISPATCH propVal)
{
	SetProperty(0x41, VT_DISPATCH, propVal);
}

/////////////////////////////////////////////////////////////////////////////
// CsoDatasetVector operations

BOOL CsoDatasetVector::ComputeBounds()
{
	BOOL result;
	InvokeHelper(0xc, DISPATCH_METHOD, VT_BOOL, (void*)&result, NULL);
	return result;
}

long CsoDatasetVector::GetSmObject()
{
	long result;
	InvokeHelper(0xd, DISPATCH_METHOD, VT_I4, (void*)&result, NULL);
	return result;
}

BOOL CsoDatasetVector::Open()
{
	BOOL result;
	InvokeHelper(0xe, DISPATCH_METHOD, VT_BOOL, (void*)&result, NULL);
	return result;
}

void CsoDatasetVector::Close()
{
	InvokeHelper(0xf, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
}

CsoDatasetInfo CsoDatasetVector::GetDatasetInfo()
{
	LPDISPATCH pDispatch;

⌨️ 快捷键说明

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