Vuo  2.3.2
VuoList_VuoNoise.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_VuoNoise_TYPE_DEFINED)
29 
32 typedef const struct VuoList_VuoNoise_struct { void *l; } * VuoList_VuoNoise;
34 #endif
35 
40 
46 VuoList_VuoNoise VuoListCreateWithCount_VuoNoise(const unsigned long count, const VuoNoise value);
47 
52 
61 VuoNoise VuoListGetValue_VuoNoise(const VuoList_VuoNoise list, const unsigned long index);
62 
80 
89 void VuoListForeach_VuoNoise(const VuoList_VuoNoise list, bool (^function)(const VuoNoise value));
90 
101 void VuoListSetValue_VuoNoise(const VuoList_VuoNoise list, const VuoNoise value, const unsigned long index, bool expandListIfNeeded);
102 
109 void VuoListInsertValue_VuoNoise(const VuoList_VuoNoise list, const VuoNoise value, const unsigned long index);
110 
115 
120 
124 void VuoListExchangeValues_VuoNoise(VuoList_VuoNoise list, const unsigned long indexA, const unsigned long indexB);
125 
126 #ifdef VuoNoise_SUPPORTS_COMPARISON
130 void VuoListSort_VuoNoise(VuoList_VuoNoise list);
131 
137 bool VuoList_VuoNoise_areEqual(const VuoList_VuoNoise a, const VuoList_VuoNoise b);
138 
142 bool VuoList_VuoNoise_isLessThan(const VuoList_VuoNoise a, const VuoList_VuoNoise b);
143 #endif
144 
150 void VuoListShuffle_VuoNoise(VuoList_VuoNoise list, const double chaos);
151 
156 
162 VuoList_VuoNoise VuoListSubset_VuoNoise(VuoList_VuoNoise list, const signed long startIndex, const unsigned long itemCount);
163 
164 #ifdef VuoNoise_SUPPORTS_COMPARISON
172 VuoList_VuoNoise VuoListRemoveDuplicates_VuoNoise(VuoList_VuoNoise list);
173 #endif
174 
179 
184 
189 
195 void VuoListRemoveValue_VuoNoise(VuoList_VuoNoise list, const unsigned long index);
196 
200 unsigned long VuoListGetCount_VuoNoise(const VuoList_VuoNoise list);
201 
210 
215 
216 #ifdef VuoNoise_REQUIRES_INTERPROCESS_JSON
222 struct json_object * VuoList_VuoNoise_getInterprocessJson(const VuoList_VuoNoise value);
223 #endif
224 
229 
231 
237 
242 #ifdef __cplusplus
243 }
244 #endif