ucx
UAP Common Extensions
Loading...
Searching...
No Matches
Data Fields
cx_map_class_s Struct Reference

The class definition for arbitrary maps. More...

#include <map.h>

Data Fields

void(* destructor )(struct cx_map_s *map)
 Deallocates the entire memory.
 
void(* clear )(struct cx_map_s *map)
 Removes all elements.
 
int(* put )(CxMap *map, CxHashKey key, void *value)
 Add or overwrite an element.
 
void *(* get )(CxMap const *map, CxHashKey key)
 Returns an element.
 
void *(* remove )(CxMap *map, CxHashKey key, bool destroy)
 Removes an element.
 
CxIterator(* iterator )(CxMap const *map, enum cx_map_iterator_type type)
 Creates an iterator for this map.
 

Detailed Description

The class definition for arbitrary maps.


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