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

Function extractDouble

src/openms/source/FORMAT/SqliteConnector.cpp:260–268  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

258 }
259
260 double extractDouble(sqlite3_stmt* stmt, int pos)
261 {
262 double res;
263 if (!extractValue<double>(&res, stmt, pos))
264 {
265 throw Exception::SqlOperationFailed(__FILE__, __LINE__, OPENMS_PRETTY_FUNCTION, "Conversion of column " + String(pos) + " to double failed");
266 }
267 return res;
268 }
269
270 float extractFloat(sqlite3_stmt* stmt, int pos)
271 {

Callers 2

fillFromInputLineMethod · 0.50

Calls 1

StringClass · 0.50

Tested by

no test coverage detected