📄 sodynamiceventlocator.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 "sodynamiceventlocator.h"
// Dispatch interfaces referenced by this interface
#include "sogeometry.h"
/////////////////////////////////////////////////////////////////////////////
// CsoDynamicEventLocator properties
CString CsoDynamicEventLocator::GetEventRouteIDField()
{
CString result;
GetProperty(0x1, VT_BSTR, (void*)&result);
return result;
}
void CsoDynamicEventLocator::SetEventRouteIDField(LPCTSTR propVal)
{
SetProperty(0x1, VT_BSTR, propVal);
}
long CsoDynamicEventLocator::GetDynamicEventType()
{
long result;
GetProperty(0x2, VT_I4, (void*)&result);
return result;
}
void CsoDynamicEventLocator::SetDynamicEventType(long propVal)
{
SetProperty(0x2, VT_I4, propVal);
}
CString CsoDynamicEventLocator::GetFromMeasureField()
{
CString result;
GetProperty(0x3, VT_BSTR, (void*)&result);
return result;
}
void CsoDynamicEventLocator::SetFromMeasureField(LPCTSTR propVal)
{
SetProperty(0x3, VT_BSTR, propVal);
}
CString CsoDynamicEventLocator::GetToMeasureField()
{
CString result;
GetProperty(0x4, VT_BSTR, (void*)&result);
return result;
}
void CsoDynamicEventLocator::SetToMeasureField(LPCTSTR propVal)
{
SetProperty(0x4, VT_BSTR, propVal);
}
CString CsoDynamicEventLocator::GetMeasureField()
{
CString result;
GetProperty(0x5, VT_BSTR, (void*)&result);
return result;
}
void CsoDynamicEventLocator::SetMeasureField(LPCTSTR propVal)
{
SetProperty(0x5, VT_BSTR, propVal);
}
long CsoDynamicEventLocator::GetEventMeasureUnit()
{
long result;
GetProperty(0x6, VT_I4, (void*)&result);
return result;
}
void CsoDynamicEventLocator::SetEventMeasureUnit(long propVal)
{
SetProperty(0x6, VT_I4, propVal);
}
LPDISPATCH CsoDynamicEventLocator::GetRouteDataset()
{
LPDISPATCH result;
GetProperty(0x7, VT_DISPATCH, (void*)&result);
return result;
}
void CsoDynamicEventLocator::SetRouteDataset(LPDISPATCH propVal)
{
SetProperty(0x7, VT_DISPATCH, propVal);
}
CString CsoDynamicEventLocator::GetRouteIDField()
{
CString result;
GetProperty(0x8, VT_BSTR, (void*)&result);
return result;
}
void CsoDynamicEventLocator::SetRouteIDField(LPCTSTR propVal)
{
SetProperty(0x8, VT_BSTR, propVal);
}
CString CsoDynamicEventLocator::GetOffsetField()
{
CString result;
GetProperty(0x9, VT_BSTR, (void*)&result);
return result;
}
void CsoDynamicEventLocator::SetOffsetField(LPCTSTR propVal)
{
SetProperty(0x9, VT_BSTR, propVal);
}
CString CsoDynamicEventLocator::GetRouteWhereClause()
{
CString result;
GetProperty(0xa, VT_BSTR, (void*)&result);
return result;
}
void CsoDynamicEventLocator::SetRouteWhereClause(LPCTSTR propVal)
{
SetProperty(0xa, VT_BSTR, propVal);
}
/////////////////////////////////////////////////////////////////////////////
// CsoDynamicEventLocator operations
CsoGeometry CsoDynamicEventLocator::LocateLine(long nRouteID, double dFromMeasure, double dToMeasure)
{
LPDISPATCH pDispatch;
static BYTE parms[] =
VTS_I4 VTS_R8 VTS_R8;
InvokeHelper(0xc, DISPATCH_METHOD, VT_DISPATCH, (void*)&pDispatch, parms,
nRouteID, dFromMeasure, dToMeasure);
return CsoGeometry(pDispatch);
}
CsoGeometry CsoDynamicEventLocator::LocatePoint(long nRouteID, double dMeasure, double dOffset)
{
LPDISPATCH pDispatch;
static BYTE parms[] =
VTS_I4 VTS_R8 VTS_R8;
InvokeHelper(0xd, DISPATCH_METHOD, VT_DISPATCH, (void*)&pDispatch, parms,
nRouteID, dMeasure, dOffset);
return CsoGeometry(pDispatch);
}
CsoGeometry CsoDynamicEventLocator::LocateRow(long nRowID)
{
LPDISPATCH pDispatch;
static BYTE parms[] =
VTS_I4;
InvokeHelper(0xe, DISPATCH_METHOD, VT_DISPATCH, (void*)&pDispatch, parms,
nRowID);
return CsoGeometry(pDispatch);
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -