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

Go to the source code of this file.

Classes

struct  RTOp_TOp_random_vector_bnd_t
 

Functions

static int get_op_type_num_entries (const struct RTOp_obj_type_vtbl_t *vtbl, const void *obj_data, int *num_values, int *num_indexes, int *num_chars)
 
static int op_create (const struct RTOp_obj_type_vtbl_t *vtbl, const void *instance_data, RTOp_ReductTarget *obj)
 
static int extract_op_state (const struct RTOp_obj_type_vtbl_t *vtbl, const void *dummy, void *obj_data, int num_values, RTOp_value_type value_data[], int num_indexes, RTOp_index_type index_data[], int num_chars, RTOp_char_type char_data[])
 
static int load_op_state (const struct RTOp_obj_type_vtbl_t *vtbl, const void *dummy, int num_values, const RTOp_value_type value_data[], int num_indexes, const RTOp_index_type index_data[], int num_chars, const RTOp_char_type char_data[], void **obj_data)
 
static int RTOp_TOp_random_vector_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 targ_obj)
 
int RTOp_TOp_random_vector_construct (RTOp_value_type lbnd, RTOp_value_type ubnd, struct RTOp_RTOp *op)
 
int RTOp_TOp_random_vector_destroy (struct RTOp_RTOp *op)
 
int RTOp_TOp_random_vector_set_bounds (RTOp_value_type lbnd, RTOp_value_type ubnd, struct RTOp_RTOp *op)
 

Variables

static struct RTOp_obj_type_vtbl_t instance_obj_vtbl
 
const struct RTOp_RTOp_vtbl_t RTOp_TOp_random_vector_vtbl
 

Function Documentation

static int get_op_type_num_entries ( const struct RTOp_obj_type_vtbl_t vtbl,
const void obj_data,
int *  num_values,
int *  num_indexes,
int *  num_chars 
)
static

Definition at line 63 of file RTOp_TOp_random_vector.c.

static int op_create ( const struct RTOp_obj_type_vtbl_t vtbl,
const void instance_data,
RTOp_ReductTarget obj 
)
static

Definition at line 77 of file RTOp_TOp_random_vector.c.

static int extract_op_state ( const struct RTOp_obj_type_vtbl_t vtbl,
const void dummy,
void obj_data,
int  num_values,
RTOp_value_type  value_data[],
int  num_indexes,
RTOp_index_type  index_data[],
int  num_chars,
RTOp_char_type  char_data[] 
)
static

Definition at line 85 of file RTOp_TOp_random_vector.c.

static int load_op_state ( const struct RTOp_obj_type_vtbl_t vtbl,
const void dummy,
int  num_values,
const RTOp_value_type  value_data[],
int  num_indexes,
const RTOp_index_type  index_data[],
int  num_chars,
const RTOp_char_type  char_data[],
void **  obj_data 
)
static

Definition at line 108 of file RTOp_TOp_random_vector.c.

static int RTOp_TOp_random_vector_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  targ_obj 
)
static

Definition at line 145 of file RTOp_TOp_random_vector.c.

int RTOp_TOp_random_vector_construct ( RTOp_value_type  lbnd,
RTOp_value_type  ubnd,
struct RTOp_RTOp op 
)

Definition at line 202 of file RTOp_TOp_random_vector.c.

int RTOp_TOp_random_vector_destroy ( struct RTOp_RTOp op)

Definition at line 214 of file RTOp_TOp_random_vector.c.

int RTOp_TOp_random_vector_set_bounds ( RTOp_value_type  lbnd,
RTOp_value_type  ubnd,
struct RTOp_RTOp op 
)

Definition at line 222 of file RTOp_TOp_random_vector.c.

Variable Documentation

struct RTOp_obj_type_vtbl_t instance_obj_vtbl
static
Initial value:
=
{
,NULL
}
static int extract_op_state(const struct RTOp_obj_type_vtbl_t *vtbl, const void *dummy, void *obj_data, int num_values, RTOp_value_type value_data[], int num_indexes, RTOp_index_type index_data[], int num_chars, RTOp_char_type char_data[])
static int load_op_state(const struct RTOp_obj_type_vtbl_t *vtbl, const void *dummy, int num_values, const RTOp_value_type value_data[], int num_indexes, const RTOp_index_type index_data[], int num_chars, const RTOp_char_type char_data[], void **obj_data)
static int op_create(const struct RTOp_obj_type_vtbl_t *vtbl, const void *instance_data, RTOp_ReductTarget *obj)
int RTOp_obj_free_free(const struct RTOp_obj_type_vtbl_t *vtbl, const void *instance_data, void **obj)
static int get_op_type_num_entries(const struct RTOp_obj_type_vtbl_t *vtbl, const void *obj_data, int *num_values, int *num_indexes, int *num_chars)

Definition at line 133 of file RTOp_TOp_random_vector.c.

const struct RTOp_RTOp_vtbl_t RTOp_TOp_random_vector_vtbl
Initial value:
=
{
,"TOp_random_vector"
,NULL
,NULL
,NULL
}
const struct RTOp_obj_type_vtbl_t RTOp_obj_null_vtbl
static int RTOp_TOp_random_vector_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 targ_obj)
static struct RTOp_obj_type_vtbl_t instance_obj_vtbl

Definition at line 189 of file RTOp_TOp_random_vector.c.