Exemplo n.º 1
0
 public MapHistItemC(MapHistItemC rhs)
 {
     this.lnHistGuidValue    = rhs.lnHistGuidValue;
     this.lnKeyValue         = rhs.lnKeyValue;
     this.lnValueValue       = rhs.lnValueValue;
     this.lnContentTypeValue = rhs.lnContentTypeValue;
     this.lnBlobDataValue    = rhs.lnBlobDataValue;
 }
Exemplo n.º 2
0
        public override void write(Object obj1, BOutput bout1, long version)
        {
            MapHistItemC obj  = (MapHistItemC)obj1;
            BOutputBin   bout = (BOutputBin)bout1;
            BBufferBin   bbuf = bout.bbuf;

            // checkpoint byps.gen.cs.PrintContext:494
            bbuf.putInt(obj.lnHistGuid);
            // checkpoint byps.gen.cs.PrintContext:494
            bbuf.putInt(obj.lnKey);
            // checkpoint byps.gen.cs.PrintContext:494
            bbuf.putInt(obj.lnValue);
            if (version >= 1000000020000011L)
            {
                // checkpoint byps.gen.cs.PrintContext:494
                bbuf.putInt(obj.lnBlobData);
                // checkpoint byps.gen.cs.PrintContext:494
                bbuf.putInt(obj.lnContentType);
            }
        }
Exemplo n.º 3
0
        public override Object read(Object obj1, BInput bin1, long version)
        {
            BInputBin    bin = (BInputBin)bin1;
            MapHistItemC obj = (MapHistItemC)(obj1 != null ? obj1 : bin.onObjectCreated(new MapHistItemC()));

            BBufferBin bbuf = bin.bbuf;

            // checkpoint byps.gen.cs.PrintContext:449
            obj.lnHistGuid = bbuf.getInt();
            // checkpoint byps.gen.cs.PrintContext:449
            obj.lnKey = bbuf.getInt();
            // checkpoint byps.gen.cs.PrintContext:449
            obj.lnValue = bbuf.getInt();
            if (version >= 1000000020000011L)
            {
                // checkpoint byps.gen.cs.PrintContext:449
                obj.lnBlobData = bbuf.getInt();
                // checkpoint byps.gen.cs.PrintContext:449
                obj.lnContentType = bbuf.getInt();
            }

            return(obj);
        }