MCPcopy Create free account
hub / github.com/baumgarr/nixnote2 / readEnumQueryFormat

Function readEnumQueryFormat

qevercloud/generated/types.cpp:6656–6664  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6654}
6655
6656void 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
6666void readEnumNoteSortOrder(ThriftBinaryBufferReader& r, NoteSortOrder::type& e) {
6667 qint32 i;

Callers 1

readSavedSearchFunction · 0.85

Calls 2

ThriftExceptionClass · 0.85
readI32Method · 0.80

Tested by

no test coverage detected