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

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

            base.read(obj, bin1, version);
            BBufferBin bbuf = bin.bbuf;

            // checkpoint byps.gen.cs.PrintContext:449
            obj.name = bbuf.getString();
            // checkpoint byps.gen.cs.PrintContext:449
            obj.value = bbuf.getInt();

            return(obj);
        }
예제 #3
0
 public CounterInfo(CounterInfo rhs) : base(rhs)
 {
     this.nameValue  = rhs.nameValue;
     this.valueValue = rhs.valueValue;
 }