MCPcopy Create free account
hub / github.com/OpenMS/OpenMS / setPC

Method setPC

src/openms/source/FORMAT/OSWFile.cpp:365–371  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

363 float precmz;
364
365 void setPC(sqlite3_stmt* stmt)
366 {
367 prec_id = Sql::extractInt(stmt, I_PRECID);
368 seq = Sql::extractString(stmt, I_MODSEQ);
369 chargePC = (short)Sql::extractInt(stmt, I_PRECQ);
370 precmz = Sql::extractFloat(stmt, I_PRECMZ);
371 }
372 void updatePC(LineState& new_line)
373 {
374 prec_id = new_line.prec_id;

Callers 2

initLineFunction · 0.80
nextProteinFunction · 0.80

Calls 3

extractIntFunction · 0.85
extractStringFunction · 0.85
extractFloatFunction · 0.85

Tested by

no test coverage detected