Zen API

- Home
- Topics
- Types
- Files

All Classes Files Functions Variables Typedefs Friends Macros Modules Pages

#define kMap_FindItemT | ( |  | kMap_map,
|  |  | KPtr_key,
|  |  | kMapItemPtr_item
| ) |  |
| related

Finds the map item associated with the given key.

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

Parameters

  kMap_map | Map object.
  KPtr_key | Strongly-typed pointer to key.
  kMapItemPtr_item | Optionally receives map item (can be kNULL).

Returns
  kOK if found; kERROR_NOT_FOUND if not found.