Exemplo n.º 1
0
        public override void write(Object obj1, BOutput bout1, long version)
        {
            base.write(obj1, bout1, version);
            SordLink   obj  = (SordLink)obj1;
            BOutputBin bout = (BOutputBin)bout1;
            BBufferBin bbuf = bout.bbuf;

            // checkpoint byps.gen.cs.PrintContext:494
            bbuf.putString(obj.id);
            // checkpoint byps.gen.cs.PrintContext:494
            bbuf.putString(obj.linkId);
            if (version >= 900000016000008L)
            {
                // checkpoint byps.gen.cs.PrintContext:494
                bbuf.putBoolean(obj.permanent);
            }
        }
Exemplo n.º 2
0
        public override Object read(Object obj1, BInput bin1, long version)
        {
            BInputBin bin = (BInputBin)bin1;
            SordLink  obj = (SordLink)(obj1 != null ? obj1 : bin.onObjectCreated(new SordLink()));

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

            // checkpoint byps.gen.cs.PrintContext:449
            obj.id = bbuf.getString();
            // checkpoint byps.gen.cs.PrintContext:449
            obj.linkId = bbuf.getString();
            if (version >= 900000016000008L)
            {
                // checkpoint byps.gen.cs.PrintContext:449
                obj.permanent = bbuf.getBoolean();
            }

            return(obj);
        }
Exemplo n.º 3
0
 public SordLink(SordLink rhs) : base(rhs)
 {
     this.idValue        = rhs.idValue;
     this.linkIdValue    = rhs.linkIdValue;
     this.permanentValue = rhs.permanentValue;
 }