Beispiel #1
0
 public FindDirect(FindDirect rhs)
 {
     this.queryValue            = rhs.queryValue;
     this.searchInSordNameValue = rhs.searchInSordNameValue;
     this.searchInMemoValue     = rhs.searchInMemoValue;
     this.searchInIndexValue    = rhs.searchInIndexValue;
     this.searchInFulltextValue = rhs.searchInFulltextValue;
     this.searchInNotesValue    = rhs.searchInNotesValue;
     this.searchInVersionsValue = rhs.searchInVersionsValue;
 }
        public override void write(Object obj1, BOutput bout1, long version)
        {
            FindDirect obj  = (FindDirect)obj1;
            BOutputBin bout = (BOutputBin)bout1;
            BBufferBin bbuf = bout.bbuf;

            // checkpoint byps.gen.cs.PrintContext:494
            bbuf.putString(obj.query);
            // checkpoint byps.gen.cs.PrintContext:494
            bbuf.putBoolean(obj.searchInFulltext);
            // checkpoint byps.gen.cs.PrintContext:494
            bbuf.putBoolean(obj.searchInIndex);
            // checkpoint byps.gen.cs.PrintContext:494
            bbuf.putBoolean(obj.searchInMemo);
            // checkpoint byps.gen.cs.PrintContext:494
            bbuf.putBoolean(obj.searchInNotes);
            // checkpoint byps.gen.cs.PrintContext:494
            bbuf.putBoolean(obj.searchInSordName);
            // checkpoint byps.gen.cs.PrintContext:494
            bbuf.putBoolean(obj.searchInVersions);
        }
        public override Object read(Object obj1, BInput bin1, long version)
        {
            BInputBin  bin = (BInputBin)bin1;
            FindDirect obj = (FindDirect)(obj1 != null ? obj1 : bin.onObjectCreated(new FindDirect()));

            BBufferBin bbuf = bin.bbuf;

            // checkpoint byps.gen.cs.PrintContext:449
            obj.query = bbuf.getString();
            // checkpoint byps.gen.cs.PrintContext:449
            obj.searchInFulltext = bbuf.getBoolean();
            // checkpoint byps.gen.cs.PrintContext:449
            obj.searchInIndex = bbuf.getBoolean();
            // checkpoint byps.gen.cs.PrintContext:449
            obj.searchInMemo = bbuf.getBoolean();
            // checkpoint byps.gen.cs.PrintContext:449
            obj.searchInNotes = bbuf.getBoolean();
            // checkpoint byps.gen.cs.PrintContext:449
            obj.searchInSordName = bbuf.getBoolean();
            // checkpoint byps.gen.cs.PrintContext:449
            obj.searchInVersions = bbuf.getBoolean();

            return(obj);
        }