| 6654 | } |
| 6655 | |
| 6656 | void readEnumQueryFormat(ThriftBinaryBufferReader& r, QueryFormat::type& e) { |
| 6657 | qint32 i; |
| 6658 | r.readI32(i); |
| 6659 | switch(i) { |
| 6660 | case static_cast<int>(QueryFormat::USER): e = QueryFormat::USER; break; |
| 6661 | case static_cast<int>(QueryFormat::SEXP): e = QueryFormat::SEXP; break; |
| 6662 | default: throw ThriftException(ThriftException::Type::INVALID_DATA, "Incorrect value for enum QueryFormat"); |
| 6663 | } |
| 6664 | } |
| 6665 | |
| 6666 | void readEnumNoteSortOrder(ThriftBinaryBufferReader& r, NoteSortOrder::type& e) { |
| 6667 | qint32 i; |
no test coverage detected