gambit is hosted by Hepforge, IPPP Durham
GAMBIT  v1.5.0-2191-ga4742ac
a Global And Modular Bsm Inference Tool
sqlitereader.cpp File Reference

SQLite printer retriever class definitions This is a class accompanying the SQLitePrinter which takes care of reading from output created by the SQLitePrinter. More...

Include dependency graph for sqlitereader.cpp:

Go to the source code of this file.

Namespaces

 Gambit
 TODO: see if we can use this one:
 
 Gambit::Printers
 Forward declaration of Printers::BasePrinter class for use in print functions.
 

Macros

#define SQL_DEBUG
 
#define GET_SQL_TYPE_CASES(r, data, elem)
 

Functions

template<>
std::string Gambit::Printers::SQLiteReader::get_sql_col< std::string > (const std::string &)
 

Detailed Description

SQLite printer retriever class definitions This is a class accompanying the SQLitePrinter which takes care of reading from output created by the SQLitePrinter.


Authors (add name and date if you modify):

Author
Ben Farmer (b.far.nosp@m.mer@.nosp@m.imper.nosp@m.ial..nosp@m.ac.uk))
Date
2018 Dec

Definition in file sqlitereader.cpp.

Macro Definition Documentation

◆ GET_SQL_TYPE_CASES

#define GET_SQL_TYPE_CASES (   r,
  data,
  elem 
)
Value:
if( SQLite_equaltypes(coltype,cpp2sql<elem>()) )\
{ \
typeID = getTypeID<elem>(); \
} \
else
bool SQLite_equaltypes(const std::string &type1, const std::string &type2)
Definition: sqlitebase.cpp:125

Referenced by Gambit::Printers::SQLiteReader::get_type().

◆ SQL_DEBUG

#define SQL_DEBUG

Definition at line 25 of file sqlitereader.cpp.