dictionary_handler Struct Reference

A dictionary_handler is responsible for dealing with the specific interface for an underlying dictionary, but is decoupled from a specific implementation. More...

#include <dictionary_types.h>

Collaboration diagram for dictionary_handler:

Public Attributes

ion_status_t(* insert )(ion_dictionary_t *, ion_key_t, ion_value_t)
 
ion_err_t(* create_dictionary )(ion_dictionary_id_t, ion_key_type_t, ion_key_size_t, ion_value_size_t, ion_dictionary_size_t, ion_dictionary_compare_t, ion_dictionary_handler_t *, ion_dictionary_t *)
 
ion_status_t(* get )(ion_dictionary_t *, ion_key_t, ion_value_t)
 
ion_status_t(* update )(ion_dictionary_t *, ion_key_t, ion_value_t)
 
ion_err_t(* find )(ion_dictionary_t *, ion_predicate_t *, ion_dict_cursor_t **)
 
ion_status_t(* remove )(ion_dictionary_t *, ion_key_t)
 
ion_err_t(* delete_dictionary )(ion_dictionary_t *)
 
ion_err_t(* destroy_dictionary )(ion_dictionary_id_t id)
 
ion_err_t(* open_dictionary )(ion_dictionary_handler_t *, ion_dictionary_t *, ion_dictionary_config_info_t *, ion_dictionary_compare_t)
 
ion_err_t(* close_dictionary )(ion_dictionary_t *)
 

Detailed Description

A dictionary_handler is responsible for dealing with the specific interface for an underlying dictionary, but is decoupled from a specific implementation.

Definition at line 207 of file dictionary_types.h.

Member Data Documentation

ion_err_t(* dictionary_handler::close_dictionary) (ion_dictionary_t *)

A pointer to the dictionaries close function

Definition at line 263 of file dictionary_types.h.

A pointer to the dictionaries creation function.

Definition at line 214 of file dictionary_types.h.

ion_err_t(* dictionary_handler::delete_dictionary) (ion_dictionary_t *)

A pointer to the dictionaries dictionary removal function.

Definition at line 248 of file dictionary_types.h.

ion_err_t(* dictionary_handler::destroy_dictionary) (ion_dictionary_id_t id)

A pointer to the dictionaries dictionary destroy function.

Definition at line 252 of file dictionary_types.h.

ion_err_t(* dictionary_handler::find) (ion_dictionary_t *, ion_predicate_t *, ion_dict_cursor_t **)

A pointer to the dictionaries find function

Definition at line 237 of file dictionary_types.h.

ion_status_t(* dictionary_handler::get) (ion_dictionary_t *, ion_key_t, ion_value_t)

A pointer to the dictionaries get function.

Definition at line 225 of file dictionary_types.h.

ion_status_t(* dictionary_handler::insert) (ion_dictionary_t *, ion_key_t, ion_value_t)

A pointer to the dictionaries insertion function.

Definition at line 208 of file dictionary_types.h.

A pointer to the dictionaries open function.

Definition at line 256 of file dictionary_types.h.

ion_status_t(* dictionary_handler::remove) (ion_dictionary_t *, ion_key_t)

A pointer to the dictionaries key-value deletion function.

Definition at line 243 of file dictionary_types.h.

ion_status_t(* dictionary_handler::update) (ion_dictionary_t *, ion_key_t, ion_value_t)

A pointer to the dictionaries update function.

Definition at line 231 of file dictionary_types.h.


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