Vuo  2.0.0
VuoList_VuoCursor.h
Go to the documentation of this file.
1 
10 #pragma once
11 
12 #ifdef __cplusplus
13 extern "C"
14 {
15 #endif
16 
25 // This header is generated by vuo/type/list/generateVariants.sh.
26 
27 #if defined(DOXYGEN) || !defined(VuoList_VuoCursor_TYPE_DEFINED)
28 
32 typedef const struct VuoList_VuoCursor_struct { void *l; } * VuoList_VuoCursor;
34 #endif
35 
40 
46 VuoList_VuoCursor VuoListCreateWithCount_VuoCursor(const unsigned long count, const VuoCursor value);
47 
52 
61 VuoCursor VuoListGetValue_VuoCursor(const VuoList_VuoCursor list, const unsigned long index);
62 
80 
89 void VuoListForeach_VuoCursor(const VuoList_VuoCursor list, bool (^function)(const VuoCursor value));
90 
101 void VuoListSetValue_VuoCursor(const VuoList_VuoCursor list, const VuoCursor value, const unsigned long index, bool expandListIfNeeded);
102 
109 void VuoListInsertValue_VuoCursor(const VuoList_VuoCursor list, const VuoCursor value, const unsigned long index);
110 
115 
120 
124 void VuoListExchangeValues_VuoCursor(VuoList_VuoCursor list, const unsigned long indexA, const unsigned long indexB);
125 
126 #ifdef VuoCursor_SUPPORTS_COMPARISON
127 
130 void VuoListSort_VuoCursor(VuoList_VuoCursor list);
131 
137 bool VuoList_VuoCursor_areEqual(const VuoList_VuoCursor a, const VuoList_VuoCursor b);
138 
142 bool VuoList_VuoCursor_isLessThan(const VuoList_VuoCursor a, const VuoList_VuoCursor b);
143 #endif
144 
150 void VuoListShuffle_VuoCursor(VuoList_VuoCursor list, const double chaos);
151 
156 
162 VuoList_VuoCursor VuoListSubset_VuoCursor(VuoList_VuoCursor list, const signed long startIndex, const unsigned long itemCount);
163 
164 #ifdef VuoCursor_SUPPORTS_COMPARISON
165 
172 VuoList_VuoCursor VuoListRemoveDuplicates_VuoCursor(VuoList_VuoCursor list);
173 #endif
174 
179 
184 
189 
195 void VuoListRemoveValue_VuoCursor(VuoList_VuoCursor list, const unsigned long index);
196 
200 unsigned long VuoListGetCount_VuoCursor(const VuoList_VuoCursor list);
201 
210 
215 
216 #ifdef VuoCursor_REQUIRES_INTERPROCESS_JSON
217 
222 struct json_object * VuoList_VuoCursor_getInterprocessJson(const VuoList_VuoCursor value);
223 #endif
224 
229 
231 
237 
242 #ifdef __cplusplus
243 }
244 #endif