Vuo  2.0.0
VuoList_VuoKey.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_VuoKey_TYPE_DEFINED)
28 
32 typedef const struct VuoList_VuoKey_struct { void *l; } * VuoList_VuoKey;
34 #endif
35 
40 
46 VuoList_VuoKey VuoListCreateWithCount_VuoKey(const unsigned long count, const VuoKey value);
47 
52 
61 VuoKey VuoListGetValue_VuoKey(const VuoList_VuoKey list, const unsigned long index);
62 
80 
89 void VuoListForeach_VuoKey(const VuoList_VuoKey list, bool (^function)(const VuoKey value));
90 
101 void VuoListSetValue_VuoKey(const VuoList_VuoKey list, const VuoKey value, const unsigned long index, bool expandListIfNeeded);
102 
109 void VuoListInsertValue_VuoKey(const VuoList_VuoKey list, const VuoKey value, const unsigned long index);
110 
114 void VuoListPrependValue_VuoKey(VuoList_VuoKey list, const VuoKey value);
115 
119 void VuoListAppendValue_VuoKey(VuoList_VuoKey list, const VuoKey value);
120 
124 void VuoListExchangeValues_VuoKey(VuoList_VuoKey list, const unsigned long indexA, const unsigned long indexB);
125 
126 #ifdef VuoKey_SUPPORTS_COMPARISON
127 
130 void VuoListSort_VuoKey(VuoList_VuoKey list);
131 
137 bool VuoList_VuoKey_areEqual(const VuoList_VuoKey a, const VuoList_VuoKey b);
138 
142 bool VuoList_VuoKey_isLessThan(const VuoList_VuoKey a, const VuoList_VuoKey b);
143 #endif
144 
150 void VuoListShuffle_VuoKey(VuoList_VuoKey list, const double chaos);
151 
156 
162 VuoList_VuoKey VuoListSubset_VuoKey(VuoList_VuoKey list, const signed long startIndex, const unsigned long itemCount);
163 
164 #ifdef VuoKey_SUPPORTS_COMPARISON
165 
172 VuoList_VuoKey VuoListRemoveDuplicates_VuoKey(VuoList_VuoKey list);
173 #endif
174 
179 
184 
189 
195 void VuoListRemoveValue_VuoKey(VuoList_VuoKey list, const unsigned long index);
196 
200 unsigned long VuoListGetCount_VuoKey(const VuoList_VuoKey list);
201 
210 
215 
216 #ifdef VuoKey_REQUIRES_INTERPROCESS_JSON
217 
222 struct json_object * VuoList_VuoKey_getInterprocessJson(const VuoList_VuoKey value);
223 #endif
224 
228 char * VuoList_VuoKey_getSummary(const VuoList_VuoKey value);
229 
231 
235 char * VuoList_VuoKey_getString(const VuoList_VuoKey value);
237 
242 #ifdef __cplusplus
243 }
244 #endif