Pointer Functions
[Pointer with Reference Counter]

This group contains the definition of a GWEN_REFPTR. More...

Collaboration diagram for Pointer Functions:

Getting and Setting Flags

These flags are used for newly created GWEN_REFPTR to provide a default value. Please see GWEN_REFPTR_FLAGS_AUTODELETE and following.



GWENHYWFAR_API void GWEN_RefPtr_AddFlags (GWEN_REFPTR *rp, uint32_t fl)
GWENHYWFAR_API void GWEN_RefPtr_DelFlags (GWEN_REFPTR *rp, uint32_t fl)
GWENHYWFAR_API uint32_t GWEN_RefPtr_GetFlags (const GWEN_REFPTR *rp)
GWENHYWFAR_API void GWEN_RefPtr_SetFlags (GWEN_REFPTR *rp, uint32_t fl)
GWENHYWFAR_API void GWEN_RefPtrInfo_AddFlags (GWEN_REFPTR_INFO *rpi, uint32_t fl)
GWENHYWFAR_API void GWEN_RefPtrInfo_DelFlags (GWEN_REFPTR_INFO *rpi, uint32_t fl)
GWENHYWFAR_API uint32_t GWEN_RefPtrInfo_GetFlags (const GWEN_REFPTR_INFO *rpi)
GWENHYWFAR_API void GWEN_RefPtrInfo_SetFlags (GWEN_REFPTR_INFO *rpi, uint32_t fl)

Constructor, Destructor, Copy, Duplicate functions



GWENHYWFAR_API GWEN_REFPTRGWEN_RefPtr_copy (const GWEN_REFPTR *rp)
GWENHYWFAR_API GWEN_REFPTRGWEN_RefPtr_dup (const GWEN_REFPTR *rp)
GWENHYWFAR_API void GWEN_RefPtr_free (GWEN_REFPTR *rp)
GWENHYWFAR_API GWEN_REFPTRGWEN_RefPtr_new (void *dp, GWEN_REFPTR_INFO *rpi)
GWENHYWFAR_API void GWEN_RefPtrInfo_Attach (GWEN_REFPTR_INFO *rpi)
GWENHYWFAR_API void GWEN_RefPtrInfo_free (GWEN_REFPTR_INFO *rpi)
GWENHYWFAR_API GWEN_REFPTR_INFOGWEN_RefPtrInfo_new ()

Data Functions



GWENHYWFAR_API void * GWEN_RefPtr_GetData (const GWEN_REFPTR *rp)
GWENHYWFAR_API void GWEN_RefPtr_SetData (GWEN_REFPTR *rp, void *dp, GWEN_REFPTR_INFO *rpi)

Detailed Description

This group contains the definition of a GWEN_REFPTR.


Function Documentation

GWENHYWFAR_API void GWEN_RefPtr_AddFlags ( GWEN_REFPTR rp,
uint32_t  fl 
)

Definition at line 271 of file refptr.c.

References DBG_INFO, and GWEN_LOGDOMAIN.

Referenced by GWEN_StringList2_AppendString(), and GWEN_StringList2_InsertString().

Here is the caller graph for this function:

GWENHYWFAR_API GWEN_REFPTR* GWEN_RefPtr_copy ( const GWEN_REFPTR rp  ) 

Definition at line 206 of file refptr.c.

References GWEN_RefPtr_new().

Here is the call graph for this function:

GWENHYWFAR_API void GWEN_RefPtr_DelFlags ( GWEN_REFPTR rp,
uint32_t  fl 
)

Definition at line 282 of file refptr.c.

References DBG_INFO, and GWEN_LOGDOMAIN.

GWENHYWFAR_API GWEN_REFPTR* GWEN_RefPtr_dup ( const GWEN_REFPTR rp  ) 

Definition at line 194 of file refptr.c.

References GWEN_NEW_OBJECT, and GWEN_RefPtrObject_Attach().

Referenced by GWEN__ListPtr_dup().

