?? mappoints.h
字號:
/************************************************************
文件名: MapPoints.h
作者: 錢軍洪 Version : 1.0 Date: 2002/12/21
類描述: 點集合對象的管理
郵件地址:Visual20@sohu.com
***********************************************************/
#ifndef _MAP_POINTS_H_
#define _MAP_POINTS_H_
#include "stdafx.h"
#include "MapPoint.h"
#include "MapRectangle.h"
class CMapPoints:public CObject {
DECLARE_DYNAMIC(CMapPoints)
public:
CMapPoints();
CMapPoints(CMapPoints& points);
~CMapPoints();
//Attribute
public:
long GetCount();
CMapRectangle GetExtent();
void SetExtent(CMapRectangle& exent);
//operations
public:
CMapPoint* Get(long lIndex);
void Add(CMapPoint* pPoint);
void Set(long lIndex , CMapPoint* pPoint);
void Remove(long lIndex);
void Insert(long lndex , CMapPoint* pPoint);
void Clear();
private:
CMapRectangle m_Rectangle;
CArray<CMapPoint*,CMapPoint*> m_Points; //存儲點對象
};
#endif //_MAP_POINTS_H_
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -