Collection
Loading...
Searching...
No Matches
DictionaryNode Struct Reference

Node representing a key-value pair in a hash table. More...

Public Attributes

const char * key
const void * value
struct DictionaryNodenext

Detailed Description

Node representing a key-value pair in a hash table.

Each node stores a heap-allocated key string, a generic pointer value, and a pointer to the next node for handling hash collisions via chaining.

Member Data Documentation

◆ key

const char* DictionaryNode::key

🔑 Heap-allocated key string

◆ next

struct DictionaryNode* DictionaryNode::next

➡️ Pointer to the next node in the collision chain

◆ value

const void* DictionaryNode::value

📦 Pointer to the associated value (generic)


The documentation for this struct was generated from the following file: