Adaptive Framework  0.9.0
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
afw_list_setter_impl_declares.h
Go to the documentation of this file.
1 // See the 'COPYING' file in the project root for licensing information.
2 /*
3  * Interface afw_interface Implementation Declares
4  *
5  * Copyright (c) 2010-2023 Clemson University
6  *
7  */
8 
10 
12 
75 #ifdef __AFW_LIST_SETTER_IMPL_DECLARES_H__
76 #ifndef AFW_LIST_SETTER_INF_ONLY
77 #error "afw_list_setter_impl_declares.h already included."
78 #endif
79 #endif
80 #ifndef __AFW_LIST_SETTER_IMPL_DECLARES_H__
81 #ifdef AFW_LIST_SETTER_INF_ONLY
82 #error "afw_list_setter_impl_declares.h must be included before AFW_LIST_SETTER_INF_ONLY."
83 #endif
84 #define __AFW_LIST_SETTER_IMPL_DECLARES_H__ 1
85 #endif
86 
87 #ifdef AFW_IMPLEMENTATION_ID
88 #define _AFW_IMPLEMENTATION_ID_ AFW_IMPLEMENTATION_ID
89 #else
90 #define _AFW_IMPLEMENTATION_ID_ "unspecified"
91 #endif
92 #ifdef AFW_IMPLEMENTATION_SPECIFIC
93 #define _AFW_IMPLEMENTATION_SPECIFIC_ AFW_IMPLEMENTATION_SPECIFIC
94 #else
95 #define _AFW_IMPLEMENTATION_SPECIFIC_ NULL
96 #endif
97 #ifndef AFW_LIST_SETTER_INF_ONLY
98 
99 #ifndef impl_afw_list_setter_set_immutable
100 /* Declare method set_immutable */
101 AFW_DECLARE_STATIC(void)
102 impl_afw_list_setter_set_immutable(
103  const afw_list_setter_t * instance,
104  afw_xctx_t * xctx);
105 #endif
106 
107 #ifndef impl_afw_list_setter_determine_data_type_and_set_immutable
108 /* Declare method determine_data_type_and_set_immutable */
109 AFW_DECLARE_STATIC(const afw_data_type_t *)
110 impl_afw_list_setter_determine_data_type_and_set_immutable(
111  const afw_list_setter_t * instance,
112  afw_xctx_t * xctx);
113 #endif
114 
115 #ifndef impl_afw_list_setter_add_internal
116 /* Declare method add_internal */
117 AFW_DECLARE_STATIC(void)
118 impl_afw_list_setter_add_internal(
119  const afw_list_setter_t * instance,
120  const afw_data_type_t * data_type,
121  const void * internal,
122  afw_xctx_t * xctx);
123 #endif
124 
125 #ifndef impl_afw_list_setter_add_value
126 /* Declare method add_value */
127 AFW_DECLARE_STATIC(void)
128 impl_afw_list_setter_add_value(
129  const afw_list_setter_t * instance,
130  const afw_value_t * value,
131  afw_xctx_t * xctx);
132 #endif
133 
134 #ifndef impl_afw_list_setter_insert_internal
135 /* Declare method insert_internal */
136 AFW_DECLARE_STATIC(void)
137 impl_afw_list_setter_insert_internal(
138  const afw_list_setter_t * instance,
139  const afw_data_type_t * data_type,
140  const void * internal,
141  afw_size_t index,
142  afw_xctx_t * xctx);
143 #endif
144 
145 #ifndef impl_afw_list_setter_insert_value
146 /* Declare method insert_value */
147 AFW_DECLARE_STATIC(void)
148 impl_afw_list_setter_insert_value(
149  const afw_list_setter_t * instance,
150  const afw_value_t * value,
151  afw_size_t index,
152  afw_xctx_t * xctx);
153 #endif
154 
155 #ifndef impl_afw_list_setter_remove_all_values
156 /* Declare method remove_all_values */
157 AFW_DECLARE_STATIC(void)
158 impl_afw_list_setter_remove_all_values(
159  const afw_list_setter_t * instance,
160  afw_xctx_t * xctx);
161 #endif
162 
163 #ifndef impl_afw_list_setter_remove_internal
164 /* Declare method remove_internal */
165 AFW_DECLARE_STATIC(void)
166 impl_afw_list_setter_remove_internal(
167  const afw_list_setter_t * instance,
168  const afw_data_type_t * data_type,
169  const void * internal,
170  afw_xctx_t * xctx);
171 #endif
172 
173 #ifndef impl_afw_list_setter_remove_value
174 /* Declare method remove_value */
175 AFW_DECLARE_STATIC(void)
176 impl_afw_list_setter_remove_value(
177  const afw_list_setter_t * instance,
178  const afw_value_t * value,
179  afw_xctx_t * xctx);
180 #endif
181 
182 #ifndef impl_afw_list_setter_set_value_by_index
183 /* Declare method set_value_by_index */
184 AFW_DECLARE_STATIC(void)
186  const afw_list_setter_t * instance,
187  afw_size_t index,
188  const afw_value_t * value,
189  afw_xctx_t * xctx);
190 #endif
191 #endif
192 
193 /* inf for interface afw_list_setter */
194 #ifdef __BASE_FILE__
195 #define _AFW_IMPLEMENTATION_SOURCE_FILE_ __BASE_FILE__
196 #else
197 #define _AFW_IMPLEMENTATION_SOURCE_FILE_ __FILE__
198 #endif
199 #ifdef AFW_IMPLEMENTATION_INF_SPECIFIER
200 AFW_IMPLEMENTATION_INF_SPECIFIER(afw_list_setter_inf_t)
201 #else
202 static const afw_list_setter_inf_t
203 #endif
204 #ifdef AFW_IMPLEMENTATION_INF_LABEL
205 AFW_IMPLEMENTATION_INF_LABEL = {
206 #else
207 impl_afw_list_setter_inf = {
208 #endif
209  {
210  AFW_UTF8_LITERAL("afw_list_setter"),
211  AFW_UTF8_LITERAL(_AFW_IMPLEMENTATION_SOURCE_FILE_),
212  AFW_UTF8_LITERAL(_AFW_IMPLEMENTATION_ID_),
213  _AFW_IMPLEMENTATION_SPECIFIC_
214  },
215  impl_afw_list_setter_set_immutable,
216  impl_afw_list_setter_determine_data_type_and_set_immutable,
217  impl_afw_list_setter_add_internal,
218  impl_afw_list_setter_add_value,
219  impl_afw_list_setter_insert_internal,
220  impl_afw_list_setter_insert_value,
221  impl_afw_list_setter_remove_all_values,
222  impl_afw_list_setter_remove_internal,
223  impl_afw_list_setter_remove_value,
225 };
226 
227 #undef _AFW_IMPLEMENTATION_ID_
228 #undef _AFW_IMPLEMENTATION_SPECIFIC_
229 #undef _AFW_IMPLEMENTATION_SOURCE_FILE_
230 
#define AFW_BEGIN_DECLARES
Interface afw_interface opaque typedefs.
#define AFW_UTF8_LITERAL(A_STRING)
String literal initializer.
Definition: afw_common.h:582
apr_size_t afw_size_t
size_t.
Definition: afw_common.h:151
impl_afw_list_setter_set_value_by_index(const afw_list_setter_t *instance, afw_size_t index, const afw_value_t *value, afw_xctx_t *xctx)
Interface afw_data_type public struct.
Interface afw_list_setter_inf_s struct.
Interface afw_list_setter public struct.
Interface afw_value public struct.
Interface afw_xctx public struct.