CString::operator== implemented

This commit is contained in:
alexeevdv
2015-02-13 23:09:21 +03:00
parent bc52a43651
commit 5ed943d5e6
8 changed files with 189 additions and 195 deletions
-10
View File
@@ -41,21 +41,12 @@ COpcode& COpcode::operator = (const COpcode& opcode)
void COpcode::Serialize(CArchive& ar)
{
//if (ar.IsStoring()) {
if (false)
{
// ASSERT(FALSE);
}
else
{
if (ReadMSBWord(ar, m_wOperator) != OPERATOR_SIZE) {
printf("Error: Unable read opcode\n");
AfxThrowUserException();
}
std::cout << std::hex << m_wOperator << std::endl;
if ((m_wOperator < O_OPERATOR) ||
((m_wOperator >= O_END_OP) &&
(m_wOperator != O_STRINGOP) &&
@@ -72,7 +63,6 @@ void COpcode::Serialize(CArchive& ar)
AfxThrowUserException();
}
}
}
}
void COpcode::Expect(CArchive& ar, WORD wOperator, BOOL bArgumentFound, ULONG ulArgument)