public override Object read(Object obj1, BInput bin1, long version) { BInputBin bin = (BInputBin)bin1; ObjDataC obj = (ObjDataC)(obj1 != null ? obj1 : bin.onObjectCreated(new ObjDataC())); BBufferBin bbuf = bin.bbuf; // checkpoint byps.gen.cs.PrintContext:449 obj.lnAcl = bbuf.getInt(); // checkpoint byps.gen.cs.PrintContext:449 obj.lnGuid = bbuf.getInt(); // checkpoint byps.gen.cs.PrintContext:449 obj.lnInternalDesc = bbuf.getInt(); // checkpoint byps.gen.cs.PrintContext:449 obj.lnName = bbuf.getInt(); // checkpoint byps.gen.cs.PrintContext:449 obj.lnSDesc = bbuf.getInt(); // checkpoint byps.gen.cs.PrintContext:449 obj.lnSName = bbuf.getInt(); // checkpoint byps.gen.cs.PrintContext:449 obj.lnSReg = bbuf.getInt(); // checkpoint byps.gen.cs.PrintContext:449 obj.lnTStamp = bbuf.getInt(); if (version >= 900990009000001L) { // checkpoint byps.gen.cs.PrintContext:449 obj.lnTStampAcl = bbuf.getInt(); // checkpoint byps.gen.cs.PrintContext:449 obj.lnTStampAclSync = bbuf.getInt(); // checkpoint byps.gen.cs.PrintContext:449 obj.lnTStampSync = bbuf.getInt(); } return(obj); }
public override void write(Object obj1, BOutput bout1, long version) { ObjDataC obj = (ObjDataC)obj1; BOutputBin bout = (BOutputBin)bout1; BBufferBin bbuf = bout.bbuf; // checkpoint byps.gen.cs.PrintContext:494 bbuf.putInt(obj.lnAcl); // checkpoint byps.gen.cs.PrintContext:494 bbuf.putInt(obj.lnGuid); // checkpoint byps.gen.cs.PrintContext:494 bbuf.putInt(obj.lnInternalDesc); // checkpoint byps.gen.cs.PrintContext:494 bbuf.putInt(obj.lnName); // checkpoint byps.gen.cs.PrintContext:494 bbuf.putInt(obj.lnSDesc); // checkpoint byps.gen.cs.PrintContext:494 bbuf.putInt(obj.lnSName); // checkpoint byps.gen.cs.PrintContext:494 bbuf.putInt(obj.lnSReg); // checkpoint byps.gen.cs.PrintContext:494 bbuf.putInt(obj.lnTStamp); if (version >= 900990009000001L) { // checkpoint byps.gen.cs.PrintContext:494 bbuf.putInt(obj.lnTStampAcl); // checkpoint byps.gen.cs.PrintContext:494 bbuf.putInt(obj.lnTStampAclSync); // checkpoint byps.gen.cs.PrintContext:494 bbuf.putInt(obj.lnTStampSync); } }
public ObjDataC(ObjDataC rhs) { this.lnGuidValue = rhs.lnGuidValue; this.lnNameValue = rhs.lnNameValue; this.lnSRegValue = rhs.lnSRegValue; this.lnInternalDescValue = rhs.lnInternalDescValue; this.lnAclValue = rhs.lnAclValue; this.lnTStampValue = rhs.lnTStampValue; this.lnSNameValue = rhs.lnSNameValue; this.lnSDescValue = rhs.lnSDescValue; this.lnTStampSyncValue = rhs.lnTStampSyncValue; this.lnTStampAclValue = rhs.lnTStampAclValue; this.lnTStampAclSyncValue = rhs.lnTStampAclSyncValue; }