Here is the call graph for this function:

Here is the caller graph for this function:

GWENHYWFAR_API void GWEN_RefPtr_free ( GWEN_REFPTR rp  ) 

Definition at line 184 of file refptr.c.

References DBG_VERBOUS, GWEN_FREE_OBJECT, GWEN_LOGDOMAIN, and GWEN_RefPtrObject_free().

Referenced by GWEN_ListEntry_free().

Here is the call graph for this function:

Here is the caller graph for this function:

GWENHYWFAR_API void* GWEN_RefPtr_GetData ( const GWEN_REFPTR rp  ) 
GWENHYWFAR_API uint32_t GWEN_RefPtr_GetFlags ( const GWEN_REFPTR rp  ) 

Definition at line 250 of file refptr.c.

References DBG_INFO, and GWEN_LOGDOMAIN.

GWENHYWFAR_API GWEN_REFPTR* GWEN_RefPtr_new ( void *  dp,
GWEN_REFPTR_INFO rpi 
)

Definition at line 172 of file refptr.c.

References GWEN_NEW_OBJECT, and GWEN_RefPtrObject_new().

Referenced by GWEN_List_PushBack(), GWEN_List_PushFront(), GWEN_RefPtr_copy(), GWEN_StringList2_AppendString(), and GWEN_StringList2_InsertString().

Here is the call graph for this function:

Here is the caller graph for this function:

GWENHYWFAR_API void GWEN_RefPtr_SetData ( GWEN_REFPTR rp,
void *  dp,
GWEN_REFPTR_INFO rpi 
)

Definition at line 239 of file refptr.c.

References GWEN_RefPtrObject_free(), and GWEN_RefPtrObject_new().

Here is the call graph for this function:

GWENHYWFAR_API void GWEN_RefPtr_SetFlags ( GWEN_REFPTR rp,
uint32_t  fl 
)

Definition at line 260 of file refptr.c.

References DBG_INFO, and GWEN_LOGDOMAIN.

GWENHYWFAR_API void GWEN_RefPtrInfo_AddFlags ( GWEN_REFPTR_INFO rpi,
uint32_t  fl 
)

Definition at line 94 of file refptr.c.

GWENHYWFAR_API void GWEN_RefPtrInfo_Attach ( GWEN_REFPTR_INFO rpi  ) 

Definition at line 138 of file refptr.c.

Referenced by GWEN_List_SetRefPtrInfo(), and GWEN_RefPtrObject_new().

Here is the caller graph for this function:

GWENHYWFAR_API void GWEN_RefPtrInfo_DelFlags ( GWEN_REFPTR_INFO rpi,
uint32_t  fl 
)

Definition at line 101 of file refptr.c.

GWENHYWFAR_API void GWEN_RefPtrInfo_free ( GWEN_REFPTR_INFO rpi  ) 

Definition at line 126 of file refptr.c.

References DBG_VERBOUS, GWEN_FREE_OBJECT, and GWEN_LOGDOMAIN.

Referenced by GWEN_List_free(), GWEN_List_SetRefPtrInfo(), and GWEN_StringList2_new().

Here is the caller graph for this function:

GWENHYWFAR_API uint32_t GWEN_RefPtrInfo_GetFlags ( const GWEN_REFPTR_INFO rpi  ) 

Definition at line 80 of file refptr.c.

GWENHYWFAR_API GWEN_REFPTR_INFO* GWEN_RefPtrInfo_new (  ) 

Definition at line 115 of file refptr.c.

References GWEN_NEW_OBJECT.

Referenced by GWEN_StringList2_new().

Here is the caller graph for this function:

GWENHYWFAR_API void GWEN_RefPtrInfo_SetFlags ( GWEN_REFPTR_INFO rpi,
uint32_t  fl 
)

Definition at line 87 of file refptr.c.

Generated on Mon Jul 5 22:59:04 2010 for gwenhywfar by  doxygen 1.6.3