GnuCash c935c2f+
Loading...
Searching...
No Matches
Public Member Functions | Data Fields
QofCollection Struct Reference

Public Member Functions

 QofCollection_s (QofIdType type)
 

Data Fields

QofIdType e_type
 
gboolean is_dirty
 
GHashTable * hash_of_entities
 
gpointer data
 

Detailed Description

Definition at line 36 of file qofid.cpp.

Constructor & Destructor Documentation

◆ QofCollection_s()

QofCollection::QofCollection_s ( QofIdType  type)
inline

Definition at line 44 of file qofid.cpp.

44 : e_type{static_cast<QofIdType>(CACHE_INSERT(type))}
45 , is_dirty{FALSE}
46 , hash_of_entities{guid_hash_table_new()}
47 , data{NULL} {}
const gchar * QofIdType
QofIdType declaration.
Definition qofid.h:80
GHashTable * guid_hash_table_new(void)
Returns a GHashTable with <GUID*> as key and a <gpointer> as value and no destructor functions for ke...
Definition guid.cpp:276

◆ ~QofCollection_s()

QofCollection::~QofCollection_s ( )
inline

Definition at line 48 of file qofid.cpp.

49 {
50 CACHE_REMOVE (e_type);
51 g_hash_table_destroy (hash_of_entities);
52 }

Field Documentation

◆ data

gpointer QofCollection::data

Definition at line 42 of file qofid.cpp.

◆ e_type

QofIdType QofCollection::e_type

Definition at line 38 of file qofid.cpp.

◆ hash_of_entities

GHashTable* QofCollection::hash_of_entities

Definition at line 41 of file qofid.cpp.

◆ is_dirty

gboolean QofCollection::is_dirty

Definition at line 39 of file qofid.cpp.


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