| 1 | #cxx . . $ `<file>/src/sql/SQLConnection.h`/pragma once |
| 2 | |
| 3 | #include <sqlite3.h> |
| 4 | #include <string> |
| 5 | |
| 6 | class ProcessRowCallbackcxx . . $ ProcessRowCallback# { |
| 7 | public: |
| 8 | virtual ~cxx . . $ ProcessRowCallback#`~ProcessRowCallback`(ced63f7c635d850d).ProcessRowCallbackcxx . . $ ProcessRowCallback#() {}; |
| 9 | virtual void ProcessRowcxx . . $ ProcessRowCallback#ProcessRow(1b656139e683501a).(sqlite3_stmt* stmt) = 0; |
| 10 | }; |
| 11 | |
| 12 | class SQLConnectioncxx . . $ SQLConnection# |
| 13 | { |
| 14 | public: |
| 15 | void BeginTransactioncxx . . $ SQLConnection#BeginTransaction(49f6e7a06ebc5aa8).(); |
| 16 | void EndTransactioncxx . . $ SQLConnection#EndTransaction(49f6e7a06ebc5aa8).(); |
| 17 | protected: |
| 18 | SQLConnectioncxx . . $ SQLConnection#SQLConnection(8d4ab0a187bf9331).(stdcxx . . $ std/::stringcxx . . $ std/string# name); |
| 19 | ~cxx . . $ SQLConnection#`~SQLConnection`(ced63f7c635d850d).SQLConnectioncxx . . $ SQLConnection#(); |
| 20 | bool Opencxx . . $ SQLConnection#Open(f38201682fc79d0a).(stdcxx . . $ std/::stringcxx . . $ std/string#& file); |
| 21 | bool Querycxx . . $ SQLConnection#Query(9956b7a086a48e12).(stdcxx . . $ std/::stringcxx . . $ std/string# query, ProcessRowCallbackcxx . . $ ProcessRowCallback#& callback); |
| 22 | bool Executecxx . . $ SQLConnection#Execute(c9120223c4466434).(stdcxx . . $ std/::stringcxx . . $ std/string# query); |
| 23 | int GetVersioncxx . . $ SQLConnection#GetVersion(b126dc7c1de90089).(); |
| 24 | bool SetVersioncxx . . $ SQLConnection#SetVersion(83c267b20bac841a).(int newVersion); |
| 25 | sqlite3* m_dbcxx . . $ SQLConnection#m_db.; |
| 26 | stdcxx . . $ std/::stringcxx . . $ std/string# m_namecxx . . $ SQLConnection#m_name.; |
| 27 | |
| 28 | private: |
| 29 | bool EnsureVersionTablecxx . . $ SQLConnection#EnsureVersionTable(c9857a73d68e59ba).(); |
| 30 | }; |