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

            // checkpoint byps.gen.cs.PrintContext:494
            bbuf.putLong(obj.doccount);
            // checkpoint byps.gen.cs.PrintContext:494
            bbuf.putLong(obj.docsize);
            // checkpoint byps.gen.cs.PrintContext:494
            bbuf.putLong(obj.ftsize);
            // checkpoint byps.gen.cs.PrintContext:494
            bbuf.putLong(obj.previewsize);
        }
Ejemplo n.º 2
0
        public override Object read(Object obj1, BInput bin1, long version)
        {
            BInputBin    bin = (BInputBin)bin1;
            SystemReport obj = (SystemReport)(obj1 != null ? obj1 : bin.onObjectCreated(new SystemReport()));

            base.read(obj, bin1, version);
            BBufferBin bbuf = bin.bbuf;

            // checkpoint byps.gen.cs.PrintContext:449
            obj.doccount = bbuf.getLong();
            // checkpoint byps.gen.cs.PrintContext:449
            obj.docsize = bbuf.getLong();
            // checkpoint byps.gen.cs.PrintContext:449
            obj.ftsize = bbuf.getLong();
            // checkpoint byps.gen.cs.PrintContext:449
            obj.previewsize = bbuf.getLong();

            return(obj);
        }