brcrossstruct.cpp
来自「用VC写的监控中心后台程序。 代码全」· C++ 代码 · 共 49 行
CPP
49 行
// 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();
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?