=================================================================== RCS file: /home/cvs/OpenXM/src/OpenMath/ORG/openxm/tam/CMO_QQ.java,v retrieving revision 1.1 retrieving revision 1.3 diff -u -p -r1.1 -r1.3 --- OpenXM/src/OpenMath/ORG/openxm/tam/CMO_QQ.java 2000/09/12 07:05:06 1.1 +++ OpenXM/src/OpenMath/ORG/openxm/tam/CMO_QQ.java 2000/12/03 12:40:40 1.3 @@ -1,5 +1,5 @@ /** - * $OpenXM$ + * $OpenXM: OpenXM/src/OpenMath/ORG/openxm/tam/CMO_QQ.java,v 1.2 2000/09/13 06:32:43 tam Exp $ */ package ORG.openxm.tam; @@ -39,6 +39,10 @@ final public class CMO_QQ extends CMO{ return CMO.QQ; } + public boolean allowQ (int[] datacap) { + return CMO.allowQ_tag(datacap, DISCRIMINATOR()) && a.allowQ(datacap); + } + private int sign(int a){ if(a>0){ return 1; @@ -48,12 +52,12 @@ final public class CMO_QQ extends CMO{ return 0; } - protected void sendByObject(OpenXMconnection os) throws IOException{ + protected void sendByObject(OpenXMstream os) throws IOException{ a.sendByObject(os); b.sendByObject(os); } - static protected CMO receive(OpenXMconnection is) throws IOException{ + static protected CMO receive(OpenXMstream is) throws IOException{ CMO_ZZ a,b; a = (CMO_ZZ)CMO_ZZ.receive(is);