soselection.h

来自「SuperMap的网络分析示范源码」· C头文件 代码 · 共 54 行

H
54
字号
#if !defined(AFX_SOSELECTION_H__730B58EC_F0BD_4C15_939E_24409CE41C04__INCLUDED_)
#define AFX_SOSELECTION_H__730B58EC_F0BD_4C15_939E_24409CE41C04__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 CsoStyle;
class CsoDatasetVector;
class CsoRecordset;

/////////////////////////////////////////////////////////////////////////////
// CsoSelection wrapper class

class CsoSelection : public COleDispatchDriver
{
public:
	CsoSelection() {}		// Calls COleDispatchDriver default constructor
	CsoSelection(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {}
	CsoSelection(const CsoSelection& dispatchSrc) : COleDispatchDriver(dispatchSrc) {}

// Attributes
public:
	long GetCount();
	void SetCount(long);
	CsoStyle GetStyle();
	void SetStyle(LPDISPATCH);
	CsoDatasetVector GetDataset();
	void SetDataset(LPDISPATCH);

// Operations
public:
	long GetItem(long nIndex);
	void SetItem(long nIndex, long nNewValue);
	void Add(long nGeometryID);
	BOOL FromRecordset(LPDISPATCH objRecordset);
	BOOL Remove(long nGeometryID);
	BOOL RemoveAt(long nIndex, long nCount);
	void RemoveAll();
	CsoRecordset ToRecordset(BOOL bGeometryOnly);
	BOOL CopyFrom(LPDISPATCH objOtherSelection);
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_SOSELECTION_H__730B58EC_F0BD_4C15_939E_24409CE41C04__INCLUDED_)

⌨️ 快捷键说明

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