예제 #1
0
 public WFNodeAssoc(WFNodeAssoc rhs) : base(rhs)
 {
     this.doneValue     = rhs.doneValue;
     this.nodeFromValue = rhs.nodeFromValue;
     this.nodeToValue   = rhs.nodeToValue;
     this.typeValue     = rhs.typeValue;
 }
예제 #2
0
        public override void write(Object obj1, BOutput bout1, long version)
        {
            base.write(obj1, bout1, version);
            WFNodeAssoc obj  = (WFNodeAssoc)obj1;
            BOutputBin  bout = (BOutputBin)bout1;
            BBufferBin  bbuf = bout.bbuf;

            // checkpoint byps.gen.cs.PrintContext:494
            bbuf.putBoolean(obj.done);
            // checkpoint byps.gen.cs.PrintContext:494
            bbuf.putInt(obj.nodeFrom);
            // checkpoint byps.gen.cs.PrintContext:494
            bbuf.putInt(obj.nodeTo);
            // checkpoint byps.gen.cs.PrintContext:494
            bbuf.putInt(obj.type);
        }
예제 #3
0
        public override Object read(Object obj1, BInput bin1, long version)
        {
            BInputBin   bin = (BInputBin)bin1;
            WFNodeAssoc obj = (WFNodeAssoc)(obj1 != null ? obj1 : bin.onObjectCreated(new WFNodeAssoc()));

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

            // checkpoint byps.gen.cs.PrintContext:449
            obj.done = bbuf.getBoolean();
            // checkpoint byps.gen.cs.PrintContext:449
            obj.nodeFrom = bbuf.getInt();
            // checkpoint byps.gen.cs.PrintContext:449
            obj.nodeTo = bbuf.getInt();
            // checkpoint byps.gen.cs.PrintContext:449
            obj.type = bbuf.getInt();

            return(obj);
        }