Particle Identification and Tracking
Functions
sql_handler.cpp File Reference
#include "sql_handler.h"
#include "sqlite3.h"
#include <iostream>
#include <stdexcept>
#include <stdio.h>
#include "md_store.h"
+ Include dependency graph for sql_handler.cpp:

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)
 

Function Documentation

string err_format ( string  txt,
int  error 
)
void exec_wrapper ( sqlite3 *  db,
std::string  cmd 
)
void float_bind ( sqlite3_stmt *  stmt,
int  indx,
float  val 
)
void int_bind ( sqlite3_stmt *  stmt,
int  indx,
int  val 
)
std::string rc_formatter ( int  rc)

Referenced by err_format().

void text_bind ( sqlite3_stmt *  stmt,
int  indx,
const string &  txt 
)