RTOpPack: Extra C/C++ Code for Vector Reduction/Transformation Operators Version of the Day
|const char *||op_name|
|int(*||reduct_obj_reinit )(const struct RTOp_RTOp_vtbl_t *vtbl, const void *obj_data, RTOp_ReductTarget reduct_obj)|
Struct for the virtual function table for RTOp_RTOp.
This is the table that the user must fill up in order to implement the functions for a reduction operator class.
The virtual functions for dealing with the operator instance data and reduction object data are bundled as seperate virtual function tables themselves. This it to allow for as much reuse as possible since it is expected that the same data structures will be reused an many different situations.
|const char* RTOp_RTOp_vtbl_t::op_name|
|int(* RTOp_RTOp_vtbl_t::reduct_obj_reinit)(const struct RTOp_RTOp_vtbl_t *vtbl, const void *obj_data,RTOp_ReductTarget reduct_obj)|
Used to overide the initialization or reinitialization of a reduction object before it is passed through a series of reductions.
This function pointer should be made
NULL if the default initialization performed by
this->reduct_vtbl->obj_reinit is sufficient (which will generally be the case).