#include "StdAfx.h"
|
#include "RcpZoneFilteringInfo.h"
|
|
CRcpZoneFilteringInfo::CRcpZoneFilteringInfo(int nType)
|
{
|
Reset(nType);
|
}
|
|
CRcpZoneFilteringInfo::CRcpZoneFilteringInfo(void)
|
{
|
|
}
|
|
|
CRcpZoneFilteringInfo::~CRcpZoneFilteringInfo(void)
|
{
|
|
}
|
|
void CRcpZoneFilteringInfo::Reset(int nType)
|
{
|
m_nFilterType = 0;
|
m_nFilterJudge = 0;
|
m_nReviewCount = 0;
|
m_dJudgeHeight = 0.;
|
|
m_FilterSubType = 0;
|
m_FilterCode = _T("");
|
m_FilterSection = 0;
|
|
// switch(nType)
|
// {
|
// case RCP_FILTER_TYPE_JUDGE:
|
// for (int i=0; i<RCP_FILTER_DATA_JUDGE_COUNT; i++)
|
// {
|
// m_vecFilterJudge.push_back(0);
|
// }
|
// break;
|
//
|
// case RCP_FILTER_TYPE_SUBTYPE:
|
// for (int i=0; i<RCP_FILTER_DATA_SUBTYPE_COUNT; i++)
|
// {
|
// m_vecFilterSubType.push_back(0);
|
// }
|
// break;
|
//
|
// case RCP_FILTER_TYPE_CODE:
|
// for (int i=0; i<RCP_FILTER_DATA_CODE_COUNT; i++)
|
// {
|
// m_vecFilterCode.push_back(_T(""));
|
// }
|
// break;
|
// }
|
}
|
|
void CRcpZoneFilteringInfo::SetInfo(const CRcpZoneFilteringInfo& rhs)
|
{
|
*this = rhs;
|
}
|
|
void CRcpZoneFilteringInfo::GetInfo(CRcpZoneFilteringInfo& rhs)
|
{
|
rhs = *this;
|
}
|