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

Modules

 afw_object
 

Data Structures

struct  afw_object_s
 Interface afw_object public struct. More...
 
struct  afw_object_inf_s
 Interface afw_object_inf_s struct. More...
 

Macros

#define AFW_OBJECT_INTERFACE_NAME   "afw_object"
 define for interface afw_object name.
 
#define afw_object_release(instance, xctx)
 Call method release of interface afw_object. More...
 
#define afw_object_add_reference(instance, xctx)
 Call method add_reference of interface afw_object. More...
 
#define afw_object_get_count(instance, xctx)
 Call method get_count of interface afw_object. More...
 
#define afw_object_get_meta(instance, p, xctx)
 Call method get_meta of interface afw_object. More...
 
#define afw_object_get_property(instance, property_name, xctx)
 Call method get_property of interface afw_object. More...
 
#define afw_object_get_property_meta(instance, property_name, p, xctx)
 Call method get_property_meta of interface afw_object. More...
 
#define afw_object_get_next_property(instance, iterator, property_name, xctx)
 Call method get_next_property of interface afw_object. More...
 
#define afw_object_get_next_property_meta(instance, iterator, property_name, p, xctx)
 Call method get_next_property_meta of interface afw_object. More...
 
#define afw_object_has_property(instance, property_name, xctx)
 Call method has_property of interface afw_object. More...
 
#define afw_object_get_setter(instance, xctx)
 Call method get_setter of interface afw_object. More...
 

Typedefs

typedef void(* afw_object_release_t) (const afw_object_t *instance, afw_xctx_t *xctx)
 
typedef void(* afw_object_add_reference_t) (const afw_object_t *instance, afw_xctx_t *xctx)
 
typedef afw_size_t(* afw_object_get_count_t) (const afw_object_t *instance, afw_xctx_t *xctx)
 
typedef const afw_value_t *(* afw_object_get_meta_t) (const afw_object_t *instance, const afw_pool_t *p, afw_xctx_t *xctx)
 
typedef const afw_value_t *(* afw_object_get_property_t) (const afw_object_t *instance, const afw_utf8_t *property_name, afw_xctx_t *xctx)
 
typedef const afw_value_t *(* afw_object_get_property_meta_t) (const afw_object_t *instance, const afw_utf8_t *property_name, const afw_pool_t *p, afw_xctx_t *xctx)
 
typedef const afw_value_t *(* afw_object_get_next_property_t) (const afw_object_t *instance, const afw_iterator_t **iterator, const afw_utf8_t **property_name, afw_xctx_t *xctx)
 
typedef const afw_value_t *(* afw_object_get_next_property_meta_t) (const afw_object_t *instance, const afw_iterator_t **iterator, const afw_utf8_t **property_name, const afw_pool_t *p, afw_xctx_t *xctx)
 
typedef afw_boolean_t(* afw_object_has_property_t) (const afw_object_t *instance, const afw_utf8_t *property_name, afw_xctx_t *xctx)
 
typedef const afw_object_setter_t *(* afw_object_get_setter_t) (const afw_object_t *instance, afw_xctx_t *xctx)
 

Detailed Description

This is interface used to access the properties of an adaptive object.

Macro Definition Documentation

◆ afw_object_add_reference

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

Call method add_reference of interface afw_object.

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

Definition at line 3311 of file afw_interface.h.

◆ afw_object_get_count

#define afw_object_get_count (   instance,
  xctx 
)
Value:
(instance)->inf->get_count( \
(instance), \
(xctx) \
)

Call method get_count of interface afw_object.

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

Definition at line 3325 of file afw_interface.h.

◆ afw_object_get_meta

#define afw_object_get_meta (   instance,
  p,
  xctx 
)
Value:
(instance)->inf->get_meta( \
(instance), \
(p), \
(xctx) \
)

Call method get_meta of interface afw_object.

Parameters
instancePointer to this object instance.
pPool to use for result.
xctxThis is the caller's xctx.

Definition at line 3340 of file afw_interface.h.

◆ afw_object_get_next_property

#define afw_object_get_next_property (   instance,
  iterator,
  property_name,
  xctx 
)
Value:
(instance)->inf->get_next_property( \
(instance), \
(iterator), \
(property_name), \
(xctx) \
)

Call method get_next_property of interface afw_object.

Parameters
instancePointer to this object instance.
iteratorAddress of iterator pointer. Set to NULL before call to get first property.
property_namePlace to return pointer to property name or NULL.
xctxThis is the caller's xctx.

Definition at line 3396 of file afw_interface.h.

◆ afw_object_get_next_property_meta

#define afw_object_get_next_property_meta (   instance,
  iterator,
  property_name,
  p,
  xctx 
)
Value:
(instance)->inf->get_next_property_meta( \
(instance), \
(iterator), \
(property_name), \
(p), \
(xctx) \
)

