BRCrossStruct.cpp
上传用户:yffx2008
上传日期:2014-10-12
资源大小:12414k
文件大小:1k
- // BRCrossStruct.cpp: implementation of the CBRCrossStruct class.
- //
- //////////////////////////////////////////////////////////////////////
- #include "stdafx.h"
- #include "GpsSC.h"
- #include "BRCrossStruct.h"
- #ifdef _DEBUG
- #undef THIS_FILE
- static char THIS_FILE[]=__FILE__;
- #define new DEBUG_NEW
- #endif
- //////////////////////////////////////////////////////////////////////
- // Construction/Destruction
- //////////////////////////////////////////////////////////////////////
- #define GPS_INFINITE 0x7fffffff
- CBRCrossStruct::CBRCrossStruct()
- {
- m_Distance = GPS_INFINITE;
- m_Double = 0;
- m_Adjust = 2;
- }
- CBRCrossStruct::~CBRCrossStruct()
- {
- }
- CBRCrossStruct& CBRCrossStruct::operator = (CBRCrossStruct& ds)
- {
- m_Distance = ds.m_Distance;
- m_Adjust = ds.m_Adjust;
- m_Double = ds.m_Double;
- m_cCross = ds.m_cCross;
- return *this;
- }
- void CBRCrossStruct::Clear()
- {
- m_Distance = GPS_INFINITE;
- m_Double = 0;
- m_Adjust = 2;
- m_cCross.Clear();
- }