Particle Identification and Tracking
|
#include "sql_handler.h"
#include "sqlite3.h"
#include <iostream>
#include <stdexcept>
#include <stdio.h>
#include "md_store.h"
Functions | |
string | err_format (string txt, int error) |
string | rc_formatter (int rc) |
void | exec_wrapper (sqlite3 *db, std::string cmd) |
void | text_bind (sqlite3_stmt *stmt, int indx, const string &txt) |
void | int_bind (sqlite3_stmt *stmt, int indx, int val) |
void | float_bind (sqlite3_stmt *stmt, int indx, float val) |
string err_format | ( | string | txt, |
int | error | ||
) |
References rc_formatter().
Referenced by utilities::SQL_handler::close_connection(), exec_wrapper(), float_bind(), utilities::SQL_handler::get_comp_mdata(), utilities::SQL_handler::gofr_by_plane_md_fun(), utilities::SQL_handler::gofr_md_fun(), utilities::SQL_handler::iden_md_fun(), int_bind(), utilities::SQL_handler::msd_md_fun(), utilities::SQL_handler::msd_sweep_md_fun(), utilities::SQL_handler::phi6_md_fun(), utilities::SQL_handler::start_comp(), text_bind(), utilities::SQL_handler::tracking_md_fun(), and utilities::SQL_handler::vanHove_md_fun().
void exec_wrapper | ( | sqlite3 * | db, |
std::string | cmd | ||
) |
References err_format().
Referenced by utilities::SQL_handler::commit(), utilities::SQL_handler::make_test_db(), utilities::SQL_handler::rollback(), and utilities::SQL_handler::start_comp().
void float_bind | ( | sqlite3_stmt * | stmt, |
int | indx, | ||
float | val | ||
) |
void int_bind | ( | sqlite3_stmt * | stmt, |
int | indx, | ||
int | val | ||
) |
References err_format().
Referenced by utilities::SQL_handler::get_comp_mdata(), utilities::SQL_handler::gofr_by_plane_md_fun(), utilities::SQL_handler::gofr_md_fun(), utilities::SQL_handler::iden_md_fun(), utilities::SQL_handler::msd_md_fun(), utilities::SQL_handler::msd_sweep_md_fun(), utilities::SQL_handler::phi6_md_fun(), utilities::SQL_handler::start_comp(), utilities::SQL_handler::tracking_md_fun(), and utilities::SQL_handler::vanHove_md_fun().
std::string rc_formatter | ( | int | rc) |
Referenced by err_format().
void text_bind | ( | sqlite3_stmt * | stmt, |
int | indx, | ||
const string & | txt | ||
) |