00001 // RoadFeature.h: interface for the CRoadFeature class. 00002 // 00004 00005 #if !defined(AFX_ROADFEATURE_H__F64DE59C_1374_4951_8D85_765E63B664DD__INCLUDED_) 00006 #define AFX_ROADFEATURE_H__F64DE59C_1374_4951_8D85_765E63B664DD__INCLUDED_ 00007 00008 #if _MSC_VER > 1000 00009 #pragma once 00010 #endif // _MSC_VER > 1000 00011 00014 class CRoadFeature : public CObject 00015 { 00016 DECLARE_SERIAL (CRoadFeature) 00017 00018 public: 00019 CRoadFeature(); 00020 virtual ~CRoadFeature(); 00021 00022 void Serialize(CArchive &ar); 00023 00024 // the gets 00025 WORD getType(); 00026 bool getDirPos(); 00027 int getStart(); 00028 int getEnd(); 00029 double getValue(); 00030 00031 // the sets 00032 void setType(WORD type); 00033 void setDirPos(bool dirpos); 00034 void setStart(int start); 00035 void setEnd(int end); 00036 void setValue(double val); 00037 00038 private: 00039 double m_Value; 00040 int m_End; 00041 int m_Start; 00042 bool m_DirPos; 00043 WORD m_Type; 00044 00045 }; 00046 00047 #endif // !defined(AFX_ROADFEATURE_H__F64DE59C_1374_4951_8D85_765E63B664DD__INCLUDED_)