MOOCHO (Single Doxygen Collection)  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
RTOp_reduct_sum_values.h File Reference
#include "RTOp.h"
Include dependency graph for RTOp_reduct_sum_values.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Definitions of reduction functions for summing a list of scalar values.

These functions perform a simple sum of a list of scalar objects as defined by the virtual function table {RTOp_obj_values_vtbl}.

int RTOp_reduct_sum_values (const struct RTOp_RTOp_vtbl_t *vtbl, const void *obj_data, RTOp_ReductTarget in_targ_obj, RTOp_ReductTarget inout_targ_obj)
 
int RTOp_get_reduct_sum_values_op (const struct RTOp_RTOp_vtbl_t *vtbl, const void *obj_data, RTOp_reduct_op_func_ptr_t *reduct_op_func_ptr)
 

Function Documentation

int RTOp_reduct_sum_values ( const struct RTOp_RTOp_vtbl_t vtbl,
const void obj_data,
RTOp_ReductTarget  in_targ_obj,
RTOp_ReductTarget  inout_targ_obj 
)

Use this function for reduce_reduct_objs in the RTOp_RTOp_vtbl_t virtual function table.

Definition at line 46 of file RTOp_reduct_sum_values.c.

int RTOp_get_reduct_sum_values_op ( const struct RTOp_RTOp_vtbl_t vtbl,
const void obj_data,
RTOp_reduct_op_func_ptr_t *  reduct_op_func_ptr 
)

Use this function for get_reduct_op in the RTOp_RTOp_vtbl_t virtual function table.

Definition at line 77 of file RTOp_reduct_sum_values.c.