NewMadeleine

Documentation

« back to PM2 home.

set of operations available on data type. More...

#include <nm_data.h>

Collaboration diagram for nm_data_ops_s:

Data Fields

nm_data_traversal_t p_traversal
 operation to apply a given function to all chunks of data (required)
 
nm_data_generator_init_t p_generator_init
 initializes a new generator (chunks enumerator) (optionnal)
 
nm_data_generator_next_t p_generator_next
 get next chunk from generator (optionnal)
 
nm_data_generator_destroy_t p_generator_destroy
 destroy a generator after use (optionnal, may be NULL even if p_generator_init != NULL)
 
nm_data_properties_compute_t p_properties_compute
 optimized function to compute data properties (optionnal)
 

Detailed Description

set of operations available on data type.

Examples
nm_sr_custom_data.c.

Definition at line 181 of file nm_data.h.

Field Documentation

◆ p_generator_destroy

nm_data_generator_destroy_t nm_data_ops_s::p_generator_destroy

destroy a generator after use (optionnal, may be NULL even if p_generator_init != NULL)

Definition at line 186 of file nm_data.h.

Referenced by nm_data_generator_destroy().

◆ p_generator_init

nm_data_generator_init_t nm_data_ops_s::p_generator_init

initializes a new generator (chunks enumerator) (optionnal)

Definition at line 184 of file nm_data.h.

Referenced by nm_data_generator_init().

◆ p_generator_next

nm_data_generator_next_t nm_data_ops_s::p_generator_next

get next chunk from generator (optionnal)

Definition at line 185 of file nm_data.h.

◆ p_properties_compute

nm_data_properties_compute_t nm_data_ops_s::p_properties_compute

optimized function to compute data properties (optionnal)

Definition at line 187 of file nm_data.h.

◆ p_traversal

nm_data_traversal_t nm_data_ops_s::p_traversal

operation to apply a given function to all chunks of data (required)

Examples
nm_sr_custom_data.c.

Definition at line 183 of file nm_data.h.

Referenced by nm_data_isnull(), and nm_data_traversal_apply().


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