Ejemplo n.º 1
0
        public override void write(Object obj1, BOutput bout1, long version)
        {
            ContextTerm obj  = (ContextTerm)obj1;
            BOutputBin  bout = (BOutputBin)bout1;
            BBufferBin  bbuf = bout.bbuf;

            // checkpoint byps.gen.cs.PrintContext:494
            bbuf.putInt(obj.docNum);
            // checkpoint byps.gen.cs.PrintContext:494
            bbuf.putString(obj.term);
        }
Ejemplo n.º 2
0
        public override Object read(Object obj1, BInput bin1, long version)
        {
            BInputBin   bin = (BInputBin)bin1;
            ContextTerm obj = (ContextTerm)(obj1 != null ? obj1 : bin.onObjectCreated(new ContextTerm()));

            BBufferBin bbuf = bin.bbuf;

            // checkpoint byps.gen.cs.PrintContext:449
            obj.docNum = bbuf.getInt();
            // checkpoint byps.gen.cs.PrintContext:449
            obj.term = bbuf.getString();

            return(obj);
        }
Ejemplo n.º 3
0
 public ContextTerm(ContextTerm rhs)
 {
     this.termValue   = rhs.termValue;
     this.docNumValue = rhs.docNumValue;
 }