Adaptive Framework  0.9.0
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
afw_object_meta_properties.c
Go to the documentation of this file.
1 // See the 'COPYING' file in the project root for licensing information.
2 /*
3  * Interface afw_object Implementation for meta properties
4  *
5  * Copyright (c) 2010-2023 Clemson University
6  *
7  */
8 
9 
15 #include "afw_internal.h"
16 
17 
18 #define impl_afw_object_get_meta \
19  afw_object_impl_internal_get_meta
20 
21 #define impl_afw_object_get_property_meta \
22  afw_object_impl_internal_get_property_meta
23 
24 #define impl_afw_object_get_next_property_meta \
25  afw_object_impl_internal_get_next_property_meta
26 
27 
28 /* Declares and rti/inf defines for interface afw_object */
29 #define AFW_IMPLEMENTATION_ID "afw_object_meta_properties"
31 
32 
33 /*
34  * Implementation of method release for interface afw_object.
35  */
36 void
38  const afw_object_t * instance,
39  afw_xctx_t *xctx)
40 {
42  AFW_THROW_ERROR_Z(general, "Method not implemented.", xctx);
43 
44 }
45 
46 /*
47  * Implementation of method add_reference for interface afw_object.
48  */
49 void
51  const afw_object_t * instance,
52  afw_xctx_t *xctx)
53 {
55  AFW_THROW_ERROR_Z(general, "Method not implemented.", xctx);
56 
57 }
58 
59 /*
60  * Implementation of method get_count for interface afw_object.
61  */
64  const afw_object_t * instance,
65  afw_xctx_t * xctx)
66 {
67 // <afwdev {prefixed_interface_name}>_self_t *self =
68 // (<afwdev {prefixed_interface_name}>_self_t *)instance;
69 
71  AFW_THROW_ERROR_Z(general, "Method not implemented.", xctx);
72 
73 }
74 
75 /*
76  * Implementation of method get_property for interface afw_object.
77  */
78 const afw_value_t *
80  const afw_object_t * instance,
81  const afw_utf8_t * property_name,
82  afw_xctx_t *xctx)
83 {
85  AFW_THROW_ERROR_Z(general, "Method not implemented.", xctx);
86 
87 }
88 
89 /*
90  * Implementation of method get_next_property for interface afw_object.
91  */
92 const afw_value_t *
94  const afw_object_t * instance,
95  const afw_iterator_t * * iterator,
96  const afw_utf8_t * * property_name,
97  afw_xctx_t *xctx)
98 {
100  AFW_THROW_ERROR_Z(general, "Method not implemented.", xctx);
101 
102 }
103 
104 /*
105  * Implementation of method has_property for interface afw_object.
106  */
109  const afw_object_t * instance,
110  const afw_utf8_t * property_name,
111  afw_xctx_t *xctx)
112 {
114  AFW_THROW_ERROR_Z(general, "Method not implemented.", xctx);
115 
116 }
117 
118 /*
119  * Implementation of method get_setter for interface afw_object.
120  */
121 const afw_object_setter_t *
123  const afw_object_t * instance,
124  afw_xctx_t *xctx)
125 {
127  AFW_THROW_ERROR_Z(general, "Method not implemented.", xctx);
128 
129 }
Adaptive Framework Core Internal.
Interface afw_interface implementation declares.
struct afw_iterator_s afw_iterator_t
_Bool afw_boolean_t
Definition: afw_common.h:373
apr_size_t afw_size_t
size_t.
Definition: afw_common.h:151
#define AFW_THROW_ERROR_Z(code, message_z, xctx)
Macro used to set error and 0 rv in xctx and throw it.
Definition: afw_error.h:283
const afw_object_setter_t * impl_afw_object_get_setter(const afw_object_t *instance, afw_xctx_t *xctx)
void impl_afw_object_add_reference(const afw_object_t *instance, afw_xctx_t *xctx)
const afw_value_t * 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)
void impl_afw_object_release(const afw_object_t *instance, afw_xctx_t *xctx)
const afw_value_t * impl_afw_object_get_property(const afw_object_t *instance, const afw_utf8_t *property_name, afw_xctx_t *xctx)
afw_boolean_t impl_afw_object_has_property(const afw_object_t *instance, const afw_utf8_t *property_name, afw_xctx_t *xctx)
afw_size_t impl_afw_object_get_count(const afw_object_t *instance, afw_xctx_t *xctx)
Interface afw_object public struct.
Interface afw_object_setter public struct.
NFC normalized UTF-8 string.
Definition: afw_common.h:545
Interface afw_value public struct.
Interface afw_xctx public struct.