Zen API

- Home
- Topics
- Types
- Files

All Classes Files Functions Variables Typedefs Friends Macros Modules Pages

#define kList_AtIndexT | ( |  | kList_list,
|  |  | kSize_index,
|  |  | T
| ) |  |
| related

Returns a strongly-typed pointer to the content associated with a list item at the specified index.

This method requires a linear search through the list.

A debug assertion will be raised if the size of the specified item type is not equal to the size of the collection item type.

Parameters

  kList_list | List object.
  kSize_index | Item index.
  T | Item type identifier (e.g., k32s).

Returns
  Strongly-typed pointer to content (or kNULL if index is beyond Count).