184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
|
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
|
-
-
+
+
-
+
-
-
+
+
-
+
-
-
-
+
+
+
-
-
-
-
-
-
-
-
+
-
-
+
-
|
/**
* \brief Adds an item to the OFDataArray at the specified index.
*
* \param item A pointer to an arbitrary item
* \param index The index where the item should be added
*/
- (void)addItem: (const void*)item
atIndex: (size_t)index;
- (void)insertItem: (const void*)item
atIndex: (size_t)index;
/**
* \brief Adds items from a C array to the OFDataArray.
*
* \param nItems The number of items to add
* \param count The number of items to add
* \param cArray A C array containing the items to add
*/
- (void)addNItems: (size_t)nItems
fromCArray: (const void*)cArray;
- (void)addItemsFromCArray: (const void*)cArray
count: (size_t)count;
/**
* \brief Adds items from a C array to the OFDataArray at the specified index.
*
* \param nItems The number of items to add
* \param cArray A C array containing the items to add
* \param index The index where the items should be added
* \param count The number of items to add
*/
- (void)addNItems: (size_t)nItems
fromCArray: (const void*)cArray
atIndex: (size_t)index;
- (void)insertItemsFromCArray: (const void*)cArray
atIndex: (size_t)index
count: (size_t)count;
/**
* \brief Removes the item at the specified index.
*
* \param index The index of the item to remove
*/
- (void)removeItemAtIndex: (size_t)index;
/**
* \brief Removes the specified amount of items from the end of the OFDataArray.
*
* \param nItems The number of items to remove
*/
- (void)removeNItems: (size_t)nItems;
/**
* \brief Removes the specified amount of items at the specified index.
*
* \param nItems The number of items to remove
* \param range The range of items to remove
* \param index The index at which the items are removed
*/
- (void)removeNItems: (size_t)nItems
- (void)removeItemsInRange: (of_range_t)range;
atIndex: (size_t)index;
/**
* \brief Removes the last item.
*/
- (void)removeLastItem;
/**
|