GnuCash
5.6-150-g038405b370+
|
Private interfaces, not meant to be used by applications. More...
Files | |
file | qofobject-p.h |
the Core Object Registration/Lookup Private Interface | |
Data Structures | |
struct | QofBackend |
Book_Private | |
void | qof_book_set_backend (QofBook *book, QofBackend *be) |
gboolean | qof_book_register (void) |
gchar * | qof_book_normalize_counter_format_internal (const gchar *p, const gchar *gint64_format, gchar **err_msg) |
Validate a counter format string with a given format specifier. More... | |
void | qof_book_print_dirty (const QofBook *book) |
This debugging function can be used to traverse the book structure and all subsidiary structures, printing out which structures have been marked dirty. | |
Class_Private | |
void | qof_class_init (void) |
void | qof_class_shutdown (void) |
QofSortFunc | qof_class_get_default_sort (QofIdTypeConst obj_name) |
Entity_Private | |
void | qof_collection_insert_entity (QofCollection *, QofInstance *) |
Take entity, remove it from whatever collection its currently in, and place it in a new collection. More... | |
void | qof_collection_mark_clean (QofCollection *) |
reset value of dirty flag | |
void | qof_collection_mark_dirty (QofCollection *) |
void | qof_collection_print_dirty (const QofCollection *col, gpointer dummy) |
Objects_Private | |
void | qof_object_book_begin (QofBook *book) |
To be called from within the book. | |
void | qof_object_book_end (QofBook *book) |
gboolean | qof_object_is_dirty (const QofBook *book) |
void | qof_object_mark_clean (QofBook *book) |
gboolean | qof_object_compliance (QofIdTypeConst type_name, gboolean warn) |
check an object can be created and supports iteration More... | |
Private interfaces, not meant to be used by applications.
gchar* qof_book_normalize_counter_format_internal | ( | const gchar * | p, |
const gchar * | gint64_format, | ||
gchar ** | err_msg | ||
) |
Validate a counter format string with a given format specifier.
If valid, returns a normalized format string, that is whatever long int specifier was used will be replaced with the value of the posix "PRIx64" macro. If not valid returns NULL and optionally set an error message is a non-null err_msg parameter was passed. The caller should free the returned format string and error message with g_free.
Definition at line 773 of file qofbook.cpp.
void qof_collection_insert_entity | ( | QofCollection * | , |
QofInstance * | |||
) |
Take entity, remove it from whatever collection its currently in, and place it in a new collection.
To be used only for moving entity from one book to another.
Definition at line 95 of file qofid.cpp.
gboolean qof_object_compliance | ( | QofIdTypeConst | type_name, |
gboolean | warn | ||
) |
check an object can be created and supports iteration
type_name | object to check |
warn | If called only once per operation, pass TRUE to log objects that fail the compliance check. To prevent repeated log messages when calling more than once, pass FALSE. |
Definition at line 167 of file qofobject.cpp.