Subversion Repositories SmartDukaan

Rev

Rev 553 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 553 Rev 571
Line 740... Line 740...
740
            }
740
            }
741
            break;
741
            break;
742
          case LINES:
742
          case LINES:
743
            if (field.type == TType.LIST) {
743
            if (field.type == TType.LIST) {
744
              {
744
              {
745
                TList _list12 = iprot.readListBegin();
745
                TList _list8 = iprot.readListBegin();
746
                this.lines = new ArrayList<Line>(_list12.size);
746
                this.lines = new ArrayList<Line>(_list8.size);
747
                for (int _i13 = 0; _i13 < _list12.size; ++_i13)
747
                for (int _i9 = 0; _i9 < _list8.size; ++_i9)
748
                {
748
                {
749
                  Line _elem14;
749
                  Line _elem10;
750
                  _elem14 = new Line();
750
                  _elem10 = new Line();
751
                  _elem14.read(iprot);
751
                  _elem10.read(iprot);
752
                  this.lines.add(_elem14);
752
                  this.lines.add(_elem10);
753
                }
753
                }
754
                iprot.readListEnd();
754
                iprot.readListEnd();
755
              }
755
              }
756
            } else { 
756
            } else { 
757
              TProtocolUtil.skip(iprot, field.type);
757
              TProtocolUtil.skip(iprot, field.type);
Line 821... Line 821...
821
    oprot.writeFieldEnd();
821
    oprot.writeFieldEnd();
822
    if (this.lines != null) {
822
    if (this.lines != null) {
823
      oprot.writeFieldBegin(LINES_FIELD_DESC);
823
      oprot.writeFieldBegin(LINES_FIELD_DESC);
824
      {
824
      {
825
        oprot.writeListBegin(new TList(TType.STRUCT, this.lines.size()));
825
        oprot.writeListBegin(new TList(TType.STRUCT, this.lines.size()));
826
        for (Line _iter15 : this.lines)
826
        for (Line _iter11 : this.lines)
827
        {
827
        {
828
          _iter15.write(oprot);
828
          _iter11.write(oprot);
829
        }
829
        }
830
        oprot.writeListEnd();
830
        oprot.writeListEnd();
831
      }
831
      }
832
      oprot.writeFieldEnd();
832
      oprot.writeFieldEnd();
833
    }
833
    }