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

Method setProt

src/openms/source/FORMAT/OSWFile.cpp:346–351  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

344 bool decoy;
345
346 void setProt(sqlite3_stmt* stmt)
347 {
348 prot_id = Sql::extractInt(stmt, I_PROTID);
349 accession = Sql::extractString(stmt, I_ACCESSION);
350 decoy = Sql::extractBool(stmt, I_DECOY);
351 }
352 void updateProt(LineState& new_line)
353 {
354 prot_id = new_line.prot_id;

Callers 2

initLineFunction · 0.80
nextProteinFunction · 0.80

Calls 3

extractIntFunction · 0.85
extractStringFunction · 0.85
extractBoolFunction · 0.85

Tested by

no test coverage detected