Adaptive Framework  0.9.0
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
afw_object_meta_property.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 property
4  *
5  * Copyright (c) 2010-2023 Clemson University
6  *
7  */
8 
9 
15 #include "afw_internal.h"
16 
17 
18 
19 #define impl_afw_object_get_meta \
20  afw_object_impl_internal_get_meta
21 
22 #define impl_afw_object_get_property_meta \
23  afw_object_impl_internal_get_property_meta
24 
25 #define impl_afw_object_get_next_property_meta \
26  afw_object_impl_internal_get_next_property_meta
27 
28 
29 /* Declares and rti/inf defines for interface afw_object */
30 #define AFW_IMPLEMENTATION_ID "afw_object_meta_property"
32 
33 
34 /*
35  * Implementation of method release for interface afw_object.
36  */
37 void
39  const afw_object_t *instance,
40  afw_xctx_t *xctx)
41 {
43  AFW_THROW_ERROR_Z(general, "Method not implemented.", xctx);
44 
45 }
46 
47 /*
48  * Implementation of method add_reference for interface afw_object.
49  */
50 void
52  const afw_object_t *instance,
53  afw_xctx_t *xctx)
54 {
56  AFW_THROW_ERROR_Z(general, "Method not implemented.", xctx);
57 
58 }
59 
60 /*
61  * Implementation of method get_count for interface afw_object.
62  */
65  const afw_object_t * instance,
66  afw_xctx_t * xctx)
67 {
68 // <afwdev {prefixed_interface_name}>_self_t *self =
69 // (<afwdev {prefixed_interface_name}>_self_t *)instance;
70 
72  AFW_THROW_ERROR_Z(general, "Method not implemented.", xctx);
73 
74 }
75 
76 /*
77  * Implementation of method get_property for interface afw_object.
78  */
79 const afw_value_t *
81  const afw_object_t *instance,
82  const afw_utf8_t *property_name,
83  afw_xctx_t *xctx)
84 {
86  AFW_THROW_ERROR_Z(general, "Method not implemented.", xctx);
87 
88 }
89 
90 /*
91  * Implementation of method get_next_property for interface afw_object.
92  */
93 const afw_value_t *
95  const afw_object_t *instance,
96  const afw_iterator_t **iterator,
97  const afw_utf8_t **property_name,
98  afw_xctx_t *xctx)
99 {
101  AFW_THROW_ERROR_Z(general, "Method not implemented.", xctx);
102 
103 }
104 
105 /*
106  * Implementation of method has_property for interface afw_object.
107  */
110  const afw_object_t *instance,
111  const afw_utf8_t *property_name,
112  afw_xctx_t *xctx)
113 {
115  AFW_THROW_ERROR_Z(general, "Method not implemented.", xctx);
116 
117 }
118 
119 /*
120  * Implementation of method get_setter for interface afw_object.
121  */
122 const afw_object_setter_t *
124  const afw_object_t *instance,
125  afw_xctx_t *xctx)
126 {
128  AFW_THROW_ERROR_Z(general, "Method not implemented.", xctx);
129 
130 }
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.