Differences From Artifact [f2dc48f29f]:
- File src/OFDataArray.h — part of check-in [d1572ef036] at 2012-01-31 13:59:09 on branch trunk — Add -[removeAllObjects] and -[removeAllItems]. (user: js, size: 7111) [annotate] [blame] [check-ins using]
To Artifact [4922f55b79]:
- File
src/OFDataArray.h
— part of check-in
[d5ddb2cb48]
at
2012-06-06 13:09:08
on branch trunk
— Rework OFDataArray API.
Also adds more checks. (user: js, size: 6868) [annotate] [blame] [check-ins using] [more...]
︙ | ︙ | |||
184 185 186 187 188 189 190 | /** * \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 */ | | | | < | > < > < | | > < < < < < < < | < | < | 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)insertItem: (const void*)item atIndex: (size_t)index; /** * \brief Adds items from a C array to the OFDataArray. * * \param count The number of items to add * \param cArray A C array containing the items to add */ - (void)addItemsFromCArray: (const void*)cArray count: (size_t)count; /** * \brief Adds items from a C array to the OFDataArray at the specified index. * * \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)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 at the specified index. * * \param range The range of items to remove */ - (void)removeItemsInRange: (of_range_t)range; /** * \brief Removes the last item. */ - (void)removeLastItem; /** |
︙ | ︙ |