chsvlib
chsv helper source code

◆ MapGetKeyFromIter()

EXTERN_C const void* Chusov::MapGetKeyFromIter ( HCHSVMAPITERATOR  hMapIter)
noexcept

The function returns a pointer to key data of the specified element.

Parameters
[in]hMapIteris a handle to the iterator bound with the specified element.
Returns
The function returns a constant pointer to the key data of the element.
Remarks
The length of the key, in bytes, can be retrieved by a separate call to the MapGetKeySizeFromIter function over the same iterator.
The complexity is \(O(1)\).
Declared in chsvmap.h.
See also
MapGetKeySizeFromIter;
MapGetDataFromIter;
MapGetDataSizeFromIter.