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

📄 sorecordset.h

📁 SuperMap的网络分析示范源码
💻 H
字号:
// 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 CsoFieldInfo;
class CsoFieldInfos;
class CsoGeometry;

/////////////////////////////////////////////////////////////////////////////
// CsoRecordset wrapper class

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

// Attributes
public:
	BOOL GetCanAppend();
	void SetCanAppend(BOOL);
	BOOL GetCanTransact();
	void SetCanTransact(BOOL);
	BOOL GetCanUpdate();
	void SetCanUpdate(BOOL);
	long GetFieldCount();
	void SetFieldCount(long);
	long GetRecordCount();
	void SetRecordCount(long);

// Operations
public:
	long AddNew(LPDISPATCH objGeometry, const VARIANT& bReturnGeometryID);
	void Close();
	BOOL ComputeBounds(LPDISPATCH objBounds, double* dMinZ, double* dMaxZ);
	BOOL Delete();
	BOOL Edit();
	BOOL FindFirst(LPCTSTR strFilter);
	BOOL FindLast(LPCTSTR strFilter);
	BOOL FindNext(LPCTSTR strFilter);
	BOOL FindPrev(LPCTSTR strFilter);
	long GetID();
	BOOL IsBOF();
	BOOL IsEOF();
	BOOL IsEmpty();
	BOOL Move(long nRows);
	BOOL MoveFirst();
	BOOL MoveLast();
	BOOL MoveNext();
	BOOL MovePrev();
	BOOL MoveTo(long nPosition);
	BOOL SeekID(long ID);
	BOOL SetFieldValue(const VARIANT& Index, const VARIANT& Value);
	BOOL SetFieldValueNull(const VARIANT& Index);
	BOOL SetGeometry(LPDISPATCH Geometry);
	long Update();
	BOOL CancelUpdate();
	CsoFieldInfo GetFieldInfo(const VARIANT& Index);
	CsoFieldInfos GetFieldInfos();
	CsoGeometry GetGeometry();
	VARIANT GetFieldValue(const VARIANT& Index);
	BOOL FindTextFirst(LPCTSTR strTextToFind);
	BOOL FindTextNext(LPCTSTR strTextToFind);
	BOOL FindTextPrev(LPCTSTR strTextToFind);
	BOOL FindTextLast(LPCTSTR strTextToFind);
	long GetSmObject();
	BOOL DeleteAll();
	VARIANT Statistic(const VARIANT& Field, long nMode);
	BOOL Refresh();
	BOOL CopyField(LPCTSTR strSrcFieldName, LPCTSTR strDstFieldName);
};

⌨️ 快捷键说明

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