MCPcopy Create free account
hub / github.com/defold/defold / GetIterator

Method GetIterator

engine/dlib/src/dmsdk/dlib/hashtable.h:505–508  ·  view source on GitHub ↗

* Get an iterator for the key/value pairs * @name GetIterator * @return iterator [type: dmHashTable ::Iterator] the iterator * @examples * ```cpp * dmHashTable ::Iterator iter = ht.GetIterator(); * while(iter.Next()) * { * printf("%s: %d\n", dmHashReverseSafe64(iter.GetKey()), iter.GetValue()); * } * ``` */

Source from the content-addressed store, hash-verified

503 * ```
504 */
505 Iterator GetIterator()
506 {
507 return Iterator(*this);
508 }
509
510 /**
511 * Verify internal structure. "assert" if invalid. For unit testing

Callers 10

ClearCachedTextLayoutsFunction · 0.80
TESTFunction · 0.80
CreateEntryMapFunction · 0.80
~FontMapMethod · 0.80
FontCollectionRemoveFontFunction · 0.80
DeleteDynamicTexturesFunction · 0.80
CompSpriteDeleteWorldFunction · 0.80
ClearFixtureShapesFunction · 0.80

Calls 1

IteratorClass · 0.85

Tested by 1

TESTFunction · 0.64