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

📄 sonetworksetting.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 "sonetworksetting.h"

// Dispatch interfaces referenced by this interface
#include "sodatasetvector.h"
#include "soquerydef.h"
#include "solongarray.h"


/////////////////////////////////////////////////////////////////////////////
// CsoNetworkSetting properties

CsoDatasetVector CsoNetworkSetting::GetNetworkDataset()
{
	LPDISPATCH pDispatch;
	GetProperty(0x1, VT_DISPATCH, (void*)&pDispatch);
	return CsoDatasetVector(pDispatch);
}

void CsoNetworkSetting::SetNetworkDataset(LPDISPATCH propVal)
{
	SetProperty(0x1, VT_DISPATCH, propVal);
}

CString CsoNetworkSetting::GetFTWeightField()
{
	CString result;
	GetProperty(0x2, VT_BSTR, (void*)&result);
	return result;
}

void CsoNetworkSetting::SetFTWeightField(LPCTSTR propVal)
{
	SetProperty(0x2, VT_BSTR, propVal);
}

CString CsoNetworkSetting::GetTFWeightField()
{
	CString result;
	GetProperty(0x3, VT_BSTR, (void*)&result);
	return result;
}

void CsoNetworkSetting::SetTFWeightField(LPCTSTR propVal)
{
	SetProperty(0x3, VT_BSTR, propVal);
}

CString CsoNetworkSetting::GetNodeIDField()
{
	CString result;
	GetProperty(0x4, VT_BSTR, (void*)&result);
	return result;
}

void CsoNetworkSetting::SetNodeIDField(LPCTSTR propVal)
{
	SetProperty(0x4, VT_BSTR, propVal);
}

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

void CsoNetworkSetting::SetEdgeIDField(LPCTSTR propVal)
{
	SetProperty(0x5, VT_BSTR, propVal);
}

CString CsoNetworkSetting::GetRoadRuleField()
{
	CString result;
	GetProperty(0x6, VT_BSTR, (void*)&result);
	return result;
}

void CsoNetworkSetting::SetRoadRuleField(LPCTSTR propVal)
{
	SetProperty(0x6, VT_BSTR, propVal);
}

CsoQueryDef CsoNetworkSetting::GetEdgeFilter()
{
	LPDISPATCH pDispatch;
	GetProperty(0x7, VT_DISPATCH, (void*)&pDispatch);
	return CsoQueryDef(pDispatch);
}

void CsoNetworkSetting::SetEdgeFilter(LPDISPATCH propVal)
{
	SetProperty(0x7, VT_DISPATCH, propVal);
}

CsoLongArray CsoNetworkSetting::GetBarrierNodes()
{
	LPDISPATCH pDispatch;
	GetProperty(0x8, VT_DISPATCH, (void*)&pDispatch);
	return CsoLongArray(pDispatch);
}

void CsoNetworkSetting::SetBarrierNodes(LPDISPATCH propVal)
{
	SetProperty(0x8, VT_DISPATCH, propVal);
}

CsoLongArray CsoNetworkSetting::GetBarrierEdges()
{
	LPDISPATCH pDispatch;
	GetProperty(0x9, VT_DISPATCH, (void*)&pDispatch);
	return CsoLongArray(pDispatch);
}

void CsoNetworkSetting::SetBarrierEdges(LPDISPATCH propVal)
{
	SetProperty(0x9, VT_DISPATCH, propVal);
}

long CsoNetworkSetting::GetFromToOneWayValue()
{
	long result;
	GetProperty(0xa, VT_I4, (void*)&result);
	return result;
}

void CsoNetworkSetting::SetFromToOneWayValue(long propVal)
{
	SetProperty(0xa, VT_I4, propVal);
}

long CsoNetworkSetting::GetToFromOneWayValue()
{
	long result;
	GetProperty(0xb, VT_I4, (void*)&result);
	return result;
}

void CsoNetworkSetting::SetToFromOneWayValue(long propVal)
{
	SetProperty(0xb, VT_I4, propVal);
}

long CsoNetworkSetting::GetTowWayValue()
{
	long result;
	GetProperty(0xc, VT_I4, (void*)&result);
	return result;
}

void CsoNetworkSetting::SetTowWayValue(long propVal)
{
	SetProperty(0xc, VT_I4, propVal);
}

long CsoNetworkSetting::GetProhibitValue()
{
	long result;
	GetProperty(0xd, VT_I4, (void*)&result);
	return result;
}

void CsoNetworkSetting::SetProhibitValue(long propVal)
{
	SetProperty(0xd, VT_I4, propVal);
}

/////////////////////////////////////////////////////////////////////////////
// CsoNetworkSetting operations

⌨️ 快捷键说明

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