RTI Connext DDS Micro  Version 2.4.6
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
dds_c_sequence.h
Go to the documentation of this file.
1 /*
2  * FILE: dds_c_sequence.h - DDS sequence definitions
3  *
4  * (c) Copyright, Real-Time Innovations, 2012-2015.
5  *
6  * All rights reserved.
7  *
8  * No duplications, whole or partial, manual or electronic, may be made
9  * without express written permission. Any such copies, or
10  * revisions thereof, must display this notice unaltered.
11  * This code contains trade secrets of Real-Time Innovations, Inc.
12  *
13  * Modification History
14  * --------------------
15  * 06oct2015,tk MICRO-1493 Added missing DDS built-in sequences
16  * 08jun2012,tk Written
17  */
18 /*ce
19  * \file
20  * \brief DDS sequence definitions
21  */
22 /*e \dref_SequenceGroupDocs
23  */
24 #ifndef dds_c_sequence_h
25 #define dds_c_sequence_h
26 
27 #ifndef dds_c_dll_h
28 #include "dds_c/dds_c_dll.h"
29 #endif
30 #ifndef dds_c_common_h
31 #include "dds_c/dds_c_common.h"
32 #endif
33 #ifndef reda_sequence_h
34 #include "reda/reda_sequence.h"
35 #endif
36 
37 #ifdef __cplusplus
38 extern "C"
39 {
40 #endif
41 
42 /* Make sure that NDDSUSERDllExport expands to nothing by default */
43 #ifndef NDDSUSERDllExport
44 #define NDDSUSERDllExport
45 #endif
46 
47 /*ci @ingroup DDSSequenceModule
48  @brief Empty Sequence dll export variable
49 
50  Since for dds c sequence structure, there are no methods. Therefore, there is
51  no need to export anything.
52 */
53 #define DDS_SEQUENCE_DLL_EXPORT
54 
55 /*i @ingroup DDSSequenceModule
56 
57  @brief Declares an abstract \st_interface \p TSeq, for IDL \p
58  sequence\_T of type \p T.
59 
60  @uses T base type
61  @defines TSeq name of the sequence type to be defined
62 
63  Using this macro introduces a class declaration TSeq in the
64  enclosing name space.
65 
66  <STRONG>Incarnation:</STRONG>
67 
68  \em Incarnation is the process of realizing a concrete type
69  from the \em generic skeleton defined by TSeq. Given a user type
70  \p Foo, a type \p FooSeq representing the IDL type \p
71  sequence\_Foo is incarnated as follows.
72 
73  <EM>\em Value-type sequences</EM>
74 
75  When the base type \p T is a value-type, \p sequence\_T is declared
76  follows.
77  \code
78  DDS_SEQUENCE(FooSeq, Foo);
79  \endcode
80 
81  <EM>\em Reference-type sequences</EM>
82 
83  When the base type \p Foo is a reference-type, \p sequence\_Foo is
84  declared as follows.
85 
86  \code
87  typedef Foo* Foo_ptr;
88 
89  DDS_SEQUENCE(FooSeq, Foo_ptr);
90 
91  \endcode
92 
93  We use a two step process, because in C++
94  \code
95  const Foo_ptr = Foo *const
96  != const Foo*
97  \endcode
98  and we want the \p Foo_ptr semantics for the method:
99  \code
100  const T& TSeq::operator[]() const
101  \endcode
102 
103  \hideinitializer
104 */
105 
106 #define DDS_SEQUENCE REDA_DEFINE_SEQUENCE
107 
108 /*ce \dref_FooSeq_SEQUENCE_INITIALIZER
109  */
110 #define DDS_SEQUENCE_INITIALIZER REDA_DEFINE_EMPTY_SEQUENCE_INITIALIZER
111 
112 /* ================================================================= */
113 #ifdef DOXYGEN_DOCUMENTATION_ONLY
114 
115 /*ce \dref_FooSeq
116  */
117 struct FooSeq
118 {
119  /*e @brief Pointer to array of contiguous or discontiguous data
120  *
121  */
123 
124 
125  /*e @brief Maximum size of the sequence
126  *
127  * The allocated length of this sequence. It applies to whichever of
128  * the above buffers is non-NULL, if any. If both a NULL, its value
129  * must be 0.
130  *
131  * If _maximum == 0, _owned == true.
132  */
134 
135  /*e @brief Actual length of the sequence that contains data
136  *
137  * The current logical length of this seqeunce, i.e. the number of valid
138  * elements it contains. It applies to whichever of the above
139  * buffers is non-null, if any. If both are NULL, its value must be 0.
140  */
142 
143  /*e @brief Size of data element in the sequence
144  *
145  * Each element in the sequence has this size.
146  */
148 
149  /*e @brief Size of data element in the sequence
150  *
151  * Each element in the sequence has this size.
152  */
154 
155  /*e @brief Internal-use flags
156  *
157  * Reserved for internal-use.
158  */
160 };
161 
162 /*ce \dref_FooSeq_initialize
163  */
164 DDS_Boolean FooSeq_initialize(struct FooSeq *self);
165 
166 /*ce \dref_FooSeq_finalize
167  */
168 DDS_Boolean FooSeq_finalize(struct FooSeq *self);
169 
170 /*ce \dref_FooSeq_get_maximum
171  */
172 DDS_Long FooSeq_get_maximum(const struct FooSeq *self);
173 
174 /*ce \dref_FooSeq_set_maximum
175  */
176 DDS_Boolean FooSeq_set_maximum(struct FooSeq *self, DDS_Long new_max);
177 
178 /*ce \dref_FooSeq_get_length
179  */
180 DDS_Long FooSeq_get_length(const struct FooSeq *self);
181 
182 /*ce \dref_FooSeq_set_length
183  */
184 DDS_Boolean FooSeq_set_length(struct FooSeq *self, DDS_Long new_length);
185 
186 /*ce \dref_FooSeq_get_reference
187  */
188 Foo *FooSeq_get_reference(const struct FooSeq *self, DDS_Long i);
189 
190 /*ce \dref_FooSeq_copy
191  */
192 struct FooSeq *FooSeq_copy(struct FooSeq *self, const struct FooSeq *src_seq);
193 
194 /*ce \dref_FooSeq_is_equal
195  */
196 DDS_Boolean FooSeq_is_equal(struct FooSeq* self, struct FooSeq* other);
197 
198 /*ce \dref_FooSeq_loan_contiguous
199  */
200 DDS_Boolean FooSeq_loan_contiguous(struct FooSeq *self, void *buffer,
201  DDS_Long new_length, DDS_Long new_max);
202 
203 /*ce \dref_FooSeq_loan_discontiguous
204  */
205 DDS_Boolean FooSeq_loan_discontiguous(struct FooSeq *self, void *buffer,
206  DDS_Long new_length, DDS_Long new_max);
207 
208 /*ce \dref_FooSeq_unloan
209  */
210 DDS_Boolean FooSeq_unloan(struct FooSeq *self);
211 
212 /*ce \dref_FooSeq_has_ownership
213  */
214 DDS_Boolean FooSeq_has_ownership(const struct FooSeq *self);
215 
216 /*ce \dref_FooSeq_get_contiguous_buffer
217  */
218 Foo* FooSeq_get_contiguous_buffer(struct FooSeq *self);
219 
220 /*ce \dref_FooSeq_set_contiguous_buffer
221  */
222 DDS_Boolean FooSeq_set_contiguous_buffer(struct FooSeq *self, Foo* buffer);
223 
224 /*ce \dref_FooSeq_has_discontiguous_buffer
225  */
227 
228 /*ce \dref_FooSeq_set_token
229  */
230 DDS_Boolean FooSeq_set_token(const struct FooSeq *self,
231  void *token1, void *token2);
232 
233 /*ce \dref_FooSeq_get_token
234  */
235 DDS_Boolean FooSeq_get_token(const struct FooSeq *self,
236  void **token1, void **token2);
237 
238 /*ce \dref_FooSeq_ensure_length
239  */
240 DDS_Boolean FooSeq_ensure_length(struct FooSeq *self,DDS_Long length, DDS_Long max);
241 
242 /*ce \dref_FooSeq_from_array
243  */
244 DDS_Boolean FooSeq_from_array(struct FooSeq *self, const Foo array[], RTI_INT32 length);
245 
246 /*ce \dref_FooSeq_to_array
247  */
248 DDS_Boolean FooSeq_to_array(struct FooSeq *self, const Foo array[], RTI_INT32 length);
249 
250 #endif /* DOXYGEN_DOCUMENTATION_ONLY */
251 
252 #ifndef REDA_SEQUENCE_API
253 #define REDA_SEQUENCE_API REDA_SEQUENCE_API_USER_DEFAULT
254 #endif /* REDA_SEQUENCE_API */
255 
256 #define DDS_UnsignedLongSeq CDR_UnsignedLongSeq
257 #define DDS_ShortSeq CDR_ShortSeq
258 #define DDS_BooleanSeq CDR_BooleanSeq
259 #define DDS_FloatSeq CDR_FloatSeq
260 #define DDS_LongSeq CDR_LongSeq
261 #define DDS_WcharSeq CDR_WcharSeq
262 #define DDS_DoubleSeq CDR_DoubleSeq
263 #define DDS_EnumSeq CDR_EnumSeq
264 #define DDS_LongLongSeq CDR_LongLongSeq
265 #define DDS_OctetSeq CDR_OctetSeq
266 #define DDS_WstringSeq CDR_WstringSeq
267 #define DDS_UnsignedLongLongSeq CDR_UnsignedLongLongSeq
268 #define DDS_CharSeq CDR_CharSeq
269 #define DDS_UnsignedShortSeq CDR_UnsignedShortSeq
270 #define DDS_LongDoubleSeq CDR_LongDoubleSeq
271 #if REDA_SEQUENCE_API > REDA_SEQUENCE_API_UNTYPED
272 #define DDS_UnsignedLongSeq_initialize CDR_UnsignedLongSeq_initialize
273 #define DDS_ShortSeq_initialize CDR_ShortSeq_initialize
274 #define DDS_BooleanSeq_initialize CDR_BooleanSeq_initialize
275 #define DDS_FloatSeq_initialize CDR_FloatSeq_initialize
276 #define DDS_LongSeq_initialize CDR_LongSeq_initialize
277 #define DDS_WcharSeq_initialize CDR_WcharSeq_initialize
278 #define DDS_DoubleSeq_initialize CDR_DoubleSeq_initialize
279 #define DDS_EnumSeq_initialize CDR_EnumSeq_initialize
280 #define DDS_LongLongSeq_initialize CDR_LongLongSeq_initialize
281 #define DDS_OctetSeq_initialize CDR_OctetSeq_initialize
282 #define DDS_WstringSeq_initialize CDR_WstringSeq_initialize
283 #define DDS_UnsignedLongLongSeq_initialize CDR_UnsignedLongLongSeq_initialize
284 #define DDS_CharSeq_initialize CDR_CharSeq_initialize
285 #define DDS_UnsignedShortSeq_initialize CDR_UnsignedShortSeq_initialize
286 #define DDS_LongDoubleSeq_initialize CDR_LongDoubleSeq_initialize
287 #define DDS_UnsignedLongSeq_set_length CDR_UnsignedLongSeq_set_length
288 #define DDS_ShortSeq_set_length CDR_ShortSeq_set_length
289 #define DDS_BooleanSeq_set_length CDR_BooleanSeq_set_length
290 #define DDS_FloatSeq_set_length CDR_FloatSeq_set_length
291 #define DDS_LongSeq_set_length CDR_LongSeq_set_length
292 #define DDS_WcharSeq_set_length CDR_WcharSeq_set_length
293 #define DDS_DoubleSeq_set_length CDR_DoubleSeq_set_length
294 #define DDS_EnumSeq_set_length CDR_EnumSeq_set_length
295 #define DDS_LongLongSeq_set_length CDR_LongLongSeq_set_length
296 #define DDS_OctetSeq_set_length CDR_OctetSeq_set_length
297 #define DDS_WstringSeq_set_length CDR_WstringSeq_set_length
298 #define DDS_UnsignedLongLongSeq_set_length CDR_UnsignedLongLongSeq_set_length
299 #define DDS_CharSeq_set_length CDR_CharSeq_set_length
300 #define DDS_UnsignedShortSeq_set_length CDR_UnsignedShortSeq_set_length
301 #define DDS_LongDoubleSeq_set_length CDR_LongDoubleSeq_set_length
302 #define DDS_UnsignedLongSeq_get_length CDR_UnsignedLongSeq_get_length
303 #define DDS_ShortSeq_get_length CDR_ShortSeq_get_length
304 #define DDS_BooleanSeq_get_length CDR_BooleanSeq_get_length
305 #define DDS_FloatSeq_get_length CDR_FloatSeq_get_length
306 #define DDS_LongSeq_get_length CDR_LongSeq_get_length
307 #define DDS_WcharSeq_get_length CDR_WcharSeq_get_length
308 #define DDS_DoubleSeq_get_length CDR_DoubleSeq_get_length
309 #define DDS_EnumSeq_get_length CDR_EnumSeq_get_length
310 #define DDS_LongLongSeq_get_length CDR_LongLongSeq_get_length
311 #define DDS_OctetSeq_get_length CDR_OctetSeq_get_length
312 #define DDS_WstringSeq_get_length CDR_WstringSeq_get_length
313 #define DDS_UnsignedLongLongSeq_get_length CDR_UnsignedLongLongSeq_get_length
314 #define DDS_CharSeq_get_length CDR_CharSeq_get_length
315 #define DDS_UnsignedShortSeq_get_length CDR_UnsignedShortSeq_get_length
316 #define DDS_LongDoubleSeq_get_length CDR_LongDoubleSeq_get_length
317 #define DDS_UnsignedLongSeq_get_maximum CDR_UnsignedLongSeq_get_maximum
318 #define DDS_ShortSeq_get_maximum CDR_ShortSeq_get_maximum
319 #define DDS_BooleanSeq_get_maximum CDR_BooleanSeq_get_maximum
320 #define DDS_FloatSeq_get_maximum CDR_FloatSeq_get_maximum
321 #define DDS_LongSeq_get_maximum CDR_LongSeq_get_maximum
322 #define DDS_WcharSeq_get_maximum CDR_WcharSeq_get_maximum
323 #define DDS_DoubleSeq_get_maximum CDR_DoubleSeq_get_maximum
324 #define DDS_EnumSeq_get_maximum CDR_EnumSeq_get_maximum
325 #define DDS_LongLongSeq_get_maximum CDR_LongLongSeq_get_maximum
326 #define DDS_OctetSeq_get_maximum CDR_OctetSeq_get_maximum
327 #define DDS_WstringSeq_get_maximum CDR_WstringSeq_get_maximum
328 #define DDS_UnsignedLongLongSeq_get_maximum CDR_UnsignedLongLongSeq_get_maximum
329 #define DDS_CharSeq_get_maximum CDR_CharSeq_get_maximum
330 #define DDS_UnsignedShortSeq_get_maximum CDR_UnsignedShortSeq_get_maximum
331 #define DDS_LongDoubleSeq_get_maximum CDR_LongDoubleSeq_get_maximum
332 #define DDS_UnsignedLongSeq_set_maximum CDR_UnsignedLongSeq_set_maximum
333 #define DDS_ShortSeq_set_maximum CDR_ShortSeq_set_maximum
334 #define DDS_BooleanSeq_set_maximum CDR_BooleanSeq_set_maximum
335 #define DDS_FloatSeq_set_maximum CDR_FloatSeq_set_maximum
336 #define DDS_LongSeq_set_maximum CDR_LongSeq_set_maximum
337 #define DDS_WcharSeq_set_maximum CDR_WcharSeq_set_maximum
338 #define DDS_DoubleSeq_set_maximum CDR_DoubleSeq_set_maximum
339 #define DDS_EnumSeq_set_maximum CDR_EnumSeq_set_maximum
340 #define DDS_LongLongSeq_set_maximum CDR_LongLongSeq_set_maximum
341 #define DDS_OctetSeq_set_maximum CDR_OctetSeq_set_maximum
342 #define DDS_WstringSeq_set_maximum CDR_WstringSeq_set_maximum
343 #define DDS_UnsignedLongLongSeq_set_maximum CDR_UnsignedLongLongSeq_set_maximum
344 #define DDS_CharSeq_set_maximum CDR_CharSeq_set_maximum
345 #define DDS_UnsignedShortSeq_set_maximum CDR_UnsignedShortSeq_set_maximum
346 #define DDS_LongDoubleSeq_set_maximum CDR_LongDoubleSeq_set_maximum
347 #define DDS_UnsignedLongSeq_get_reference CDR_UnsignedLongSeq_get_reference
348 #define DDS_ShortSeq_get_reference CDR_ShortSeq_get_reference
349 #define DDS_BooleanSeq_get_reference CDR_BooleanSeq_get_reference
350 #define DDS_FloatSeq_get_reference CDR_FloatSeq_get_reference
351 #define DDS_LongSeq_get_reference CDR_LongSeq_get_reference
352 #define DDS_WcharSeq_get_reference CDR_WcharSeq_get_reference
353 #define DDS_DoubleSeq_get_reference CDR_DoubleSeq_get_reference
354 #define DDS_EnumSeq_get_reference CDR_EnumSeq_get_reference
355 #define DDS_LongLongSeq_get_reference CDR_LongLongSeq_get_reference
356 #define DDS_OctetSeq_get_reference CDR_OctetSeq_get_reference
357 #define DDS_WstringSeq_get_reference CDR_WstringSeq_get_reference
358 #define DDS_UnsignedLongLongSeq_get_reference CDR_UnsignedLongLongSeq_get_reference
359 #define DDS_CharSeq_get_reference CDR_CharSeq_get_reference
360 #define DDS_UnsignedShortSeq_get_reference CDR_UnsignedShortSeq_get_reference
361 #define DDS_LongDoubleSeq_get_reference CDR_LongDoubleSeq_get_reference
362 #ifndef RTI_CERT
363 #define DDS_UnsignedLongSeq_finalize CDR_UnsignedLongSeq_finalize
364 #define DDS_ShortSeq_finalize CDR_ShortSeq_finalize
365 #define DDS_BooleanSeq_finalize CDR_BooleanSeq_finalize
366 #define DDS_FloatSeq_finalize CDR_FloatSeq_finalize
367 #define DDS_LongSeq_finalize CDR_LongSeq_finalize
368 #define DDS_WcharSeq_finalize CDR_WcharSeq_finalize
369 #define DDS_DoubleSeq_finalize CDR_DoubleSeq_finalize
370 #define DDS_EnumSeq_finalize CDR_EnumSeq_finalize
371 #define DDS_LongLongSeq_finalize CDR_LongLongSeq_finalize
372 #define DDS_OctetSeq_finalize CDR_OctetSeq_finalize
373 #define DDS_WstringSeq_finalize CDR_WstringSeq_finalize
374 #define DDS_UnsignedLongLongSeq_finalize CDR_UnsignedLongLongSeq_finalize
375 #define DDS_CharSeq_finalize CDR_CharSeq_finalize
376 #define DDS_UnsignedShortSeq_finalize CDR_UnsignedShortSeq_finalize
377 #define DDS_LongDoubleSeq_finalize CDR_LongDoubleSeq_finalize
378 #endif /* RTI_CERT */
379 #ifdef REDA_SEQUENCE_USER_API
380 #define DDS_UnsignedLongSeq_copy CDR_UnsignedLongSeq_copy
381 #define DDS_ShortSeq_copy CDR_ShortSeq_copy
382 #define DDS_BooleanSeq_copy CDR_BooleanSeq_copy
383 #define DDS_FloatSeq_copy CDR_FloatSeq_copy
384 #define DDS_LongSeq_copy CDR_LongSeq_copy
385 #define DDS_WcharSeq_copy CDR_WcharSeq_copy
386 #define DDS_DoubleSeq_copy CDR_DoubleSeq_copy
387 #define DDS_EnumSeq_copy CDR_EnumSeq_copy
388 #define DDS_LongLongSeq_copy CDR_LongLongSeq_copy
389 #define DDS_OctetSeq_copy CDR_OctetSeq_copy
390 #define DDS_WstringSeq_copy CDR_WstringSeq_copy
391 #define DDS_UnsignedLongLongSeq_copy CDR_UnsignedLongLongSeq_copy
392 #define DDS_CharSeq_copy CDR_CharSeq_copy
393 #define DDS_UnsignedShortSeq_copy CDR_UnsignedShortSeq_copy
394 #define DDS_LongDoubleSeq_copy CDR_LongDoubleSeq_copy
395 #endif
396 #endif /* REDA_SEQUENCE_API_UNTYPED */
397 
398 
399 #if REDA_SEQUENCE_API > REDA_SEQUENCE_API_BASIC
400 #ifndef DDS_UnsignedLongSeq_copy
401 #define DDS_UnsignedLongSeq_copy CDR_UnsignedLongSeq_copy
402 #endif
403 #ifndef DDS_ShortSeq_copy
404 #define DDS_ShortSeq_copy CDR_ShortSeq_copy
405 #endif
406 #ifndef DDS_BooleanSeq_copy
407 #define DDS_BooleanSeq_copy CDR_BooleanSeq_copy
408 #endif
409 #ifndef DDS_FloatSeq_copy
410 #define DDS_FloatSeq_copy CDR_FloatSeq_copy
411 #endif
412 #ifndef DDS_LongSeq_copy
413 #define DDS_LongSeq_copy CDR_LongSeq_copy
414 #endif
415 #ifndef DDS_WcharSeq_copy
416 #define DDS_WcharSeq_copy CDR_WcharSeq_copy
417 #endif
418 #ifndef DDS_DoubleSeq_copy
419 #define DDS_DoubleSeq_copy CDR_DoubleSeq_copy
420 #endif
421 #ifndef DDS_EnumSeq_copy
422 #define DDS_EnumSeq_copy CDR_EnumSeq_copy
423 #endif
424 #ifndef DDS_LongLongSeq_copy
425 #define DDS_LongLongSeq_copy CDR_LongLongSeq_copy
426 #endif
427 #ifndef DDS_OctetSeq_copy
428 #define DDS_OctetSeq_copy CDR_OctetSeq_copy
429 #endif
430 #ifndef DDS_WstringSeq_copy
431 #define DDS_WstringSeq_copy CDR_WstringSeq_copy
432 #endif
433 #ifndef DDS_UnsignedLongLongSeq_copy
434 #define DDS_UnsignedLongLongSeq_copy CDR_UnsignedLongLongSeq_copy
435 #endif
436 #ifndef DDS_CharSeq_copy
437 #define DDS_CharSeq_copy CDR_CharSeq_copy
438 #endif
439 #ifndef DDS_UnsignedShortSeq_copy
440 #define DDS_UnsignedShortSeq_copy CDR_UnsignedShortSeq_copy
441 #endif
442 #ifndef DDS_LongDoubleSeq_copy
443 #define DDS_LongDoubleSeq_copy CDR_LongDoubleSeq_copy
444 #endif
445 #define DDS_UnsignedLongSeq_is_equal CDR_UnsignedLongSeq_is_equal
446 #define DDS_ShortSeq_is_equal CDR_ShortSeq_is_equal
447 #define DDS_BooleanSeq_is_equal CDR_BooleanSeq_is_equal
448 #define DDS_FloatSeq_is_equal CDR_FloatSeq_is_equal
449 #define DDS_LongSeq_is_equal CDR_LongSeq_is_equal
450 #define DDS_WcharSeq_is_equal CDR_WcharSeq_is_equal
451 #define DDS_DoubleSeq_is_equal CDR_DoubleSeq_is_equal
452 #define DDS_EnumSeq_is_equal CDR_EnumSeq_is_equal
453 #define DDS_LongLongSeq_is_equal CDR_LongLongSeq_is_equal
454 #define DDS_OctetSeq_is_equal CDR_OctetSeq_is_equal
455 #define DDS_WstringSeq_is_equal CDR_WstringSeq_is_equal
456 #define DDS_UnsignedLongLongSeq_is_equal CDR_UnsignedLongLongSeq_is_equal
457 #define DDS_CharSeq_is_equal CDR_CharSeq_is_equal
458 #define DDS_UnsignedShortSeq_is_equal CDR_UnsignedShortSeq_is_equal
459 #define DDS_LongDoubleSeq_is_equal CDR_LongDoubleSeq_is_equal
460 #define DDS_UnsignedLongSeq_is_equal CDR_UnsignedLongSeq_is_equal
461 #define DDS_ShortSeq_is_equal CDR_ShortSeq_is_equal
462 #define DDS_BooleanSeq_is_equal CDR_BooleanSeq_is_equal
463 #define DDS_FloatSeq_is_equal CDR_FloatSeq_is_equal
464 #define DDS_LongSeq_is_equal CDR_LongSeq_is_equal
465 #define DDS_WcharSeq_is_equal CDR_WcharSeq_is_equal
466 #define DDS_DoubleSeq_is_equal CDR_DoubleSeq_is_equal
467 #define DDS_EnumSeq_is_equal CDR_EnumSeq_is_equal
468 #define DDS_LongLongSeq_is_equal CDR_LongLongSeq_is_equal
469 #define DDS_OctetSeq_is_equal CDR_OctetSeq_is_equal
470 #define DDS_WstringSeq_is_equal CDR_WstringSeq_is_equal
471 #define DDS_UnsignedLongLongSeq_is_equal CDR_UnsignedLongLongSeq_is_equal
472 #define DDS_CharSeq_is_equal CDR_CharSeq_is_equal
473 #define DDS_UnsignedShortSeq_is_equal CDR_UnsignedShortSeq_is_equal
474 #define DDS_LongDoubleSeq_is_equal CDR_LongDoubleSeq_is_equal
475 #define DDS_UnsignedLongSeq_loan_contiguous CDR_UnsignedLongSeq_loan_contiguous
476 #define DDS_ShortSeq_loan_contiguous CDR_ShortSeq_loan_contiguous
477 #define DDS_BooleanSeq_loan_contiguous CDR_BooleanSeq_loan_contiguous
478 #define DDS_FloatSeq_loan_contiguous CDR_FloatSeq_loan_contiguous
479 #define DDS_LongSeq_loan_contiguous CDR_LongSeq_loan_contiguous
480 #define DDS_WcharSeq_loan_contiguous CDR_WcharSeq_loan_contiguous
481 #define DDS_DoubleSeq_loan_contiguous CDR_DoubleSeq_loan_contiguous
482 #define DDS_EnumSeq_loan_contiguous CDR_EnumSeq_loan_contiguous
483 #define DDS_LongLongSeq_loan_contiguous CDR_LongLongSeq_loan_contiguous
484 #define DDS_OctetSeq_loan_contiguous CDR_OctetSeq_loan_contiguous
485 #define DDS_WstringSeq_loan_contiguous CDR_WstringSeq_loan_contiguous
486 #define DDS_UnsignedLongLongSeq_loan_contiguous CDR_UnsignedLongLongSeq_loan_contiguous
487 #define DDS_CharSeq_loan_contiguous CDR_CharSeq_loan_contiguous
488 #define DDS_UnsignedShortSeq_loan_contiguous CDR_UnsignedShortSeq_loan_contiguous
489 #define DDS_LongDoubleSeq_loan_contiguous CDR_LongDoubleSeq_loan_contiguous
490 #define DDS_UnsignedLongSeq_loan_discontiguous CDR_UnsignedLongSeq_loan_discontiguous
491 #define DDS_ShortSeq_loan_discontiguous CDR_ShortSeq_loan_discontiguous
492 #define DDS_BooleanSeq_loan_discontiguous CDR_BooleanSeq_loan_discontiguous
493 #define DDS_FloatSeq_loan_discontiguous CDR_FloatSeq_loan_discontiguous
494 #define DDS_LongSeq_loan_discontiguous CDR_LongSeq_loan_discontiguous
495 #define DDS_WcharSeq_loan_discontiguous CDR_WcharSeq_loan_discontiguous
496 #define DDS_DoubleSeq_loan_discontiguous CDR_DoubleSeq_loan_discontiguous
497 #define DDS_EnumSeq_loan_discontiguous CDR_EnumSeq_loan_discontiguous
498 #define DDS_LongLongSeq_loan_discontiguous CDR_LongLongSeq_loan_discontiguous
499 #define DDS_OctetSeq_loan_discontiguous CDR_OctetSeq_loan_discontiguous
500 #define DDS_WstringSeq_loan_discontiguous CDR_WstringSeq_loan_discontiguous
501 #define DDS_UnsignedLongLongSeq_loan_discontiguous CDR_UnsignedLongLongSeq_loan_discontiguous
502 #define DDS_CharSeq_loan_discontiguous CDR_CharSeq_loan_discontiguous
503 #define DDS_UnsignedShortSeq_loan_discontiguous CDR_UnsignedShortSeq_loan_discontiguous
504 #define DDS_LongDoubleSeq_loan_discontiguous CDR_LongDoubleSeq_loan_discontiguous
505 #define DDS_UnsignedLongSeq_has_ownership CDR_UnsignedLongSeq_has_ownership
506 #define DDS_ShortSeq_has_ownership CDR_ShortSeq_has_ownership
507 #define DDS_BooleanSeq_has_ownership CDR_BooleanSeq_has_ownership
508 #define DDS_FloatSeq_has_ownership CDR_FloatSeq_has_ownership
509 #define DDS_LongSeq_has_ownership CDR_LongSeq_has_ownership
510 #define DDS_WcharSeq_has_ownership CDR_WcharSeq_has_ownership
511 #define DDS_DoubleSeq_has_ownership CDR_DoubleSeq_has_ownership
512 #define DDS_EnumSeq_has_ownership CDR_EnumSeq_has_ownership
513 #define DDS_LongLongSeq_has_ownership CDR_LongLongSeq_has_ownership
514 #define DDS_OctetSeq_has_ownership CDR_OctetSeq_has_ownership
515 #define DDS_WstringSeq_has_ownership CDR_WstringSeq_has_ownership
516 #define DDS_UnsignedLongLongSeq_has_ownership CDR_UnsignedLongLongSeq_has_ownership
517 #define DDS_CharSeq_has_ownership CDR_CharSeq_has_ownership
518 #define DDS_UnsignedShortSeq_has_ownership CDR_UnsignedShortSeq_has_ownership
519 #define DDS_LongDoubleSeq_has_ownership CDR_LongDoubleSeq_has_ownership
520 #define DDS_UnsignedLongSeq_has_discontiguous_buffer CDR_UnsignedLongSeq_has_discontiguous_buffer
521 #define DDS_ShortSeq_has_discontiguous_buffer CDR_ShortSeq_has_discontiguous_buffer
522 #define DDS_BooleanSeq_has_discontiguous_buffer CDR_BooleanSeq_has_discontiguous_buffer
523 #define DDS_FloatSeq_has_discontiguous_buffer CDR_FloatSeq_has_discontiguous_buffer
524 #define DDS_LongSeq_has_discontiguous_buffer CDR_LongSeq_has_discontiguous_buffer
525 #define DDS_WcharSeq_has_discontiguous_buffer CDR_WcharSeq_has_discontiguous_buffer
526 #define DDS_DoubleSeq_has_discontiguous_buffer CDR_DoubleSeq_has_discontiguous_buffer
527 #define DDS_EnumSeq_has_discontiguous_buffer CDR_EnumSeq_has_discontiguous_buffer
528 #define DDS_LongLongSeq_has_discontiguous_buffer CDR_LongLongSeq_has_discontiguous_buffer
529 #define DDS_OctetSeq_has_discontiguous_buffer CDR_OctetSeq_has_discontiguous_buffer
530 #define DDS_WstringSeq_has_discontiguous_buffer CDR_WstringSeq_has_discontiguous_buffer
531 #define DDS_UnsignedLongLongSeq_has_discontiguous_buffer CDR_UnsignedLongLongSeq_has_discontiguous_buffer
532 #define DDS_CharSeq_has_discontiguous_buffer CDR_CharSeq_has_discontiguous_buffer
533 #define DDS_UnsignedShortSeq_has_discontiguous_buffer CDR_UnsignedShortSeq_has_discontiguous_buffer
534 #define DDS_LongDoubleSeq_has_discontiguous_buffer CDR_LongDoubleSeq_has_discontiguous_buffer
535 #define DDS_UnsignedLongSeq_get_contiguous_buffer CDR_UnsignedLongSeq_get_contiguous_buffer
536 #define DDS_ShortSeq_get_contiguous_buffer CDR_ShortSeq_get_contiguous_buffer
537 #define DDS_BooleanSeq_get_contiguous_buffer CDR_BooleanSeq_get_contiguous_buffer
538 #define DDS_FloatSeq_get_contiguous_buffer CDR_FloatSeq_get_contiguous_buffer
539 #define DDS_LongSeq_get_contiguous_buffer CDR_LongSeq_get_contiguous_buffer
540 #define DDS_WcharSeq_get_contiguous_buffer CDR_WcharSeq_get_contiguous_buffer
541 #define DDS_DoubleSeq_get_contiguous_buffer CDR_DoubleSeq_get_contiguous_buffer
542 #define DDS_EnumSeq_get_contiguous_buffer CDR_EnumSeq_get_contiguous_buffer
543 #define DDS_LongLongSeq_get_contiguous_buffer CDR_LongLongSeq_get_contiguous_buffer
544 #define DDS_OctetSeq_get_contiguous_buffer CDR_OctetSeq_get_contiguous_buffer
545 #define DDS_WstringSeq_get_contiguous_buffer CDR_WstringSeq_get_contiguous_buffer
546 #define DDS_UnsignedLongLongSeq_get_contiguous_buffer CDR_UnsignedLongLongSeq_get_contiguous_buffer
547 #define DDS_CharSeq_get_contiguous_buffer CDR_CharSeq_get_contiguous_buffer
548 #define DDS_UnsignedShortSeq_get_contiguous_buffer CDR_UnsignedShortSeq_get_contiguous_buffer
549 #define DDS_LongDoubleSeq_get_contiguous_buffer CDR_LongDoubleSeq_get_contiguous_buffer
550 #define DDS_UnsignedLongSeq_set_contiguous_buffer CDR_UnsignedLongSeq_set_contiguous_buffer
551 #define DDS_ShortSeq_set_contiguous_buffer CDR_ShortSeq_set_contiguous_buffer
552 #define DDS_BooleanSeq_set_contiguous_buffer CDR_BooleanSeq_set_contiguous_buffer
553 #define DDS_FloatSeq_set_contiguous_buffer CDR_FloatSeq_set_contiguous_buffer
554 #define DDS_LongSeq_set_contiguous_buffer CDR_LongSeq_set_contiguous_buffer
555 #define DDS_WcharSeq_set_contiguous_buffer CDR_WcharSeq_set_contiguous_buffer
556 #define DDS_DoubleSeq_set_contiguous_buffer CDR_DoubleSeq_set_contiguous_buffer
557 #define DDS_EnumSeq_set_contiguous_buffer CDR_EnumSeq_set_contiguous_buffer
558 #define DDS_LongLongSeq_set_contiguous_buffer CDR_LongLongSeq_set_contiguous_buffer
559 #define DDS_OctetSeq_set_contiguous_buffer CDR_OctetSeq_set_contiguous_buffer
560 #define DDS_WstringSeq_set_contiguous_buffer CDR_WstringSeq_set_contiguous_buffer
561 #define DDS_UnsignedLongLongSeq_set_contiguous_buffer CDR_UnsignedLongLongSeq_set_contiguous_buffer
562 #define DDS_CharSeq_set_contiguous_buffer CDR_CharSeq_set_contiguous_buffer
563 #define DDS_UnsignedShortSeq_set_contiguous_buffer CDR_UnsignedShortSeq_set_contiguous_buffer
564 #define DDS_LongDoubleSeq_set_contiguous_buffer CDR_LongDoubleSeq_set_contiguous_buffer
565 #define DDS_UnsignedLongSeq_unloan CDR_UnsignedLongSeq_unloan
566 #define DDS_ShortSeq_unloan CDR_ShortSeq_unloan
567 #define DDS_BooleanSeq_unloan CDR_BooleanSeq_unloan
568 #define DDS_FloatSeq_unloan CDR_FloatSeq_unloan
569 #define DDS_LongSeq_unloan CDR_LongSeq_unloan
570 #define DDS_WcharSeq_unloan CDR_WcharSeq_unloan
571 #define DDS_DoubleSeq_unloan CDR_DoubleSeq_unloan
572 #define DDS_EnumSeq_unloan CDR_EnumSeq_unloan
573 #define DDS_LongLongSeq_unloan CDR_LongLongSeq_unloan
574 #define DDS_OctetSeq_unloan CDR_OctetSeq_unloan
575 #define DDS_WstringSeq_unloan CDR_WstringSeq_unloan
576 #define DDS_UnsignedLongLongSeq_unloan CDR_UnsignedLongLongSeq_unloan
577 #define DDS_CharSeq_unloan CDR_CharSeq_unloan
578 #define DDS_UnsignedShortSeq_unloan CDR_UnsignedShortSeq_unloan
579 #define DDS_LongDoubleSeq_unloan CDR_LongDoubleSeq_unloan
580 
581 #define DDS_UnsignedLongSeq_ensure_length CDR_UnsignedLongSeq_ensure_length
582 #define DDS_ShortSeq_ensure_length CDR_ShortSeq_ensure_length
583 #define DDS_BooleanSeq_ensure_length CDR_BooleanSeq_ensure_length
584 #define DDS_FloatSeq_ensure_length CDR_FloatSeq_ensure_length
585 #define DDS_LongSeq_ensure_length CDR_LongSeq_ensure_length
586 #define DDS_WcharSeq_ensure_length CDR_WcharSeq_ensure_length
587 #define DDS_DoubleSeq_ensure_length CDR_DoubleSeq_ensure_length
588 #define DDS_EnumSeq_ensure_length CDR_EnumSeq_ensure_length
589 #define DDS_LongLongSeq_ensure_length CDR_LongLongSeq_ensure_length
590 #define DDS_OctetSeq_ensure_length CDR_OctetSeq_ensure_length
591 #define DDS_WstringSeq_ensure_length CDR_WstringSeq_ensure_length
592 #define DDS_UnsignedLongLongSeq_ensure_length CDR_UnsignedLongLongSeq_ensure_length
593 #define DDS_CharSeq_ensure_length CDR_CharSeq_ensure_length
594 #define DDS_UnsignedShortSeq_ensure_length CDR_UnsignedShortSeq_ensure_length
595 #define DDS_LongDoubleSeq_ensure_length CDR_LongDoubleSeq_ensure_length
596 
597 #define DDS_UnsignedLongSeq_to_array CDR_UnsignedLongSeq_to_array
598 #define DDS_ShortSeq_to_array CDR_ShortSeq_to_array
599 #define DDS_BooleanSeq_to_array CDR_BooleanSeq_to_array
600 #define DDS_FloatSeq_to_array CDR_FloatSeq_to_array
601 #define DDS_LongSeq_to_array CDR_LongSeq_to_array
602 #define DDS_WcharSeq_to_array CDR_WcharSeq_to_array
603 #define DDS_DoubleSeq_to_array CDR_DoubleSeq_to_array
604 #define DDS_EnumSeq_to_array CDR_EnumSeq_to_array
605 #define DDS_LongLongSeq_to_array CDR_LongLongSeq_to_array
606 #define DDS_OctetSeq_to_array CDR_OctetSeq_to_array
607 #define DDS_WstringSeq_to_array CDR_WstringSeq_to_array
608 #define DDS_UnsignedLongLongSeq_to_array CDR_UnsignedLongLongSeq_to_array
609 #define DDS_CharSeq_to_array CDR_CharSeq_to_array
610 #define DDS_UnsignedShortSeq_to_array CDR_UnsignedShortSeq_to_array
611 #define DDS_LongDoubleSeq_to_array CDR_LongDoubleSeq_to_array
612 
613 #define DDS_UnsignedLongSeq_from_array CDR_UnsignedLongSeq_from_array
614 #define DDS_ShortSeq_from_array CDR_ShortSeq_from_array
615 #define DDS_BooleanSeq_from_array CDR_BooleanSeq_from_array
616 #define DDS_FloatSeq_from_array CDR_FloatSeq_from_array
617 #define DDS_LongSeq_from_array CDR_LongSeq_from_array
618 #define DDS_WcharSeq_from_array CDR_WcharSeq_from_array
619 #define DDS_DoubleSeq_from_array CDR_DoubleSeq_from_array
620 #define DDS_EnumSeq_from_array CDR_EnumSeq_from_array
621 #define DDS_LongLongSeq_from_array CDR_LongLongSeq_from_array
622 #define DDS_OctetSeq_from_array CDR_OctetSeq_from_array
623 #define DDS_WstringSeq_from_array CDR_WstringSeq_from_array
624 #define DDS_UnsignedLongLongSeq_from_array CDR_UnsignedLongLongSeq_from_array
625 #define DDS_CharSeq_from_array CDR_CharSeq_from_array
626 #define DDS_UnsignedShortSeq_from_array CDR_UnsignedShortSeq_from_array
627 #define DDS_LongDoubleSeq_from_array CDR_LongDoubleSeq_from_array
628 
629 #endif /* REDA_SEQUENCE_API > REDA_SEQUENCE_API_BASIC */
630 #if REDA_SEQUENCE_API > REDA_SEQUENCE_API_FULL
631 #error "REDA_SEQUENCE_API_UNTYPED <= REDA_SEQUENCE_API <= REDA_SEQUENCE_API_FULL"
632 #endif /* REDA_SEQUENCE_API > REDA_SEQUENCE_API_FULL */
633 
634 #ifdef __cplusplus
635 } /* extern "C" */
636 #endif
637 
638 
639 #endif /* dds_c_sequence_h */

RTI Connext DDS Micro Version 2.4.6 Copyright © Mon Jan 25 2016 Real-Time Innovations, Inc