public override Object read(Object obj1, BInput bin1, long version) { BInputBin bin = (BInputBin)bin1; DocHistoryC obj = (DocHistoryC)(obj1 != null ? obj1 : bin.onObjectCreated(new DocHistoryC())); BBufferBin bbuf = bin.bbuf; // checkpoint byps.gen.cs.PrintContext:449 obj.lnComment = bbuf.getInt(); // checkpoint byps.gen.cs.PrintContext:449 obj.lnDocMD5 = bbuf.getInt(); // checkpoint byps.gen.cs.PrintContext:449 obj.lnGuid = bbuf.getInt(); // checkpoint byps.gen.cs.PrintContext:449 obj.lnTStamp = bbuf.getInt(); // checkpoint byps.gen.cs.PrintContext:449 obj.lnVersion = bbuf.getInt(); if (version >= 900990009000001L) { // checkpoint byps.gen.cs.PrintContext:449 obj.lnTStampSync = bbuf.getInt(); } return(obj); }
public DocHistoryC(DocHistoryC rhs) { this.lnCommentValue = rhs.lnCommentValue; this.lnVersionValue = rhs.lnVersionValue; this.lnDocMD5Value = rhs.lnDocMD5Value; this.lnGuidValue = rhs.lnGuidValue; this.lnTStampValue = rhs.lnTStampValue; this.lnTStampSyncValue = rhs.lnTStampSyncValue; }
public override void write(Object obj1, BOutput bout1, long version) { DocHistoryC obj = (DocHistoryC)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.lnDocMD5); // checkpoint byps.gen.cs.PrintContext:494 bbuf.putInt(obj.lnGuid); // checkpoint byps.gen.cs.PrintContext:494 bbuf.putInt(obj.lnTStamp); // checkpoint byps.gen.cs.PrintContext:494 bbuf.putInt(obj.lnVersion); if (version >= 900990009000001L) { // checkpoint byps.gen.cs.PrintContext:494 bbuf.putInt(obj.lnTStampSync); } }