RTOp_TOp_set_sub_vector.c File Reference

#include "RTOp_TOp_set_sub_vector.h"
#include "RTOp.h"
#include "RTOp_SparseSubVector.h"
#include "RTOp_obj_null_vtbl.h"
#include <stdlib.h>
Include dependency graph for RTOp_TOp_set_sub_vector.c:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  RTOp_TOp_set_sub_vector_state_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 op_free (const struct RTOp_obj_type_vtbl_t *vtbl, const void *dummy, void **obj_data)
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_set_sub_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_set_sub_vector_construct (const struct RTOp_SparseSubVector *sub_vec, struct RTOp_RTOp *op)
int RTOp_TOp_set_sub_vector_set_sub_vec (const struct RTOp_SparseSubVector *sub_vec, struct RTOp_RTOp *op)
int RTOp_TOp_set_sub_vector_destroy (struct RTOp_RTOp *op)

Variables

static struct RTOp_obj_type_vtbl_t instance_obj_vtbl
struct RTOp_RTOp_vtbl_t RTOp_TOp_set_sub_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 43 of file RTOp_TOp_set_sub_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 67 of file RTOp_TOp_set_sub_vector.c.

static int op_free ( const struct RTOp_obj_type_vtbl_t vtbl,
const void *  dummy,
void **  obj_data 
) [static]

Definition at line 79 of file RTOp_TOp_set_sub_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 97 of file RTOp_TOp_set_sub_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 139 of file RTOp_TOp_set_sub_vector.c.

static int RTOp_TOp_set_sub_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 217 of file RTOp_TOp_set_sub_vector.c.

int RTOp_TOp_set_sub_vector_construct ( const struct RTOp_SparseSubVector sub_vec,
struct RTOp_RTOp op 
)

Constructor.

Note that a copy of sub_vec is not made. Therefore, the client must not disturb sub_vec while this operator object is in use!

Definition at line 344 of file RTOp_TOp_set_sub_vector.c.

int RTOp_TOp_set_sub_vector_set_sub_vec ( const struct RTOp_SparseSubVector sub_vec,
struct RTOp_RTOp op 
)

Reinitialize the range for the sub-vector to extract.

Note that a copy of sub_vec is not made. Therefore, the client must not disturb sub_vec while this operator object is in use!

Definition at line 356 of file RTOp_TOp_set_sub_vector.c.

int RTOp_TOp_set_sub_vector_destroy ( struct RTOp_RTOp op  ) 

Destructor.

Definition at line 373 of file RTOp_TOp_set_sub_vector.c.


Variable Documentation

Initial value:

Definition at line 205 of file RTOp_TOp_set_sub_vector.c.

Initial value:
{
  &instance_obj_vtbl
  ,&RTOp_obj_null_vtbl 
  ,"RTOp_TOp_set_sub_vector"
  ,NULL 
  ,RTOp_TOp_set_sub_vector_apply_op
  ,NULL 
  ,NULL 
}

Definition at line 333 of file RTOp_TOp_set_sub_vector.c.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Generated on Wed Apr 13 10:16:59 2011 for MOOCHO (Single Doxygen Collection) by  doxygen 1.6.3