mapparts.h

来自「evc下ArcInfo操作程序源代码」· C头文件 代码 · 共 42 行

H
42
字号
/************************************************************
  文件名: MapParts.h
  
  作者:   钱军洪       Version : 1.0          Date: 2002/12/21
  
  类描述: 对多个点集合对象的管理
  
  邮件地址:Visual20@sohu.com
***********************************************************/

#ifndef _MAP_PARTS_H_
#define _MAP_PARTS_H_

#include "MapPoints.h"

class CMapParts:public CObject {
	
	DECLARE_DYNAMIC(CMapParts)
public:
	CMapParts();
    CMapParts(CMapParts& Parts);
	~CMapParts();

//attribute
public:
	long GetCount();

//operation
public:
	void Add(CMapPoints* pPoints);
	void Set(long lindex, CMapPoints* pPoints);
	void Remove(long lindex);
	void Insert(long lindex, CMapPoints* pPoints);
	CMapPoints* Get(long lindex);
	void Clear();

private:
	CArray<CMapPoints*,CMapPoints*> m_Parts; //存储点集合对象

};

#endif //_MAP_PARTS_H_

⌨️ 快捷键说明

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