|
#define | __AFW_OBJECT_IMPL_DECLARES_H__ 1 |
|
#define | _AFW_IMPLEMENTATION_ID_ "unspecified" |
|
#define | _AFW_IMPLEMENTATION_SPECIFIC_ NULL |
|
#define | _AFW_IMPLEMENTATION_SOURCE_FILE_ __FILE__ |
|
|
| impl_afw_object_release (const afw_object_t *instance, afw_xctx_t *xctx) |
|
| impl_afw_object_add_reference (const afw_object_t *instance, afw_xctx_t *xctx) |
|
| impl_afw_object_get_count (const afw_object_t *instance, afw_xctx_t *xctx) |
|
| impl_afw_object_get_meta (const afw_object_t *instance, const afw_pool_t *p, afw_xctx_t *xctx) |
|
| impl_afw_object_get_property (const afw_object_t *instance, const afw_utf8_t *property_name, afw_xctx_t *xctx) |
|
| impl_afw_object_get_property_meta (const afw_object_t *instance, const afw_utf8_t *property_name, const afw_pool_t *p, afw_xctx_t *xctx) |
|
| impl_afw_object_get_next_property (const afw_object_t *instance, const afw_iterator_t **iterator, const afw_utf8_t **property_name, afw_xctx_t *xctx) |
|
| impl_afw_object_get_next_property_meta (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) |
|
| impl_afw_object_has_property (const afw_object_t *instance, const afw_utf8_t *property_name, afw_xctx_t *xctx) |
|
| impl_afw_object_get_setter (const afw_object_t *instance, afw_xctx_t *xctx) |
|
This file should only be included in c source files that implement interface afw_object.
You can find a skeleton for using this #include file in the corresponding source directory in file generated/interface_closet/skeleton_afw_object.c.
Mutiple *_impl.declares.h can be included in each c source file, but only one for each interface name.
After the #include for afw_object_impl_declares.h:
- declarations will exist for all of the interfaces methods with names of impl_afw_object_ followed by the method name.
- rti will be defined with a name of impl_afw_object_rti.
- inf will be defined with a name of impl_afw_object_inf.
Before including, define the following symbols:
- AFW_IMPLEMENTATION_ID - Implementation id string for this implementation.
- AFW_IMPLEMENTATION_INF_SPECIFIER - (optional) defaults to static.
- AFW_IMPLEMENTATION_INF_LABEL - (optional) defaults to impl_afw_object_inf.
Example:
static const sometype_t impl_myimpl_stuff = {
...
};
#define AFW_IMPLEMENTATION_ID "myimpl"
#define AFW_IMPLEMENTATION_SPECIFIC &impl_myimpl_stuff
A second #include "afw_object_impl_declares.h" can be specified if
" * #define "AFW_OBJECT_INF_ONLY" is specified to generate inf only."
Interface afw_interface implementation declares.
◆ impl_afw_object_add_reference()
◆ impl_afw_object_get_count()
- Todo:
- Add code to implement method.
- Todo:
- Add code to implement method.
- Todo:
- Add code to implement method.
- Todo:
- Add code to implement method.
- Todo:
- Add code to implement method.
- Todo:
- Add code to implement method.
- Todo:
- Add code to implement method.
- Todo:
- Add code to implement method.
- Todo:
- Add code to implement method.
- Todo:
- Add code to implement method.
- Todo:
- Add code to implement method.
- Todo:
- Add code to implement method.
- Todo:
- Add code to implement method.
- Todo:
- Add code to implement method.
- Todo:
- Add code to implement method.
- Todo:
- Add code to implement method.
- Todo:
- Add code to implement method.
- Todo:
- Add code to implement method.
Definition at line 87 of file afw_environment_registry_object.c.
◆ impl_afw_object_get_meta()
◆ impl_afw_object_get_next_property()
◆ impl_afw_object_get_next_property_meta()
◆ impl_afw_object_get_property()
◆ impl_afw_object_get_property_meta()
◆ impl_afw_object_get_setter()
◆ impl_afw_object_has_property()
◆ impl_afw_object_release()