CurrMapInfo.h
上传用户:yffx2008
上传日期:2014-10-12
资源大小:12414k
文件大小:2k
源码类别:

交通/航空行业

开发平台:

Visual C++

  1. // CurrMapInfo.h: interface for the CCurrMapInfo class.
  2. //
  3. //////////////////////////////////////////////////////////////////////
  4. #if !defined(AFX_CURRMAPINFO_H__87EBC367_5E1C_11D8_B7C7_00E01808A228__INCLUDED_)
  5. #define AFX_CURRMAPINFO_H__87EBC367_5E1C_11D8_B7C7_00E01808A228__INCLUDED_
  6. #if _MSC_VER > 1000
  7. #pragma once
  8. #endif // _MSC_VER > 1000
  9. #define GpsLibFileLen 8
  10. class CCurrMapInfo  
  11. {
  12. public:
  13. CCurrMapInfo();
  14. virtual ~CCurrMapInfo();
  15. //Varable
  16. public:
  17. char m_DataFileName[GpsLibFileLen + 1];
  18. char m_LinkFileName[GpsLibFileLen + 1];
  19. char m_SignFileName[GpsLibFileLen + 1];
  20. ChangeTriangle m_WndTriangle,m_MapTriangle;
  21. ChangeNormal CoeffNE_XY; //from NE to XY
  22. ChangeNormal CoeffXY_NE; //from XY to NE
  23. CObList lCurrRoadList;
  24. CObList lCurrCrossList;
  25. CObList lCurrColorBList;
  26. CObList lCurrSignList;
  27. CObList lAreaLibList;
  28. long m_lWnd_Max_X,m_lWnd_Max_Y;
  29. //Function
  30. public:
  31. void LinkName2MapName(char *LinkName,char *MapName);
  32. void MapName2LinkName(char *MapName ,char *LinkName);
  33. void LinkName2DataLib(char *LinkName,char *DataLib);
  34. void DataLib2LinkName(char *DataLib, char *LinkName);
  35. void Clear();
  36. void ClearRoadList(CObList &TempList);
  37. void ClearCrossList();
  38. void ClearColorBList();
  39. void ClearSignList();
  40. void ClearAreaLibList();
  41. void ClearBRoadSaveList(CObList *TempList);
  42. void ClearPointList(CObList *PointList);
  43. };
  44. #endif // !defined(AFX_CURRMAPINFO_H__87EBC367_5E1C_11D8_B7C7_00E01808A228__INCLUDED_)