maplayers.h

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

H
46
字号
/************************************************************
  文件名: MapLayers.h
  
  作者:   钱军洪       Version : 1.0          Date: 2002/12/21
  
  类描述: 地图图层数据集合管理
  
  邮件地址:Visual20@sohu.com
***********************************************************/

#ifndef _MAP_LAYERS_H_
#define _MAP_LAYERS_H_

#include "MapLayer.h"

class CMapLayers {


public:
	CMapLayers();
	~CMapLayers();

// Attributes
public:
	short GetCount();
	void SetCount(short);
	void GetAllExtent(CMapRectangle& rc);

// Operations
public:
	CMapLayer* GetAt(short sIndex);
	BOOL Add(CMapLayer* pMapLayer);
	void Remove(short sIndex);
	void Clear();
	void MoveTo(short fromIndex, short toIndex);
	void MoveToTop(short sIndex);
	void MoveToBottom(short sIndex);


private:
	CArray<CMapLayer*,CMapLayer*> m_Layers; //存储图层集合对象


};

#endif //_MAP_LAYERS_H_

⌨️ 快捷键说明

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