OpenMS
Loading...
Searching...
No Matches
OMSFileStore.h File Reference

Go to the source code of this file.

Classes

class  OMSFileStore
 Helper class for storing .oms files (SQLite format) More...
 

Namespaces

namespace  SQLite
 
namespace  OpenMS
 Main OpenMS namespace.
 
namespace  OpenMS::Internal
 Namespace used to hide implementation details from users.
 

Functions

void raiseDBError_ (const std::string &error, int line, const char *function, const std::string &context, const std::string &query="")
 Raise a more informative database error.
 
bool execAndReset (SQLite::Statement &query, int expected_modifications)
 Execute and reset an SQL query.
 
void execWithExceptionAndReset (SQLite::Statement &query, int expected_modifications, int line, const char *function, const char *context)
 If execAndReset() returns false, call raiseDBError_()