Adaptive Framework  0.9.0
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
afw_object_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_OBJECT_SETTER_IMPL_DECLARES_H__
76 #ifndef AFW_OBJECT_SETTER_INF_ONLY
77 #error "afw_object_setter_impl_declares.h already included."
78 #endif
79 #endif
80 #ifndef __AFW_OBJECT_SETTER_IMPL_DECLARES_H__
81 #ifdef AFW_OBJECT_SETTER_INF_ONLY
82 #error "afw_object_setter_impl_declares.h must be included before AFW_OBJECT_SETTER_INF_ONLY."
83 #endif
84 #define __AFW_OBJECT_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_OBJECT_SETTER_INF_ONLY
98 
99 #ifndef impl_afw_object_setter_set_immutable
100 /* Declare method set_immutable */
101 AFW_DECLARE_STATIC(void)
103  const afw_object_setter_t * instance,
104  afw_xctx_t * xctx);
105 #endif
106 
107 #ifndef impl_afw_object_setter_set_property
108 /* Declare method set_property */
109 AFW_DECLARE_STATIC(void)
111  const afw_object_setter_t * instance,
112  const afw_utf8_t * property_name,
113  const afw_value_t * value,
114  afw_xctx_t * xctx);
115 #endif
116 #endif
117 
118 /* inf for interface afw_object_setter */
119 #ifdef __BASE_FILE__
120 #define _AFW_IMPLEMENTATION_SOURCE_FILE_ __BASE_FILE__
121 #else
122 #define _AFW_IMPLEMENTATION_SOURCE_FILE_ __FILE__
123 #endif
124 #ifdef AFW_IMPLEMENTATION_INF_SPECIFIER
125 AFW_IMPLEMENTATION_INF_SPECIFIER(afw_object_setter_inf_t)
126 #else
127 static const afw_object_setter_inf_t
128 #endif
129 #ifdef AFW_IMPLEMENTATION_INF_LABEL
130 AFW_IMPLEMENTATION_INF_LABEL = {
131 #else
132 impl_afw_object_setter_inf = {
133 #endif
134  {
135  AFW_UTF8_LITERAL("afw_object_setter"),
136  AFW_UTF8_LITERAL(_AFW_IMPLEMENTATION_SOURCE_FILE_),
137  AFW_UTF8_LITERAL(_AFW_IMPLEMENTATION_ID_),
138  _AFW_IMPLEMENTATION_SPECIFIC_
139  },
142 };
143 
144 #undef _AFW_IMPLEMENTATION_ID_
145 #undef _AFW_IMPLEMENTATION_SPECIFIC_
146 #undef _AFW_IMPLEMENTATION_SOURCE_FILE_
147 
#define AFW_BEGIN_DECLARES
Interface afw_interface opaque typedefs.
#define AFW_UTF8_LITERAL(A_STRING)
String literal initializer.
Definition: afw_common.h:582
impl_afw_object_setter_set_immutable(const afw_object_setter_t *instance, afw_xctx_t *xctx)
impl_afw_object_setter_set_property(const afw_object_setter_t *instance, const afw_utf8_t *property_name, const afw_value_t *value, afw_xctx_t *xctx)
Interface afw_object_setter_inf_s 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.