public ReportErpCode(ReportErpCode rhs) : base(rhs) { this.idValue = rhs.idValue; this.limitedValue = rhs.limitedValue; this.nameValue = rhs.nameValue; this.verboseValue = rhs.verboseValue; }
public override void write(Object obj1, BOutput bout1, long version) { base.write(obj1, bout1, version); ReportErpCode obj = (ReportErpCode)obj1; BOutputBin bout = (BOutputBin)bout1; BBufferBin bbuf = bout.bbuf; // checkpoint byps.gen.cs.PrintContext:494 bbuf.putInt(obj.id); // checkpoint byps.gen.cs.PrintContext:494 bbuf.putBoolean(obj.limited); // checkpoint byps.gen.cs.PrintContext:494 bbuf.putString(obj.name); // checkpoint byps.gen.cs.PrintContext:494 bbuf.putBoolean(obj.verbose); }
public override Object read(Object obj1, BInput bin1, long version) { BInputBin bin = (BInputBin)bin1; ReportErpCode obj = (ReportErpCode)(obj1 != null ? obj1 : bin.onObjectCreated(new ReportErpCode())); base.read(obj, bin1, version); BBufferBin bbuf = bin.bbuf; // checkpoint byps.gen.cs.PrintContext:449 obj.id = bbuf.getInt(); // checkpoint byps.gen.cs.PrintContext:449 obj.limited = bbuf.getBoolean(); // checkpoint byps.gen.cs.PrintContext:449 obj.name = bbuf.getString(); // checkpoint byps.gen.cs.PrintContext:449 obj.verbose = bbuf.getBoolean(); return(obj); }