Adaptive Framework  0.9.0
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
Modules | Data Structures | Macros | Typedefs
afw_object_associative_array

Modules

 afw_object_associative_array
 

Data Structures

struct  afw_object_associative_array_s
 Interface afw_object_associative_array public struct. More...
 
struct  afw_object_associative_array_inf_s
 Interface afw_object_associative_array_inf_s struct. More...
 

Macros

#define AFW_OBJECT_ASSOCIATIVE_ARRAY_INTERFACE_NAME   "afw_object_associative_array"
 define for interface afw_object_associative_array name.
 
#define afw_object_associative_array_release(instance, xctx)
 Call method release of interface afw_object_associative_array. More...
 
#define afw_object_associative_array_add_reference(instance, xctx)
 Call method add_reference of interface afw_object_associative_array. More...
 
#define afw_object_associative_array_get(instance, key, xctx)
 Call method get of interface afw_object_associative_array. More...
 
#define afw_object_associative_array_get_reference(instance, key, xctx)
 Call method get_reference of interface afw_object_associative_array. More...
 
#define afw_object_associative_array_for_each(instance, context, cb, xctx)
 Call method for_each of interface afw_object_associative_array. More...
 
#define afw_object_associative_array_set(instance, key, object, xctx)
 Call method set of interface afw_object_associative_array. More...
 

Typedefs

typedef void(* afw_object_associative_array_release_t) (const afw_object_associative_array_t *instance, afw_xctx_t *xctx)
 
typedef void(* afw_object_associative_array_add_reference_t) (const afw_object_associative_array_t *instance, afw_xctx_t *xctx)
 
typedef const afw_object_t *(* afw_object_associative_array_get_t) (const afw_object_associative_array_t *instance, const afw_utf8_t *key, afw_xctx_t *xctx)
 
typedef const afw_object_t *(* afw_object_associative_array_get_reference_t) (const afw_object_associative_array_t *instance, const afw_utf8_t *key, afw_xctx_t *xctx)
 
typedef void(* afw_object_associative_array_for_each_t) (const afw_object_associative_array_t *instance, void *context, afw_object_cb_t cb, afw_xctx_t *xctx)
 
typedef void(* afw_object_associative_array_set_t) (const afw_object_associative_array_t *instance, const afw_utf8_t *key, const afw_object_t *object, afw_xctx_t *xctx)
 

Detailed Description

This is interface for an object associative array.

Macro Definition Documentation

◆ afw_object_associative_array_add_reference

#define afw_object_associative_array_add_reference (   instance,
  xctx 
)
Value:
(instance)->inf->add_reference( \
(instance), \
(xctx) \
)

Call method add_reference of interface afw_object_associative_array.

Parameters
instancePointer to this object associative array instance.
xctxThis is the caller's xctx.

Definition at line 3789 of file afw_interface.h.

◆ afw_object_associative_array_for_each

#define afw_object_associative_array_for_each (   instance,
  context,
  cb,
  xctx 
)
Value:
(instance)->inf->for_each( \
(instance), \
(context), \
(cb), \
(xctx) \
)

Call method for_each of interface afw_object_associative_array.

Parameters
instancePointer to this object associative array instance.
contextContext passed to callback function.
cbCallback function.
xctxThis is the caller's xctx.

Definition at line 3839 of file afw_interface.h.

◆ afw_object_associative_array_get

#define afw_object_associative_array_get (   instance,
  key,
  xctx 
)
Value:
(instance)->inf->get( \
(instance), \
(key), \
(xctx) \
)

Call method get of interface afw_object_associative_array.

Parameters
instancePointer to this object associative array instance.
keyThe key associated with the object.
xctxThis is the caller's xctx.

Definition at line 3804 of file afw_interface.h.

◆ afw_object_associative_array_get_reference

#define afw_object_associative_array_get_reference (   instance,
  key,
  xctx 
)
Value:
(instance)->inf->get_reference( \
(instance), \
(key), \
(xctx) \
)

Call method get_reference of interface afw_object_associative_array.

Parameters
instancePointer to this object associative array instance.
keyThe key associated with the object.
xctxThis is the caller's xctx.

Definition at line 3821 of file afw_interface.h.

◆ afw_object_associative_array_release

#define afw_object_associative_array_release (   instance,
  xctx 
)
Value:
(instance)->inf->release( \
(instance), \
(xctx) \
)

Call method release of interface afw_object_associative_array.

Parameters
instancePointer to this object associative array instance.
xctxThis is the caller's xctx.

Definition at line 3775 of file afw_interface.h.

◆ afw_object_associative_array_set

#define afw_object_associative_array_set (   instance,
  key,
  object,
  xctx 
)
Value:
(instance)->inf->set( \
(instance), \
(key), \
(object), \
(xctx) \
)

Call method set of interface afw_object_associative_array.

Parameters
instancePointer to this object associative array instance.
keyThe key associated with the object instance.
objectObject instance to associate with the key or NULL to remove a key.
xctxThis is the caller's xctx.

Definition at line 3860 of file afw_interface.h.

Typedef Documentation

◆ afw_object_associative_array_add_reference_t

typedef void(* afw_object_associative_array_add_reference_t) (const afw_object_associative_array_t *instance, afw_xctx_t *xctx)

◆ afw_object_associative_array_for_each_t

typedef void(* afw_object_associative_array_for_each_t) (const afw_object_associative_array_t *instance, void *context, afw_object_cb_t cb, afw_xctx_t *xctx)
See also
afw_object_associative_array_for_each()

Definition at line 3744 of file afw_interface.h.

◆ afw_object_associative_array_get_reference_t

typedef const afw_object_t*(* afw_object_associative_array_get_reference_t) (const afw_object_associative_array_t *instance, const afw_utf8_t *key, afw_xctx_t *xctx)

◆ afw_object_associative_array_get_t

typedef const afw_object_t*(* afw_object_associative_array_get_t) (const afw_object_associative_array_t *instance, const afw_utf8_t *key, afw_xctx_t *xctx)
See also
afw_object_associative_array_get()

Definition at line 3730 of file afw_interface.h.

◆ afw_object_associative_array_release_t

typedef void(* afw_object_associative_array_release_t) (const afw_object_associative_array_t *instance, afw_xctx_t *xctx)
See also
afw_object_associative_array_release()

Definition at line 3718 of file afw_interface.h.

◆ afw_object_associative_array_set_t

typedef void(* afw_object_associative_array_set_t) (const afw_object_associative_array_t *instance, const afw_utf8_t *key, const afw_object_t *object, afw_xctx_t *xctx)
See also
afw_object_associative_array_set()

Definition at line 3752 of file afw_interface.h.