Adaptive Framework  0.9.0
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
afw_data_type_bindings.c
Go to the documentation of this file.
1 // See the 'COPYING' file in the project root for licensing information.
2 /*
3  * Adaptive Framework Data Type Bindings
4  *
5  * Copyright (c) 2010-2023 Clemson University
6  *
7  */
8 
9 /* ----------------------------- N O T E -------------------------------------
10  *
11  * This file is generated by "afwdev generate afw".
12  *
13  * Do not change this file directly or the changes will be lost the next time
14  * this file is regenerated.
15  *
16  * -------------------------------------------------------------------------*/
17 
18 
19 
25 #include "afw.h"
26 #include "afw_data_type_bindings.h"
27 
28 static const afw_data_type_t * impl_data_type_bindings[] = {
29 #define XX(id) &afw_data_type_ ##id##_direct,
31  NULL
32 };
33 
34 AFW_DEFINE(void)
36  afw_xctx_t *xctx)
37 {
38  /* Register data types */
40  &impl_data_type_bindings[0], xctx);
41 
42 }
43 
44 AFW_DEFINE(void)
46  afw_xctx_t *xctx)
47 {
48 
49  /* Register value inf id evaluated_any */
51  &afw_value_evaluated_any_inf.rti.implementation_id,
53  xctx);
54 
55  /* Register value inf id evaluated_anyURI */
57  &afw_value_evaluated_anyURI_inf.rti.implementation_id,
59  xctx);
60 
61  /* Register value inf id evaluated_base64Binary */
63  &afw_value_evaluated_base64Binary_inf.rti.implementation_id,
65  xctx);
66 
67  /* Register value inf id evaluated_boolean */
69  &afw_value_evaluated_boolean_inf.rti.implementation_id,
71  xctx);
72 
73  /* Register value inf id evaluated_date */
75  &afw_value_evaluated_date_inf.rti.implementation_id,
77  xctx);
78 
79  /* Register value inf id evaluated_dateTime */
81  &afw_value_evaluated_dateTime_inf.rti.implementation_id,
83  xctx);
84 
85  /* Register value inf id evaluated_dayTimeDuration */
87  &afw_value_evaluated_dayTimeDuration_inf.rti.implementation_id,
89  xctx);
90 
91  /* Register value inf id evaluated_dnsName */
93  &afw_value_evaluated_dnsName_inf.rti.implementation_id,
95  xctx);
96 
97  /* Register value inf id evaluated_double */
99  &afw_value_evaluated_double_inf.rti.implementation_id,
101  xctx);
102 
103  /* Register value inf id evaluated_expression */
105  &afw_value_evaluated_expression_inf.rti.implementation_id,
107  xctx);
108 
109  /* Register value inf id evaluated_function */
111  &afw_value_evaluated_function_inf.rti.implementation_id,
113  xctx);
114 
115  /* Register value inf id evaluated_hexBinary */
117  &afw_value_evaluated_hexBinary_inf.rti.implementation_id,
119  xctx);
120 
121  /* Register value inf id evaluated_hybrid */
123  &afw_value_evaluated_hybrid_inf.rti.implementation_id,
125  xctx);
126 
127  /* Register value inf id evaluated_ia5String */
129  &afw_value_evaluated_ia5String_inf.rti.implementation_id,
131  xctx);
132 
133  /* Register value inf id evaluated_implied */
135  &afw_value_evaluated_implied_inf.rti.implementation_id,
137  xctx);
138 
139  /* Register value inf id evaluated_integer */
141  &afw_value_evaluated_integer_inf.rti.implementation_id,
143  xctx);
144 
145  /* Register value inf id evaluated_ipAddress */
147  &afw_value_evaluated_ipAddress_inf.rti.implementation_id,
149  xctx);
150 
151  /* Register value inf id evaluated_list */
153  &afw_value_evaluated_list_inf.rti.implementation_id,
155  xctx);
156 
157  /* Register value inf id evaluated_null */
159  &afw_value_evaluated_null_inf.rti.implementation_id,
161  xctx);
162 
163  /* Register value inf id evaluated_object */
165  &afw_value_evaluated_object_inf.rti.implementation_id,
167  xctx);
168 
169  /* Register value inf id evaluated_objectId */
171  &afw_value_evaluated_objectId_inf.rti.implementation_id,
173  xctx);
174 
175  /* Register value inf id evaluated_objectPath */
177  &afw_value_evaluated_objectPath_inf.rti.implementation_id,
179  xctx);
180 
181  /* Register value inf id evaluated_password */
183  &afw_value_evaluated_password_inf.rti.implementation_id,
185  xctx);
186 
187  /* Register value inf id evaluated_regexp */
189  &afw_value_evaluated_regexp_inf.rti.implementation_id,
191  xctx);
192 
193  /* Register value inf id evaluated_rfc822Name */
195  &afw_value_evaluated_rfc822Name_inf.rti.implementation_id,
197  xctx);
198 
199  /* Register value inf id evaluated_script */
201  &afw_value_evaluated_script_inf.rti.implementation_id,
203  xctx);
204 
205  /* Register value inf id evaluated_string */
207  &afw_value_evaluated_string_inf.rti.implementation_id,
209  xctx);
210 
211  /* Register value inf id evaluated_template */
213  &afw_value_evaluated_template_inf.rti.implementation_id,
215  xctx);
216 
217  /* Register value inf id evaluated_time */
219  &afw_value_evaluated_time_inf.rti.implementation_id,
221  xctx);
222 
223  /* Register value inf id evaluated_unevaluated */
225  &afw_value_evaluated_unevaluated_inf.rti.implementation_id,
227  xctx);
228 
229  /* Register value inf id evaluated_x500Name */
231  &afw_value_evaluated_x500Name_inf.rti.implementation_id,
233  xctx);
234 
235  /* Register value inf id evaluated_xpathExpression */
237  &afw_value_evaluated_xpathExpression_inf.rti.implementation_id,
239  xctx);
240 
241  /* Register value inf id evaluated_yearMonthDuration */
243  &afw_value_evaluated_yearMonthDuration_inf.rti.implementation_id,
245  xctx);
246 
247 }
Adaptive Framework Core API.
AFW_DEFINE(const afw_object_t *)
afw_register_data_types(afw_xctx_t *xctx)
Register each afw_data_type_<dataType>.
afw_register_data_type_infs(afw_xctx_t *xctx)
Register each afw__value_evaluated_<dataType>_inf.
Adaptive Framework core data type bindings header.
#define AFW_DATA_TYPES_MAP(XX)
Data type map.
afw_value_evaluated_any_inf
Unmanaged evaluated value inf for data type any.
afw_value_evaluated_anyURI_inf
Unmanaged evaluated value inf for data type anyURI.
afw_value_evaluated_base64Binary_inf
Unmanaged evaluated value inf for data type base64Binary.
afw_value_evaluated_boolean_inf
Unmanaged evaluated value inf for data type boolean.
afw_value_evaluated_date_inf
Unmanaged evaluated value inf for data type date.
afw_value_evaluated_dateTime_inf
Unmanaged evaluated value inf for data type dateTime.
afw_value_evaluated_dayTimeDuration_inf
Unmanaged evaluated value inf for data type dayTimeDuration.
afw_value_evaluated_dnsName_inf
Unmanaged evaluated value inf for data type dnsName.
afw_value_evaluated_double_inf
Unmanaged evaluated value inf for data type double.
afw_value_evaluated_expression_inf
Unmanaged evaluated value inf for data type expression.
afw_value_evaluated_function_inf
Unmanaged evaluated value inf for data type function.
afw_value_evaluated_hexBinary_inf
Unmanaged evaluated value inf for data type hexBinary.
afw_value_evaluated_hybrid_inf
Unmanaged evaluated value inf for data type hybrid.
afw_value_evaluated_ia5String_inf
Unmanaged evaluated value inf for data type ia5String.
afw_value_evaluated_implied_inf
Unmanaged evaluated value inf for data type implied.
afw_value_evaluated_integer_inf
Unmanaged evaluated value inf for data type integer.
afw_value_evaluated_ipAddress_inf
Unmanaged evaluated value inf for data type ipAddress.
afw_value_evaluated_list_inf
Unmanaged evaluated value inf for data type list.
afw_value_evaluated_null_inf
Unmanaged evaluated value inf for data type null.
afw_value_evaluated_object_inf
Unmanaged evaluated value inf for data type object.
afw_value_evaluated_objectId_inf
Unmanaged evaluated value inf for data type objectId.
afw_value_evaluated_objectPath_inf
Unmanaged evaluated value inf for data type objectPath.
afw_value_evaluated_password_inf
Unmanaged evaluated value inf for data type password.
afw_value_evaluated_regexp_inf
Unmanaged evaluated value inf for data type regexp.
afw_value_evaluated_rfc822Name_inf
Unmanaged evaluated value inf for data type rfc822Name.
afw_value_evaluated_script_inf
Unmanaged evaluated value inf for data type script.
afw_value_evaluated_string_inf
Unmanaged evaluated value inf for data type string.
afw_value_evaluated_template_inf
Unmanaged evaluated value inf for data type template.
afw_value_evaluated_time_inf
Unmanaged evaluated value inf for data type time.
afw_value_evaluated_unevaluated_inf
Unmanaged evaluated value inf for data type unevaluated.
afw_value_evaluated_x500Name_inf
Unmanaged evaluated value inf for data type x500Name.
afw_value_evaluated_xpathExpression_inf
Unmanaged evaluated value inf for data type xpathExpression.
afw_value_evaluated_yearMonthDuration_inf
Unmanaged evaluated value inf for data type yearMonthDuration.
afw_environment_register_data_types(const afw_data_type_t *const *data_types, afw_xctx_t *xctx)
Register a NULL terminated list of data types.
void afw_environment_register_value_inf(const afw_utf8_t *value_inf_id, const afw_value_inf_t *value_inf, afw_xctx_t *xctx)
Register a value inf.
Interface afw_data_type public struct.
Interface afw_xctx public struct.