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

交通/航空行业

开发平台:

Visual C++

  1. // SmallRoadStruct.h: interface for the CSmallRoadStruct class.
  2. //
  3. //////////////////////////////////////////////////////////////////////
  4. #if !defined(AFX_SMALLROADSTRUCT_H__0DF5F621_C9AC_11D7_B7C5_00E01808A228__INCLUDED_)
  5. #define AFX_SMALLROADSTRUCT_H__0DF5F621_C9AC_11D7_B7C5_00E01808A228__INCLUDED_
  6. #if _MSC_VER > 1000
  7. #pragma once
  8. #endif // _MSC_VER > 1000
  9. class CSmallRoadStruct : public CObject  
  10. {
  11. public:
  12. CSmallRoadStruct();
  13. virtual ~CSmallRoadStruct();
  14. CSmallRoadStruct & operator=(const CSmallRoadStruct &ds);
  15. public:
  16. BYTE SmallRoad_SerialNumber[2];
  17. BYTE SmallRoad_SN_Bytes;
  18. char RoadName[11];
  19. BYTE RoadName_Bytes;
  20. BYTE Road_SD; //S表示单向(single),D表示双向(double)
  21. BYTE Road_SD_Bytes;
  22. BYTE RoadorName_DispLevel; //低4位表示道路级别,高4位表示路名显示级别
  23. BYTE DispLevel_Bytes;
  24. short SmallRoad_PointTotal;
  25. BYTE PointTotal_Bytes;
  26. CObList RoadPointList;
  27. BYTE RoadPoint_Bytes;
  28. public:
  29. ClearRoadPointList();
  30. CopyList(const CObList *SourceList,CObList *DestList);
  31. CopyReverseList(const CObList *SourceList,CObList *DestList);
  32. CSmallRoadStruct::ChangeRoadDirection();
  33. private:
  34. ClearRoadList(CObList *TempList);
  35. };
  36. #endif // !defined(AFX_SMALLROADSTRUCT_H__0DF5F621_C9AC_11D7_B7C5_00E01808A228__INCLUDED_)