MOOCHO (Single Doxygen Collection)  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
RTOp_reduct_sum_value.h File Reference
#include "RTOp.h"
Include dependency graph for RTOp_reduct_sum_value.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 scalar value.

These functions perform a simple sum of a scalar reduction object as defined by the virtual function table {RTOp_obj_value_vtbl}.

int RTOp_reduct_sum_value (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_value_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_value ( 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_value.c.

int RTOp_get_reduct_sum_value_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 67 of file RTOp_reduct_sum_value.c.