예제 #1
0
        public override void write(Object obj1, BOutput bout1, long version)
        {
            DocVersionC obj  = (DocVersionC)obj1;
            BOutputBin  bout = (BOutputBin)bout1;
            BBufferBin  bbuf = bout.bbuf;

            // checkpoint byps.gen.cs.PrintContext:494
            bbuf.putInt(obj.lnComment);
            // checkpoint byps.gen.cs.PrintContext:494
            bbuf.putInt(obj.lnExt);
            // checkpoint byps.gen.cs.PrintContext:494
            bbuf.putInt(obj.lnVersion);
        }
예제 #2
0
        public override Object read(Object obj1, BInput bin1, long version)
        {
            BInputBin   bin = (BInputBin)bin1;
            DocVersionC obj = (DocVersionC)(obj1 != null ? obj1 : bin.onObjectCreated(new DocVersionC()));

            BBufferBin bbuf = bin.bbuf;

            // checkpoint byps.gen.cs.PrintContext:449
            obj.lnComment = bbuf.getInt();
            // checkpoint byps.gen.cs.PrintContext:449
            obj.lnExt = bbuf.getInt();
            // checkpoint byps.gen.cs.PrintContext:449
            obj.lnVersion = bbuf.getInt();

            return(obj);
        }
예제 #3
0
 public DocVersionC(DocVersionC rhs)
 {
     this.lnCommentValue = rhs.lnCommentValue;
     this.lnVersionValue = rhs.lnVersionValue;
     this.lnExtValue     = rhs.lnExtValue;
 }