//-------------------------------------------- public override CResultAErreur Serialize(C2iSerializer serializer) { int nVersion = GetNumVersion(); CResultAErreur result = serializer.TraiteVersion(ref nVersion); if (result) { result = base.Serialize(serializer); } if (!result) { return(result); } int nOp = (int)m_operateur; serializer.TraiteInt(ref nOp); if (serializer.Mode == ModeSerialisation.Lecture) { m_operateur = (ECAMLComparaison)nOp; } result = serializer.TraiteObject <CCAMLItemField>(ref m_champ); if (result) { result = serializer.TraiteObject <C2iExpression>(ref m_valeur); } return(result); }
//------------------------------------------ public CCAMLItemComparaison(ECAMLComparaison operateur) { m_operateur = operateur; }