Vuo  2.0.0
VuoList_VuoTree.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_VuoTree_TYPE_DEFINED)
28 
32 typedef const struct VuoList_VuoTree_struct { void *l; } * VuoList_VuoTree;
34 #endif
35 
40 
46 VuoList_VuoTree VuoListCreateWithCount_VuoTree(const unsigned long count, const VuoTree value);
47 
52 
61 VuoTree VuoListGetValue_VuoTree(const VuoList_VuoTree list, const unsigned long index);
62 
80 
89 void VuoListForeach_VuoTree(const VuoList_VuoTree list, bool (^function)(const VuoTree value));
90 
101 void VuoListSetValue_VuoTree(const VuoList_VuoTree list, const VuoTree value, const unsigned long index, bool expandListIfNeeded);
102 
109 void VuoListInsertValue_VuoTree(const VuoList_VuoTree list, const VuoTree value, const unsigned long index);
110 
114 void VuoListPrependValue_VuoTree(VuoList_VuoTree list, const VuoTree value);
115 
119 void VuoListAppendValue_VuoTree(VuoList_VuoTree list, const VuoTree value);
120 
124 void VuoListExchangeValues_VuoTree(VuoList_VuoTree list, const unsigned long indexA, const unsigned long indexB);
125 
126 #ifdef VuoTree_SUPPORTS_COMPARISON
127 
130 void VuoListSort_VuoTree(VuoList_VuoTree list);
131 
137 bool VuoList_VuoTree_areEqual(const VuoList_VuoTree a, const VuoList_VuoTree b);
138 
142 bool VuoList_VuoTree_isLessThan(const VuoList_VuoTree a, const VuoList_VuoTree b);
143 #endif
144 
150 void VuoListShuffle_VuoTree(VuoList_VuoTree list, const double chaos);
151 
156 
162 VuoList_VuoTree VuoListSubset_VuoTree(VuoList_VuoTree list, const signed long startIndex, const unsigned long itemCount);
163 
164 #ifdef VuoTree_SUPPORTS_COMPARISON
165 
172 VuoList_VuoTree VuoListRemoveDuplicates_VuoTree(VuoList_VuoTree list);
173 #endif
174 
179 
184 
189 
195 void VuoListRemoveValue_VuoTree(VuoList_VuoTree list, const unsigned long index);
196 
200 unsigned long VuoListGetCount_VuoTree(const VuoList_VuoTree list);
201 
210 
215 
216 #ifdef VuoTree_REQUIRES_INTERPROCESS_JSON
217 
222 struct json_object * VuoList_VuoTree_getInterprocessJson(const VuoList_VuoTree value);
223 #endif
224 
228 char * VuoList_VuoTree_getSummary(const VuoList_VuoTree value);
229 
231 
235 char * VuoList_VuoTree_getString(const VuoList_VuoTree value);
237 
242 #ifdef __cplusplus
243 }
244 #endif