Adaptive Framework  0.9.0
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
afw_adaptor_impl_index_cursor_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 
77 #ifdef __AFW_ADAPTOR_IMPL_INDEX_CURSOR_IMPL_DECLARES_H__
78 #ifndef AFW_ADAPTOR_IMPL_INDEX_CURSOR_INF_ONLY
79 #error "afw_adaptor_impl_index_cursor_impl_declares.h already included."
80 #endif
81 #endif
82 #ifndef __AFW_ADAPTOR_IMPL_INDEX_CURSOR_IMPL_DECLARES_H__
83 #ifdef AFW_ADAPTOR_IMPL_INDEX_CURSOR_INF_ONLY
84 #error "afw_adaptor_impl_index_cursor_impl_declares.h must be included before AFW_ADAPTOR_IMPL_INDEX_CURSOR_INF_ONLY."
85 #endif
86 #define __AFW_ADAPTOR_IMPL_INDEX_CURSOR_IMPL_DECLARES_H__ 1
87 #endif
88 
89 #ifdef AFW_IMPLEMENTATION_ID
90 #define _AFW_IMPLEMENTATION_ID_ AFW_IMPLEMENTATION_ID
91 #else
92 #define _AFW_IMPLEMENTATION_ID_ "unspecified"
93 #endif
94 #ifdef AFW_IMPLEMENTATION_SPECIFIC
95 #define _AFW_IMPLEMENTATION_SPECIFIC_ AFW_IMPLEMENTATION_SPECIFIC
96 #else
97 #define _AFW_IMPLEMENTATION_SPECIFIC_ NULL
98 #endif
99 #ifndef AFW_ADAPTOR_IMPL_INDEX_CURSOR_INF_ONLY
100 
101 #ifndef impl_afw_adaptor_impl_index_cursor_release
102 /* Declare method release */
103 AFW_DECLARE_STATIC(void)
104 impl_afw_adaptor_impl_index_cursor_release(
105  const afw_adaptor_impl_index_cursor_t * instance,
106  afw_xctx_t * xctx);
107 #endif
108 
109 #ifndef impl_afw_adaptor_impl_index_cursor_get_next_object
110 /* Declare method get_next_object */
111 AFW_DECLARE_STATIC(const afw_object_t *)
112 impl_afw_adaptor_impl_index_cursor_get_next_object(
113  const afw_adaptor_impl_index_cursor_t * instance,
114  const afw_pool_t * pool,
115  afw_xctx_t * xctx);
116 #endif
117 
118 #ifndef impl_afw_adaptor_impl_index_cursor_contains_object
119 /* Declare method contains_object */
120 AFW_DECLARE_STATIC(afw_boolean_t)
122  const afw_adaptor_impl_index_cursor_t * instance,
123  const afw_object_t * object,
124  afw_xctx_t * xctx);
125 #endif
126 
127 #ifndef impl_afw_adaptor_impl_index_cursor_inner_join
128 /* Declare method inner_join */
129 AFW_DECLARE_STATIC(const afw_adaptor_impl_index_cursor_t *)
131  const afw_adaptor_impl_index_cursor_t * instance,
132  const afw_adaptor_impl_index_cursor_t * cursor,
133  afw_xctx_t * xctx);
134 #endif
135 
136 #ifndef impl_afw_adaptor_impl_index_cursor_get_count
137 /* Declare method get_count */
138 AFW_DECLARE_STATIC(afw_boolean_t)
139 impl_afw_adaptor_impl_index_cursor_get_count(
140  const afw_adaptor_impl_index_cursor_t * instance,
141  size_t * count,
142  afw_xctx_t * xctx);
143 #endif
144 #endif
145 
146 /* inf for interface afw_adaptor_impl_index_cursor */
147 #ifdef __BASE_FILE__
148 #define _AFW_IMPLEMENTATION_SOURCE_FILE_ __BASE_FILE__
149 #else
150 #define _AFW_IMPLEMENTATION_SOURCE_FILE_ __FILE__
151 #endif
152 #ifdef AFW_IMPLEMENTATION_INF_SPECIFIER
153 AFW_IMPLEMENTATION_INF_SPECIFIER(afw_adaptor_impl_index_cursor_inf_t)
154 #else
156 #endif
157 #ifdef AFW_IMPLEMENTATION_INF_LABEL
158 AFW_IMPLEMENTATION_INF_LABEL = {
159 #else
160 impl_afw_adaptor_impl_index_cursor_inf = {
161 #endif
162  {
163  AFW_UTF8_LITERAL("afw_adaptor_impl_index_cursor"),
164  AFW_UTF8_LITERAL(_AFW_IMPLEMENTATION_SOURCE_FILE_),
165  AFW_UTF8_LITERAL(_AFW_IMPLEMENTATION_ID_),
166  _AFW_IMPLEMENTATION_SPECIFIC_
167  },
168  impl_afw_adaptor_impl_index_cursor_release,
169  impl_afw_adaptor_impl_index_cursor_get_next_object,
172  impl_afw_adaptor_impl_index_cursor_get_count
173 };
174 
175 #undef _AFW_IMPLEMENTATION_ID_
176 #undef _AFW_IMPLEMENTATION_SPECIFIC_
177 #undef _AFW_IMPLEMENTATION_SOURCE_FILE_
178 
#define AFW_BEGIN_DECLARES
Interface afw_interface opaque typedefs.
impl_afw_adaptor_impl_index_cursor_inner_join(const afw_adaptor_impl_index_cursor_t *instance, const afw_adaptor_impl_index_cursor_t *cursor, afw_xctx_t *xctx)
impl_afw_adaptor_impl_index_cursor_contains_object(const afw_adaptor_impl_index_cursor_t *instance, const afw_object_t *object, afw_xctx_t *xctx)
#define AFW_UTF8_LITERAL(A_STRING)
String literal initializer.
Definition: afw_common.h:582
_Bool afw_boolean_t
Definition: afw_common.h:373
Interface afw_adaptor_impl_index_cursor_inf_s struct.
Interface afw_adaptor_impl_index_cursor public struct.
Interface afw_object public struct.
Interface afw_pool public struct.
Interface afw_xctx public struct.