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_setter
 

Data Structures

struct  afw_object_setter_s
 Interface afw_object_setter public struct. More...
 
struct  afw_object_setter_inf_s
 Interface afw_object_setter_inf_s struct. More...
 

Macros

#define AFW_OBJECT_SETTER_INTERFACE_NAME   "afw_object_setter"
 define for interface afw_object_setter name.
 
#define afw_object_setter_set_immutable(instance, xctx)
 Call method set_immutable of interface afw_object_setter. More...
 
#define afw_object_setter_set_property(instance, property_name, value, xctx)
 Call method set_property of interface afw_object_setter. More...
 

Typedefs

typedef void(* afw_object_setter_set_immutable_t) (const afw_object_setter_t *instance, afw_xctx_t *xctx)
 
typedef void(* afw_object_setter_set_property_t) (const afw_object_setter_t *instance, const afw_utf8_t *property_name, const afw_value_t *value, afw_xctx_t *xctx)
 

Detailed Description

This is interface used to set properties and meta of an adaptive object. See interface afw_object method get_object_setter for more information.

Macro Definition Documentation

◆ afw_object_setter_set_immutable

#define afw_object_setter_set_immutable (   instance,
  xctx 
)
Value:
(instance)->inf->set_immutable( \
(instance), \
(xctx) \
)

Call method set_immutable of interface afw_object_setter.

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

Definition at line 3154 of file afw_interface.h.

◆ afw_object_setter_set_property

#define afw_object_setter_set_property (   instance,
  property_name,
  value,
  xctx 
)
Value:
(instance)->inf->set_property( \
(instance), \
(property_name), \
(value), \
(xctx) \
)

Call method set_property of interface afw_object_setter.

Parameters
instancePointer to this object setter instance.
property_nameProperty name of property to set.
valueValue to set or NULL to remove the property.
xctxThis is the caller's xctx.

Definition at line 3170 of file afw_interface.h.

Typedef Documentation

◆ afw_object_setter_set_immutable_t

typedef void(* afw_object_setter_set_immutable_t) (const afw_object_setter_t *instance, afw_xctx_t *xctx)
See also
afw_object_setter_set_immutable()

Definition at line 3129 of file afw_interface.h.

◆ afw_object_setter_set_property_t

typedef void(* afw_object_setter_set_property_t) (const afw_object_setter_t *instance, const afw_utf8_t *property_name, const afw_value_t *value, afw_xctx_t *xctx)
See also
afw_object_setter_set_property()

Definition at line 3135 of file afw_interface.h.