|
GnuCash c935c2f+
|
Public Member Functions | |
| void | load_all (GncSqlBackend *) override |
| Load all objects of m_type in the database into memory. | |
| bool | write (GncSqlBackend *) override |
| Write all objects of m_type_name to the database. | |
Public Member Functions inherited from GncSqlObjectBackend | |
| GncSqlObjectBackend (int version, const std::string &type, const std::string &table, const EntryVec &vec) | |
| virtual void | create_tables (GncSqlBackend *sql_be) |
| Conditionally create or update a database table from m_col_table. | |
| virtual bool | commit (GncSqlBackend *sql_be, QofInstance *inst) |
| UPDATE/INSERT a single instance of m_type_name into the database. | |
| const char * | type () const noexcept |
| Return the m_type_name for the class. | |
| const bool | is_version (int version) const noexcept |
| Compare a version with the compiled version (m_version). | |
| bool | instance_in_db (const GncSqlBackend *sql_be, QofInstance *inst) const noexcept |
| Check the presence of an object in the backend's database. | |
Additional Inherited Members | |
Protected Attributes inherited from GncSqlObjectBackend | |
| const std::string | m_table_name |
| const int | m_version |
| const std::string | m_type_name |
| const EntryVec & | m_col_table |
| The front-end QofIdType. | |
Definition at line 35 of file gnc-order-sql.h.
| GncSqlOrderBackend::GncSqlOrderBackend | ( | ) |
Definition at line 74 of file gnc-order-sql.cpp.
|
overridevirtual |
Load all objects of m_type in the database into memory.
| sql_be | The GncSqlBackend containing the database connection. |
Implements GncSqlObjectBackend.
Definition at line 106 of file gnc-order-sql.cpp.
|
overridevirtual |
Write all objects of m_type_name to the database.
| sql_be | The GncSqlBackend containing the database. |
Reimplemented from GncSqlObjectBackend.
Definition at line 158 of file gnc-order-sql.cpp.