#pragma once
|
|
#include <vector>
|
|
enum JudgeType_T8 { JudgeType_T8_None=0, JudgeType_T8_OK, JudgeType_T8_TR, JudgeType_T8_PR,/*, JudgeType_T8_BR, JudgeType_T8_PT,*/ JudgeType_T8_Count };
|
|
class AFX_EXT_CLASS CRcpJudgeInfo
|
{
|
public:
|
CRcpJudgeInfo(void);
|
virtual ~CRcpJudgeInfo(void);
|
|
public:
|
void Reset(void);
|
|
// setter
|
void SetJudgeType(int nType) { m_nJudgeType1 = nType; }
|
void SetJudgeCount(int nCount) { m_nJudgeCount1 = nCount; }
|
void SetSubJudgeType(int nType) { m_nJudgeType2 = nType; }
|
void SetSubJudgeCount(int nCount) { m_nJudgeCount2 = nCount; }
|
void SetReJudgeType(int nType) { m_nReJudgeType = nType; }
|
void SetReJudgeCode(CString strCode) { m_strReJudgeCode.Format(_T("%s"), strCode); }
|
|
// getter
|
int GetJudgeType() const { return m_nJudgeType1; }
|
int GetJudgeCount() const { return m_nJudgeCount1; }
|
int GetSubJudgeType() const { return m_nJudgeType2; }
|
int GetSubJudgeCount() const { return m_nJudgeCount2; }
|
int GetReJudgeType() const { return m_nReJudgeType; }
|
CString GetReJudgeCode() const { return m_strReJudgeCode; }
|
|
public:
|
int m_nJudgeType1;
|
int m_nJudgeCount1;
|
int m_nJudgeType2;
|
int m_nJudgeCount2;
|
int m_nReJudgeType;
|
CString m_strReJudgeCode;
|
};
|
typedef std::vector<CRcpJudgeInfo> VectorRcpJudgeInfo;
|
typedef std::vector<CRcpJudgeInfo>::iterator VectorRcpJudgeInfoIt;
|
typedef std::vector<CRcpJudgeInfo>::const_iterator constVectorRcpJudgeInfoIt;
|