SQLite.cpp File Reference

Detailed Description

#include "SQLite.h"
#include "sqlite3.h"
#include <core/RandomUUID.h>
#include <sstream>
#include <cassert>

Namespaces

 walberla
 \file TimestepTracker.h \ingroup lbm \author Frederik Hennig frede.nosp@m.rik..nosp@m.henni.nosp@m.g@fa.nosp@m.u.de
 
 walberla::sqlite
 

Functions

template<typename IntType >
uint_t walberla::sqlite::storeRunImpl (sqlite3 *dbHandle, std::string &filename, const map< string, IntType > &integerProperties, const map< string, string > &stringProperties, const map< string, double > &realProperties)
 Store information about a simulation run into a Sqlite3 Database. More...
 
template<typename IntType >
void walberla::sqlite::storeAdditionalRunInfoImpl (sqlite3 *dbHandle, uint_t runId, const std::string &tableName, const map< string, IntType > &integerProperties, const map< string, string > &stringProperties, const map< string, double > &realProperties)
 Stores information in another table, referencing the "run" table. More...
 
uint_t walberla::sqlite::storeRunInSqliteDB (const string &dbFile, const map< string, int > &integerProperties, const map< string, string > &stringProperties, const map< string, double > &realProperties, const int busyTimeout)
 
uint_t walberla::sqlite::storeRunInSqliteDB (const string &dbFile, const map< string, int64_t > &integerProperties, const map< string, string > &stringProperties, const map< string, double > &realProperties, const int busyTimeout)
 
void walberla::sqlite::storeAdditionalRunInfoInSqliteDB (const uint_t runId, const string &dbFile, const string &tableName, const map< string, int > &integerProperties, const map< string, string > &stringProperties, const map< string, double > &realProperties, const int busyTimeout)
 
void walberla::sqlite::storeAdditionalRunInfoInSqliteDB (const uint_t runId, const string &dbFile, const string &tableName, const map< string, int64_t > &integerProperties, const map< string, string > &stringProperties, const map< string, double > &realProperties, const int busyTimeout)
 
void walberla::sqlite::storeTimingPoolInSqliteDB (const string &dbFile, uint_t runId, const WcTimingPool &tp, const std::string &timingPoolName, const int busyTimeout)
 
void walberla::sqlite::storeTimingTreeInSqliteDB (const string &dbFile, uint_t runId, const WcTimingTree &tt, const std::string &timingTreeName, const int busyTimeout)