GnuCash  5.6-150-g038405b370+
Public Member Functions
GncSqlColumnTableEntryImpl< Type > Class Template Referencefinal
Inheritance diagram for GncSqlColumnTableEntryImpl< Type >:
GncSqlColumnTableEntry

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.
 
template<>
void load (const GncSqlBackend *sql_be, GncSqlRow &row, QofIdTypeConst obj_name, gpointer pObject) const noexcept
 
template<>
void add_to_table (ColVec &vec) const noexcept
 Add a GncSqlColumnInfo structure for the column type to a ColVec.
 
template<>
void add_to_query (QofIdTypeConst obj_name, const gpointer pObject, PairVec &vec) const noexcept
 
template<>
void load (const GncSqlBackend *sql_be, GncSqlRow &row, QofIdTypeConst obj_name, gpointer pObject) const noexcept
 
template<>
void add_to_table (ColVec &vec) const noexcept
 Add a GncSqlColumnInfo structure for the column type to a ColVec.
 
template<>
void add_to_query (QofIdTypeConst obj_name, const gpointer pObject, PairVec &vec) const noexcept
 
template<>
void load (const GncSqlBackend *sql_be, GncSqlRow &row, QofIdTypeConst obj_name, gpointer pObject) const noexcept
 
template<>
void add_to_table (ColVec &vec) const noexcept
 Add a GncSqlColumnInfo structure for the column type to a ColVec.
 
template<>
void add_to_query (QofIdTypeConst obj_name, const gpointer pObject, PairVec &vec) const noexcept
 
template<>
void load (const GncSqlBackend *sql_be, GncSqlRow &row, QofIdTypeConst obj_name, gpointer pObject) const noexcept
 
template<>
void add_to_table (ColVec &vec) const noexcept
 Add a GncSqlColumnInfo structure for the column type to a ColVec.
 
template<>
void add_to_query (QofIdTypeConst obj_name, const gpointer pObject, PairVec &vec) const noexcept
 
template<>
void load (const GncSqlBackend *sql_be, GncSqlRow &row, QofIdTypeConst obj_name, gpointer pObject) const noexcept
 
template<>
void add_to_table (ColVec &vec) const noexcept
 Add a GncSqlColumnInfo structure for the column type to a ColVec.
 
template<>
void add_to_query (QofIdTypeConst obj_name, const gpointer pObject, PairVec &vec) const noexcept
 
template<>
void load (const GncSqlBackend *sql_be, GncSqlRow &row, QofIdTypeConst obj_name, gpointer pObject) const noexcept
 
template<>
void add_to_table (ColVec &vec) const noexcept
 Add a GncSqlColumnInfo structure for the column type to a ColVec.
 
template<>
void add_to_query (QofIdTypeConst obj_name, const gpointer pObject, PairVec &vec) const noexcept
 
template<>
void load (const GncSqlBackend *sql_be, GncSqlRow &row, QofIdTypeConst obj_name, gpointer pObject) const noexcept
 
template<>
void add_to_table (ColVec &vec) const noexcept
 Add a GncSqlColumnInfo structure for the column type to a ColVec.
 
template<>
void add_to_query (QofIdTypeConst obj_name, const gpointer pObject, PairVec &vec) const noexcept
 
template<>
void load (const GncSqlBackend *sql_be, GncSqlRow &row, QofIdTypeConst obj_name, gpointer pObject) const noexcept
 
template<>
void add_to_table (ColVec &vec) const noexcept
 Add a GncSqlColumnInfo structure for the column type to a ColVec.
 
template<>
void add_to_query (QofIdTypeConst obj_name, const gpointer pObject, PairVec &vec) const noexcept
 
template<>
void load (const GncSqlBackend *sql_be, GncSqlRow &row, QofIdTypeConst obj_name, gpointer pObject) const noexcept
 
template<>
void add_to_table (ColVec &vec) const noexcept
 Add a GncSqlColumnInfo structure for the column type to a ColVec.
 
template<>
void add_to_query (QofIdTypeConst obj_name, const gpointer pObject, PairVec &vec) const noexcept
 
template<>
void load (const GncSqlBackend *sql_be, GncSqlRow &row, QofIdTypeConst obj_name, gpointer pObject) const noexcept
 
template<>
void add_to_table (ColVec &vec) const noexcept
 Add a GncSqlColumnInfo structure for the column type to a ColVec.
 
template<>
void add_to_query (QofIdTypeConst obj_name, const gpointer pObject, PairVec &vec) const noexcept
 
