| wxSQLite3
    3.3.0
    | 
Interface for a user defined hook function. More...
#include <wxsqlite3.h>
| Public Types | |
| enum | wxUpdateType { SQLITE_DELETE = 9, SQLITE_INSERT = 18, SQLITE_UPDATE = 23 } | 
| Codes identifying the command for which the hook is called.  More... | |
| Public Member Functions | |
| wxSQLite3Hook () | |
| Default constructor.  More... | |
| virtual | ~wxSQLite3Hook () | 
| Virtual destructor.  More... | |
| virtual bool | CommitCallback () | 
| Execute the commit hook callback function.  More... | |
| virtual void | RollbackCallback () | 
| Execute the rollback hook callback function.  More... | |
| virtual void | UpdateCallback (wxUpdateType WXUNUSED(type), const wxString &WXUNUSED(database), const wxString &WXUNUSED(table), wxLongLong WXUNUSED(rowid)) | 
| Execute the hook callback function.  More... | |
| virtual int | WriteAheadLogCallback (const wxString &WXUNUSED(database), int WXUNUSED(numPages)) | 
| Execute the write-ahead log hook callback function.  More... | |
| void | SetDatabase (wxSQLite3Database *db) | 
| Set the associated database.  More... | |
| wxSQLite3Database * | GetDatabase () const | 
| Get the associated database.  More... | |
Interface for a user defined hook function.
| 
 | inline | 
Default constructor.
| 
 | inlinevirtual | 
Virtual destructor.
| 
 | inlinevirtual | 
Execute the commit hook callback function.
Please refer to the SQLite documentation for further information.
| 
 | inline | 
Get the associated database.
For the write-ahead log hook the associated database can be accessed.
| 
 | inlinevirtual | 
Execute the rollback hook callback function.
Please refer to the SQLite documentation for further information.
| 
 | inline | 
Set the associated database.
For the write-ahead log hook the associated database is set internally.
| db | pointer to the associated database instance | 
| 
 | inlinevirtual | 
Execute the hook callback function.
Please refer to the SQLite documentation for further information about the meaning of the parameters.
| type | wxHookType. The value signifies what kind of operation is to be authorized. | 
| database | Name of the database | 
| table | Name of the table | 
| rowid | The rowid of the affected row | 
| 
 | inlinevirtual | 
Execute the write-ahead log hook callback function.
Please refer to the SQLite documentation for further information about the meaning of the parameters.
| database | Name of the database | 
| numPages | the number of pages | 
 1.8.10
 1.8.10