Zen API
 All Classes Files Functions Variables Typedefs Friends Macros Modules Pages
#define kMap_AddT (   kMap_map,
  KPtr_key,
  VPtr_value 
)
related

Adds a new key-value pair.

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

Parameters
kMap_mapMap object.
KPtr_keyStrongly-typed pointer to key.
VPtr_valueStrongly-typed pointer to value.
Returns
kOK if added; kERROR_ALREADY_EXISTS if key already present.