template<>
void load (const GncSqlBackend *sql_be, GncSqlRow &row, QofIdTypeConst obj_name, gpointer pObject) const noexcept
 
template<>
void add_to_table (ColVec &vec) const noexcept
 Add a GncSqlColumnInfo structure for the column type to a ColVec.
 
template<>
void add_to_query (QofIdTypeConst obj_name, const gpointer pObject, PairVec &vec) const noexcept
 
template<>
void load (const GncSqlBackend *sql_be, GncSqlRow &row, QofIdTypeConst obj_name, gpointer pObject) const noexcept
 
template<>
void add_to_table (ColVec &vec) const noexcept
 Add a GncSqlColumnInfo structure for the column type to a ColVec.
 
template<>
void add_to_query (QofIdTypeConst obj_name, const gpointer pObject, PairVec &vec) const noexcept
 
template<>
void load (const GncSqlBackend *sql_be, GncSqlRow &row, QofIdTypeConst obj_name, gpointer pObject) const noexcept
 
template<>
void add_to_table (ColVec &vec) const noexcept
 Add a GncSqlColumnInfo structure for the column type to a ColVec.
 
template<>
void add_to_query (QofIdTypeConst obj_name, const gpointer pObject, PairVec &vec) const noexcept
 
template<>
void load (const GncSqlBackend *sql_be, GncSqlRow &row, QofIdTypeConst obj_name, gpointer pObject) const noexcept
 
template<>
void add_to_table (ColVec &vec) const noexcept
 Add a GncSqlColumnInfo structure for the column type to a ColVec.
 
template<>
void add_to_query (QofIdTypeConst obj_name, const gpointer pObject, PairVec &vec) const noexcept
 
template<>
void load (const GncSqlBackend *sql_be, GncSqlRow &row, QofIdTypeConst obj_name, gpointer pObject) const noexcept
 
template<>
void add_to_table (ColVec &vec) const noexcept
 Add a GncSqlColumnInfo structure for the column type to a ColVec.
 
template<>
void add_to_query (QofIdTypeConst obj_name, const gpointer pObject, PairVec &vec) const noexcept
 
template<>
void load (const GncSqlBackend *sql_be, GncSqlRow &row, QofIdTypeConst obj_name, gpointer pObject) const noexcept
 
template<>
void add_to_table (ColVec &vec) const noexcept
 Add a GncSqlColumnInfo structure for the column type to a ColVec.
 
template<>
void add_to_query (QofIdTypeConst obj_name, const gpointer pObject, PairVec &vec) const noexcept
 
template<>
void load (const GncSqlBackend *sql_be, GncSqlRow &row, QofIdTypeConst obj_name, gpointer pObject) const noexcept
 
template<>
void add_to_table (ColVec &vec) const noexcept
 Add a GncSqlColumnInfo structure for the column type to a ColVec.
 
template<>
void add_to_query (QofIdTypeConst obj_name, const gpointer pObject, PairVec &vec) const noexcept
 
template<>
void load (const GncSqlBackend *sql_be, GncSqlRow &row, QofIdTypeConst obj_name, gpointer pObject) const noexcept
 
template<>
void add_to_table (ColVec &vec) const noexcept
 Add a GncSqlColumnInfo structure for the column type to a ColVec.
 
template<>
void add_to_query (QofIdTypeConst obj_name, const gpointer pObject, PairVec &vec) const noexcept
 
template<>
void load (const GncSqlBackend *sql_be, GncSqlRow &row, QofIdTypeConst obj_name, gpointer pObject) const noexcept
 
template<>
void add_to_table (ColVec &vec) const noexcept
 Add a GncSqlColumnInfo structure for the column type to a ColVec.
 
template<>
void add_to_query (QofIdTypeConst obj_name, const gpointer pObject, PairVec &vec) const noexcept
 
template<>
void load (const GncSqlBackend *sql_be, GncSqlRow &row, QofIdTypeConst obj_name, gpointer pObject) const noexcept
 
template<>
void add_to_table (ColVec &vec) const noexcept
 Add a GncSqlColumnInfo structure for the column type to a ColVec.
 
template<>
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 >
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. More...
 
void add_objectref_guid_to_table (ColVec &vec) const noexcept
 Adds a column info structure for an object reference GncGUID to a ColVec. More...
 
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
 

Detailed Description

template<GncSqlObjectType Type>
class GncSqlColumnTableEntryImpl< Type >

Definition at line 267 of file gnc-sql-column-table-entry.hpp.


The documentation for this class was generated from the following file: