HashTableIter

class HashTableIter(pointer: <Error class: unknown class><<Error class: unknown class>>) : Record

A GHashTableIter structure represents an iterator that can be used to iterate over the elements of a #GHashTable. GHashTableIter structures are typically allocated on the stack and then initialized with g_hash_table_iter_init().

The iteration order of a #GHashTableIter over the keys/values in a hash table is not defined.

Skipped during bindings generation

  • parameter key: key: Out parameter is not supported

  • parameter value: gpointer

  • field dummy1: Record field dummy1 is private

  • field dummy2: Record field dummy2 is private

  • field dummy3: Record field dummy3 is private

  • field dummy4: Record field dummy4 is private

  • field dummy5: Record field dummy5 is private

  • field dummy6: Record field dummy6 is private

Constructors

Link copied to clipboard
constructor(pointer: <Error class: unknown class><<Error class: unknown class>>)

Types

Link copied to clipboard
object Companion : RecordCompanion<HashTableIter, <Error class: unknown class>>

Properties

Link copied to clipboard
val glibHashTableIterPointer: <Error class: unknown class><<Error class: unknown class>>

Functions

Link copied to clipboard
fun init(hashTable: HashTable)

Initializes a key/value pair iterator and associates it with

Link copied to clipboard
fun remove()

Removes the key/value pair currently pointed to by the iterator from its associated #GHashTable. Can only be called after g_hash_table_iter_next() returned true, and cannot be called more than once for the same key/value pair.

Link copied to clipboard
fun steal()

Removes the key/value pair currently pointed to by the iterator from its associated #GHashTable, without calling the key and value destroy functions. Can only be called after g_hash_table_iter_next() returned true, and cannot be called more than once for the same key/value pair.