MOOCHO (Single Doxygen Collection)  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Macros | Functions | Variables
RTOp_ROp_max.c File Reference
#include "RTOp_ROp_max.h"
#include "RTOp_obj_null_vtbl.h"
#include "RTOp_reduct_max_value.h"
Include dependency graph for RTOp_ROp_max.c:

Go to the source code of this file.

Macros

#define max(a, b)   ( (a) > (b) ? (a) : (b) )
 
#define min(a, b)   ( (a) < (b) ? (a) : (b) )
 

Functions

static int RTOp_ROp_max_apply_op (const struct RTOp_RTOp_vtbl_t *vtbl, const void *obj_data, const int num_vecs, const struct RTOp_SubVector vecs[], const int num_targ_vecs, const struct RTOp_MutableSubVector targ_vecs[], RTOp_ReductTarget reduct_obj)
 
static int RTOp_ROp_max_reduct_obj_reinit (const struct RTOp_RTOp_vtbl_t *vtbl, const void *obj_data, RTOp_ReductTarget reduct_obj)
 
int RTOp_ROp_max_construct (struct RTOp_RTOp *op)
 
int RTOp_ROp_max_destroy (struct RTOp_RTOp *op)
 
RTOp_value_type RTOp_ROp_max_val (RTOp_ReductTarget reduct_obj)
 

Variables

const struct RTOp_RTOp_vtbl_t RTOp_ROp_max_vtbl
 

Macro Definition Documentation

#define max (   a,
 
)    ( (a) > (b) ? (a) : (b) )

Definition at line 52 of file RTOp_ROp_max.c.

#define min (   a,
 
)    ( (a) < (b) ? (a) : (b) )

Definition at line 53 of file RTOp_ROp_max.c.

Function Documentation

static int RTOp_ROp_max_apply_op ( const struct RTOp_RTOp_vtbl_t vtbl,
const void obj_data,
const int  num_vecs,
const struct RTOp_SubVector  vecs[],
const int  num_targ_vecs,
const struct RTOp_MutableSubVector  targ_vecs[],
RTOp_ReductTarget  reduct_obj 
)
static

Definition at line 62 of file RTOp_ROp_max.c.

static int RTOp_ROp_max_reduct_obj_reinit ( const struct RTOp_RTOp_vtbl_t vtbl,
const void obj_data,
RTOp_ReductTarget  reduct_obj 
)
static

Definition at line 118 of file RTOp_ROp_max.c.

int RTOp_ROp_max_construct ( struct RTOp_RTOp op)

Definition at line 142 of file RTOp_ROp_max.c.

int RTOp_ROp_max_destroy ( struct RTOp_RTOp op)

Definition at line 153 of file RTOp_ROp_max.c.

RTOp_value_type RTOp_ROp_max_val ( RTOp_ReductTarget  reduct_obj)

Definition at line 162 of file RTOp_ROp_max.c.

Variable Documentation

const struct RTOp_RTOp_vtbl_t RTOp_ROp_max_vtbl
Initial value:
=
{
,"ROp_max"
}
static int RTOp_ROp_max_apply_op(const struct RTOp_RTOp_vtbl_t *vtbl, const void *obj_data, const int num_vecs, const struct RTOp_SubVector vecs[], const int num_targ_vecs, const struct RTOp_MutableSubVector targ_vecs[], RTOp_ReductTarget reduct_obj)
Definition: RTOp_ROp_max.c:62
static int RTOp_ROp_max_reduct_obj_reinit(const struct RTOp_RTOp_vtbl_t *vtbl, const void *obj_data, RTOp_ReductTarget reduct_obj)
Definition: RTOp_ROp_max.c:118
int RTOp_get_reduct_max_value_op(const struct RTOp_RTOp_vtbl_t *vtbl, const void *obj_data, RTOp_reduct_op_func_ptr_t *reduct_op_func_ptr)
const struct RTOp_obj_type_vtbl_t RTOp_obj_null_vtbl
int RTOp_reduct_max_value(const struct RTOp_RTOp_vtbl_t *vtbl, const void *obj_data, RTOp_ReductTarget in_targ_obj, RTOp_ReductTarget inout_targ_obj)
const struct RTOp_obj_type_vtbl_t RTOp_obj_value_vtbl

Definition at line 129 of file RTOp_ROp_max.c.