Call method get_next_property_meta of interface afw_object.

Parameters
instancePointer to this object instance.
iteratorAddress of iterator pointer. Set to NULL before call to get first property.
property_namePlace to return pointer to property name.
pPool to use for result.
xctxThis is the caller's xctx.

Definition at line 3418 of file afw_interface.h.

◆ afw_object_get_property

#define afw_object_get_property (   instance,
  property_name,
  xctx 
)
Value:
(instance)->inf->get_property( \
(instance), \
(property_name), \
(xctx) \
)

Call method get_property of interface afw_object.

Parameters
instancePointer to this object instance.
property_nameProperty name.
xctxThis is the caller's xctx.

Definition at line 3357 of file afw_interface.h.

◆ afw_object_get_property_meta

#define afw_object_get_property_meta (   instance,
  property_name,
  p,
  xctx 
)
Value:
(instance)->inf->get_property_meta( \
(instance), \
(property_name), \
(p), \
(xctx) \
)

Call method get_property_meta of interface afw_object.

Parameters
instancePointer to this object instance.
property_nameProperty name.
pPool to use for result.
xctxThis is the caller's xctx.

Definition at line 3375 of file afw_interface.h.

◆ afw_object_get_setter

#define afw_object_get_setter (   instance,
  xctx 
)
Value:
(instance)->inf->get_setter( \
(instance), \
(xctx) \
)

Call method get_setter of interface afw_object.

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

Definition at line 3455 of file afw_interface.h.

◆ afw_object_has_property

#define afw_object_has_property (   instance,
  property_name,
  xctx 
)
Value:
(instance)->inf->has_property( \
(instance), \
(property_name), \
(xctx) \
)

Call method has_property of interface afw_object.

Parameters
instancePointer to this object instance.
property_nameProperty name.
xctxThis is the caller's xctx.

Definition at line 3439 of file afw_interface.h.

◆ afw_object_release

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

Call method release of interface afw_object.

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

Definition at line 3297 of file afw_interface.h.

Typedef Documentation

◆ afw_object_add_reference_t

typedef void(* afw_object_add_reference_t) (const afw_object_t *instance, afw_xctx_t *xctx)
See also
afw_object_add_reference()

Definition at line 3214 of file afw_interface.h.

◆ afw_object_get_count_t

typedef afw_size_t(* afw_object_get_count_t) (const afw_object_t *instance, afw_xctx_t *xctx)
See also
afw_object_get_count()

Definition at line 3220 of file afw_interface.h.

◆ afw_object_get_meta_t

typedef const afw_value_t*(* afw_object_get_meta_t) (const afw_object_t *instance, const afw_pool_t *p, afw_xctx_t *xctx)
See also
afw_object_get_meta()

Definition at line 3226 of file afw_interface.h.

◆ afw_object_get_next_property_meta_t

typedef const afw_value_t*(* afw_object_get_next_property_meta_t) (const afw_object_t *instance, const afw_iterator_t **iterator, const afw_utf8_t **property_name, const afw_pool_t *p, afw_xctx_t *xctx)
See also
afw_object_get_next_property_meta()

Definition at line 3256 of file afw_interface.h.

◆ afw_object_get_next_property_t

typedef const afw_value_t*(* afw_object_get_next_property_t) (const afw_object_t *instance, const afw_iterator_t **iterator, const afw_utf8_t **property_name, afw_xctx_t *xctx)
See also
afw_object_get_next_property()

Definition at line 3248 of file afw_interface.h.

◆ afw_object_get_property_meta_t

typedef const afw_value_t*(* afw_object_get_property_meta_t) (const afw_object_t *instance, const afw_utf8_t *property_name, const afw_pool_t *p, afw_xctx_t *xctx)
See also
afw_object_get_property_meta()

Definition at line 3240 of file afw_interface.h.

◆ afw_object_get_property_t

typedef const afw_value_t*(* afw_object_get_property_t) (const afw_object_t *instance, const afw_utf8_t *property_name, afw_xctx_t *xctx)
See also
afw_object_get_property()

Definition at line 3233 of file afw_interface.h.

◆ afw_object_get_setter_t

typedef const afw_object_setter_t*(* afw_object_get_setter_t) (const afw_object_t *instance, afw_xctx_t *xctx)
See also
afw_object_get_setter()

Definition at line 3272 of file afw_interface.h.

◆ afw_object_has_property_t

typedef afw_boolean_t(* afw_object_has_property_t) (const afw_object_t *instance, const afw_utf8_t *property_name, afw_xctx_t *xctx)
See also
afw_object_has_property()

Definition at line 3265 of file afw_interface.h.

◆ afw_object_release_t

typedef void(* afw_object_release_t) (const afw_object_t *instance, afw_xctx_t *xctx)
See also
afw_object_release()

Definition at line 3208 of file afw_interface.h.