44 double rt_seconds = it->second.valueDouble;
45 if(it->second.unitAccession ==
"UO:0000031")
48 rt_seconds = rt_seconds * 60;
61 reader.enterContainer();
62 qDebug() << txt_value;
63 while(reader.hasNext() && (!reader.isInvalid()))
69 qDebug() << txt_value;
70 if(txt_value ==
"cvParam")
90 reader.leaveContainer();
98 scan.insert(
"cvParam",
cvParamMap.toJsonArray());
simple override of the raw QCborStreamReader This adds convenient functions to put CBOR data into C++...
bool decodeString(QString &the_str)
decode the current cbor value as a string the point to the next value the current value is decoded as...
PSI scan object for mzML/mzCBOR.
QJsonObject toJsonObject() const
write the structure to a JSON object
void fromCbor(CborStreamReader &reader)
double getRtInSeconds() const