|
GnuCash c935c2f+
|
Public Member Functions | |
| GncSqlColumnTableEntryImpl (const char *name, const GncSqlObjectType type, unsigned int s, int f, const char *gobj_name=nullptr, const char *qof_name=nullptr, QofAccessFunc get=nullptr, QofSetterFunc set=nullptr) | |
| void | load (const GncSqlBackend *sql_be, GncSqlRow &row, QofIdTypeConst obj_name, void *pObject) const noexcept override |
| Load a value into an object from the database row. | |
| void | add_to_table (ColVec &vec) const noexcept override |
| Add a GncSqlColumnInfo structure for the column type to a ColVec. | |
| void | add_to_query (QofIdTypeConst obj_name, void *pObject, PairVec &vec) const noexcept override |
| Add a pair of the table column heading and object's value's string representation to a PairVec; used for constructing WHERE clauses and UPDATE statements. | |
| void | load (const GncSqlBackend *sql_be, GncSqlRow &row, QofIdTypeConst obj_name, gpointer pObject) const noexcept |
| void | add_to_table (ColVec &vec) const noexcept |
| Add a GncSqlColumnInfo structure for the column type to a ColVec. | |
| void | add_to_query (QofIdTypeConst obj_name, const gpointer pObject, PairVec &vec) const noexcept |
| void | load (const GncSqlBackend *sql_be, GncSqlRow &row, QofIdTypeConst obj_name, gpointer pObject) const noexcept |
| void | add_to_table (ColVec &vec) const noexcept |
| Add a GncSqlColumnInfo structure for the column type to a ColVec. | |
| void | add_to_query (QofIdTypeConst obj_name, const gpointer pObject, PairVec &vec) const noexcept |
| void | load (const GncSqlBackend *sql_be, GncSqlRow &row, QofIdTypeConst obj_name, gpointer pObject) const noexcept |
| void | add_to_table (ColVec &vec) const noexcept |
| Add a GncSqlColumnInfo structure for the column type to a ColVec. | |
| void | add_to_query (QofIdTypeConst obj_name, const gpointer pObject, PairVec &vec) const noexcept |
| void | load (const GncSqlBackend *sql_be, GncSqlRow &row, QofIdTypeConst obj_name, gpointer pObject) const noexcept |
| void | add_to_table (ColVec &vec) const noexcept |
| Add a GncSqlColumnInfo structure for the column type to a ColVec. | |
| void | add_to_query (QofIdTypeConst obj_name, const gpointer pObject, PairVec &vec) const noexcept |
| void | load (const GncSqlBackend *sql_be, GncSqlRow &row, QofIdTypeConst obj_name, gpointer pObject) const noexcept |
| void | add_to_table (ColVec &vec) const noexcept |
| Add a GncSqlColumnInfo structure for the column type to a ColVec. | |
| void | add_to_query (QofIdTypeConst obj_name, const gpointer pObject, PairVec &vec) const noexcept |
| void | load (const GncSqlBackend *sql_be, GncSqlRow &row, QofIdTypeConst obj_name, gpointer pObject) const noexcept |
| void | add_to_table (ColVec &vec) const noexcept |
| Add a GncSqlColumnInfo structure for the column type to a ColVec. | |
| void | add_to_query (QofIdTypeConst obj_name, const gpointer pObject, PairVec &vec) const noexcept |
| void | load (const GncSqlBackend *sql_be, GncSqlRow &row, QofIdTypeConst obj_name, gpointer pObject) const noexcept |
| void | add_to_table (ColVec &vec) const noexcept |
| Add a GncSqlColumnInfo structure for the column type to a ColVec. | |
| void | add_to_query (QofIdTypeConst obj_name, const gpointer pObject, PairVec &vec) const noexcept |
| void | load (const GncSqlBackend *sql_be, GncSqlRow &row, QofIdTypeConst obj_name, gpointer pObject) const noexcept |
| void | add_to_table (ColVec &vec) const noexcept |
| Add a GncSqlColumnInfo structure for the column type to a ColVec. | |
| void | add_to_query (QofIdTypeConst obj_name, const gpointer pObject, PairVec &vec) const noexcept |
| void | load (const GncSqlBackend *sql_be, GncSqlRow &row, QofIdTypeConst obj_name, gpointer pObject) const noexcept |
| void | add_to_table (ColVec &vec) const noexcept |
| Add a GncSqlColumnInfo structure for the column type to a ColVec. | |
| void | add_to_query (QofIdTypeConst obj_name, const gpointer pObject, PairVec &vec) const noexcept |
| void | load (const GncSqlBackend *sql_be, GncSqlRow &row, QofIdTypeConst obj_name, gpointer pObject) const noexcept |
| void | add_to_table (ColVec &vec) const noexcept |
| Add a GncSqlColumnInfo structure for the column type to a ColVec. | |
| void | add_to_query (QofIdTypeConst obj_name, const gpointer pObject, PairVec &vec) const noexcept |
| void | load (const GncSqlBackend *sql_be, GncSqlRow &row, QofIdTypeConst obj_name, gpointer pObject) const noexcept |
| void | add_to_table (ColVec &vec) const noexcept |
| Add a GncSqlColumnInfo structure for the column type to a ColVec. | |
| void | add_to_query (QofIdTypeConst obj_name, const gpointer pObject, PairVec &vec) const noexcept |
| void | load (const GncSqlBackend *sql_be, GncSqlRow &row, QofIdTypeConst obj_name, gpointer pObject) const noexcept |
| void | add_to_table (ColVec &vec) const noexcept |
| Add a GncSqlColumnInfo structure for the column type to a ColVec. | |
| void | add_to_query (QofIdTypeConst obj_name, const gpointer pObject, PairVec &vec) const noexcept |
| void | load (const GncSqlBackend *sql_be, GncSqlRow &row, QofIdTypeConst obj_name, gpointer pObject) const noexcept |
| void | add_to_table (ColVec &vec) const noexcept |
| Add a GncSqlColumnInfo structure for the column type to a ColVec. | |
| void | add_to_query (QofIdTypeConst obj_name, const gpointer pObject, PairVec &vec) const noexcept |
| void | load (const GncSqlBackend *sql_be, GncSqlRow &row, QofIdTypeConst obj_name, gpointer pObject) const noexcept |
| void | add_to_table (ColVec &vec) const noexcept |
| Add a GncSqlColumnInfo structure for the column type to a ColVec. | |
| void | add_to_query (QofIdTypeConst obj_name, const gpointer pObject, PairVec &vec) const noexcept |
| void | load (const GncSqlBackend *sql_be, GncSqlRow &row, QofIdTypeConst obj_name, gpointer pObject) const noexcept |
| void | add_to_table (ColVec &vec) const noexcept |
| Add a GncSqlColumnInfo structure for the column type to a ColVec. | |
| void | add_to_query (QofIdTypeConst obj_name, const gpointer pObject, PairVec &vec) const noexcept |
| void | load (const GncSqlBackend *sql_be, GncSqlRow &row, QofIdTypeConst obj_name, gpointer pObject) const noexcept |
| void | add_to_table (ColVec &vec) const noexcept |
| Add a GncSqlColumnInfo structure for the column type to a ColVec. | |
| void | add_to_query (QofIdTypeConst obj_name, const gpointer pObject, PairVec &vec) const noexcept |
| void | load (const GncSqlBackend *sql_be, GncSqlRow &row, QofIdTypeConst obj_name, gpointer pObject) const noexcept |
| void | add_to_table (ColVec &vec) const noexcept |
| Add a GncSqlColumnInfo structure for the column type to a ColVec. | |
| void | add_to_query (QofIdTypeConst obj_name, const gpointer pObject, PairVec &vec) const noexcept |
| void | load (const GncSqlBackend *sql_be, GncSqlRow &row, QofIdTypeConst obj_name, gpointer pObject) const noexcept |
| void | add_to_table (ColVec &vec) const noexcept |
| Add a GncSqlColumnInfo structure for the column type to a ColVec. | |
| void | add_to_query (QofIdTypeConst obj_name, const gpointer pObject, PairVec &vec) const noexcept |
| void | load (const GncSqlBackend *sql_be, GncSqlRow &row, QofIdTypeConst obj_name, gpointer pObject) const noexcept |
| void | add_to_table (ColVec &vec) const noexcept |
| Add a GncSqlColumnInfo structure for the column type to a ColVec. | |
| void | add_to_query (QofIdTypeConst obj_name, const gpointer pObject, PairVec &vec) const noexcept |
| void | load (const GncSqlBackend *sql_be, GncSqlRow &row, QofIdTypeConst obj_name, gpointer pObject) const noexcept |
| void | add_to_table (ColVec &vec) const noexcept |
| Add a GncSqlColumnInfo structure for the column type to a ColVec. | |
| void | add_to_query (QofIdTypeConst obj_name, const gpointer pObject, PairVec &vec) const noexcept |
Public Member Functions inherited from GncSqlColumnTableEntry | |
| GncSqlColumnTableEntry (const char *name, const GncSqlObjectType type, unsigned int s, int f, const char *gobj_name=nullptr, const char *qof_name=nullptr, QofAccessFunc get=nullptr, QofSetterFunc set=nullptr) | |
| QofAccessFunc | get_getter (QofIdTypeConst obj_name) const noexcept |
| Retrieve the getter function depending on whether it's an auto-increment field, a QofClass getter, or a function passed to the constructor. | |
| QofSetterFunc | get_setter (QofIdTypeConst obj_name) const noexcept |
| Retrieve the setter function depending on whether it's an auto-increment field, a QofClass getter, or a function passed to the constructor. | |
| const char * | name () const noexcept |
| Retrieve the field name so that we don't need to make create_single_col_select_statement and friend. | |
| bool | is_autoincr () const noexcept |
| Report if the entry is an auto-increment field. | |
| template<typename T > | |
| void | load_from_guid_ref (GncSqlRow &row, QofIdTypeConst obj_name, void *pObject, T get_ref) const noexcept |
Additional Inherited Members | |
Protected Member Functions inherited from GncSqlColumnTableEntry | |
| template<typename T > | |
| T | get_row_value_from_object (QofIdTypeConst obj_name, const void *pObject) const |
| template<typename T > | |
| void | add_value_to_vec (QofIdTypeConst obj_name, const void *pObject, PairVec &vec) const |
| void | add_objectref_guid_to_query (QofIdTypeConst obj_name, const void *pObject, PairVec &vec) const noexcept |
| Adds a name/guid std::pair to a PairVec for creating a query. | |
| void | add_objectref_guid_to_table (ColVec &vec) const noexcept |
| Adds a column info structure for an object reference GncGUID to a ColVec. | |
| template<> | |
| gint64 | get_row_value_from_object (QofIdTypeConst obj_name, const void *pObject) const |
| template<> | |
| void | add_value_to_vec (QofIdTypeConst obj_name, const void *pObject, PairVec &vec, std::true_type) const |
| template<> | |
| void | add_value_to_vec (QofIdTypeConst obj_name, const void *pObject, PairVec &vec, std::false_type) const |
Definition at line 267 of file gnc-sql-column-table-entry.hpp.
|
inline |
Definition at line 270 of file gnc-sql-column-table-entry.hpp.
|
noexcept |
Definition at line 367 of file gnc-account-sql.cpp.
|
noexcept |
Definition at line 116 of file gnc-address-sql.cpp.
|
noexcept |
Definition at line 351 of file gnc-bill-term-sql.cpp.
|
noexcept |
Definition at line 475 of file gnc-budget-sql.cpp.
|
noexcept |
Definition at line 241 of file gnc-commodity-sql.cpp.
|
noexcept |
Definition at line 300 of file gnc-invoice-sql.cpp.
|
noexcept |
Definition at line 213 of file gnc-lots-sql.cpp.
|
noexcept |
Definition at line 188 of file gnc-order-sql.cpp.
|
noexcept |
Definition at line 171 of file gnc-owner-sql.cpp.
|
noexcept |
Definition at line 143 of file gnc-sql-column-table-entry.cpp.
|
noexcept |
Definition at line 188 of file gnc-sql-column-table-entry.cpp.
|
noexcept |
Definition at line 224 of file gnc-sql-column-table-entry.cpp.
|
noexcept |
Definition at line 279 of file gnc-sql-column-table-entry.cpp.
|
noexcept |
Definition at line 316 of file gnc-sql-column-table-entry.cpp.
|
noexcept |
Definition at line 351 of file gnc-sql-column-table-entry.cpp.
|
noexcept |
Definition at line 423 of file gnc-sql-column-table-entry.cpp.
|
noexcept |
Definition at line 513 of file gnc-sql-column-table-entry.cpp.
|
noexcept |
Definition at line 594 of file gnc-sql-column-table-entry.cpp.
|
noexcept |
Definition at line 507 of file gnc-tax-table-sql.cpp.
|
noexcept |
Definition at line 828 of file gnc-transaction-sql.cpp.
|
overridevirtualnoexcept |
Add a pair of the table column heading and object's value's string representation to a PairVec; used for constructing WHERE clauses and UPDATE statements.
Implements GncSqlColumnTableEntry.
|
virtualnoexcept |
Add a GncSqlColumnInfo structure for the column type to a ColVec.
Implements GncSqlColumnTableEntry.
Definition at line 361 of file gnc-account-sql.cpp.
|
virtualnoexcept |
Add a GncSqlColumnInfo structure for the column type to a ColVec.
Implements GncSqlColumnTableEntry.
Definition at line 101 of file gnc-address-sql.cpp.
|
virtualnoexcept |
Add a GncSqlColumnInfo structure for the column type to a ColVec.
Implements GncSqlColumnTableEntry.
Definition at line 345 of file gnc-bill-term-sql.cpp.
|
virtualnoexcept |
Add a GncSqlColumnInfo structure for the column type to a ColVec.
Implements GncSqlColumnTableEntry.
Definition at line 469 of file gnc-budget-sql.cpp.
|
virtualnoexcept |
Add a GncSqlColumnInfo structure for the column type to a ColVec.
Implements GncSqlColumnTableEntry.
Definition at line 235 of file gnc-commodity-sql.cpp.
|
virtualnoexcept |
Add a GncSqlColumnInfo structure for the column type to a ColVec.
Implements GncSqlColumnTableEntry.
Definition at line 294 of file gnc-invoice-sql.cpp.
|
virtualnoexcept |
Add a GncSqlColumnInfo structure for the column type to a ColVec.
Implements GncSqlColumnTableEntry.
Definition at line 207 of file gnc-lots-sql.cpp.
|
virtualnoexcept |
Add a GncSqlColumnInfo structure for the column type to a ColVec.
Implements GncSqlColumnTableEntry.
Definition at line 182 of file gnc-order-sql.cpp.
|
virtualnoexcept |
Add a GncSqlColumnInfo structure for the column type to a ColVec.
Implements GncSqlColumnTableEntry.
Definition at line 157 of file gnc-owner-sql.cpp.
|
virtualnoexcept |
Add a GncSqlColumnInfo structure for the column type to a ColVec.
Implements GncSqlColumnTableEntry.
Definition at line 133 of file gnc-sql-column-table-entry.cpp.
|
virtualnoexcept |
Add a GncSqlColumnInfo structure for the column type to a ColVec.
Implements GncSqlColumnTableEntry.
Definition at line 181 of file gnc-sql-column-table-entry.cpp.
|
virtualnoexcept |
Add a GncSqlColumnInfo structure for the column type to a ColVec.
Implements GncSqlColumnTableEntry.
Definition at line 217 of file gnc-sql-column-table-entry.cpp.
|
virtualnoexcept |
Add a GncSqlColumnInfo structure for the column type to a ColVec.
Implements GncSqlColumnTableEntry.
Definition at line 252 of file gnc-sql-column-table-entry.cpp.
|
virtualnoexcept |
Add a GncSqlColumnInfo structure for the column type to a ColVec.
Implements GncSqlColumnTableEntry.
Definition at line 309 of file gnc-sql-column-table-entry.cpp.
|
virtualnoexcept |
Add a GncSqlColumnInfo structure for the column type to a ColVec.
Implements GncSqlColumnTableEntry.
Definition at line 344 of file gnc-sql-column-table-entry.cpp.
|
virtualnoexcept |
Add a GncSqlColumnInfo structure for the column type to a ColVec.
Implements GncSqlColumnTableEntry.
Definition at line 415 of file gnc-sql-column-table-entry.cpp.
|
virtualnoexcept |
Add a GncSqlColumnInfo structure for the column type to a ColVec.
Implements GncSqlColumnTableEntry.
Definition at line 506 of file gnc-sql-column-table-entry.cpp.
|
virtualnoexcept |
Add a GncSqlColumnInfo structure for the column type to a ColVec.
Implements GncSqlColumnTableEntry.
Definition at line 579 of file gnc-sql-column-table-entry.cpp.
|
virtualnoexcept |
Add a GncSqlColumnInfo structure for the column type to a ColVec.
Implements GncSqlColumnTableEntry.
Definition at line 501 of file gnc-tax-table-sql.cpp.
|
virtualnoexcept |
Add a GncSqlColumnInfo structure for the column type to a ColVec.
Implements GncSqlColumnTableEntry.
Definition at line 822 of file gnc-transaction-sql.cpp.
|
overridevirtualnoexcept |
Add a GncSqlColumnInfo structure for the column type to a ColVec.
Implements GncSqlColumnTableEntry.
|
noexcept |
Definition at line 349 of file gnc-account-sql.cpp.
|
noexcept |
Definition at line 75 of file gnc-address-sql.cpp.
|
noexcept |
Definition at line 333 of file gnc-bill-term-sql.cpp.
|
noexcept |
Definition at line 457 of file gnc-budget-sql.cpp.
|
noexcept |
Definition at line 223 of file gnc-commodity-sql.cpp.
|
noexcept |
Definition at line 282 of file gnc-invoice-sql.cpp.
|
noexcept |
Definition at line 195 of file gnc-lots-sql.cpp.
|
noexcept |
Definition at line 170 of file gnc-order-sql.cpp.
|
noexcept |
Definition at line 50 of file gnc-owner-sql.cpp.
|
noexcept |
Definition at line 119 of file gnc-sql-column-table-entry.cpp.
|
noexcept |
Definition at line 164 of file gnc-sql-column-table-entry.cpp.
|
noexcept |
Definition at line 200 of file gnc-sql-column-table-entry.cpp.
|
noexcept |
Definition at line 236 of file gnc-sql-column-table-entry.cpp.
|
noexcept |
Definition at line 288 of file gnc-sql-column-table-entry.cpp.
|
noexcept |
Definition at line 326 of file gnc-sql-column-table-entry.cpp.
|
noexcept |
Definition at line 371 of file gnc-sql-column-table-entry.cpp.
|
noexcept |
Definition at line 462 of file gnc-sql-column-table-entry.cpp.
|
noexcept |
Definition at line 552 of file gnc-sql-column-table-entry.cpp.
|
noexcept |
Definition at line 489 of file gnc-tax-table-sql.cpp.
|
noexcept |
Definition at line 790 of file gnc-transaction-sql.cpp.
|
overridevirtualnoexcept |
Load a value into an object from the database row.
Implements GncSqlColumnTableEntry.