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

Go to the source code of this file.

Functions

static int get_obj_type_num_entries (const struct RTOp_obj_type_vtbl_t *vtbl, const void *instance_data, int *num_values, int *num_indexes, int *num_chars)
 
static int obj_create (const struct RTOp_obj_type_vtbl_t *vtbl, const void *instance_data, void **obj)
 
static int obj_reinit (const struct RTOp_obj_type_vtbl_t *vtbl, const void *instance_data, void *obj)
 
static int extract_state (const struct RTOp_obj_type_vtbl_t *vtbl, const void *instance_data, void *obj, 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_state (const struct RTOp_obj_type_vtbl_t *vtbl, const void *instance_data, 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)
 

Variables

const struct RTOp_obj_type_vtbl_t RTOp_obj_null_vtbl
 

Function Documentation

static int get_obj_type_num_entries ( const struct RTOp_obj_type_vtbl_t vtbl,
const void instance_data,
int *  num_values,
int *  num_indexes,
int *  num_chars 
)
static

Definition at line 51 of file RTOp_obj_null_vtbl.c.

static int obj_create ( const struct RTOp_obj_type_vtbl_t vtbl,
const void instance_data,
void **  obj 
)
static

Definition at line 65 of file RTOp_obj_null_vtbl.c.

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

Definition at line 71 of file RTOp_obj_null_vtbl.c.

static int extract_state ( const struct RTOp_obj_type_vtbl_t vtbl,
const void instance_data,
void obj,
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 76 of file RTOp_obj_null_vtbl.c.

static int load_state ( const struct RTOp_obj_type_vtbl_t vtbl,
const void instance_data,
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 
)
static

Definition at line 95 of file RTOp_obj_null_vtbl.c.

Variable Documentation

const struct RTOp_obj_type_vtbl_t RTOp_obj_null_vtbl
Initial value:
=
{
}
static int obj_reinit(const struct RTOp_obj_type_vtbl_t *vtbl, const void *instance_data, void *obj)
static int obj_create(const struct RTOp_obj_type_vtbl_t *vtbl, const void *instance_data, void **obj)
static int get_obj_type_num_entries(const struct RTOp_obj_type_vtbl_t *vtbl, const void *instance_data, int *num_values, int *num_indexes, int *num_chars)
static int extract_state(const struct RTOp_obj_type_vtbl_t *vtbl, const void *instance_data, void *obj, int num_values, RTOp_value_type value_data[], int num_indexes, RTOp_index_type index_data[], int num_chars, RTOp_char_type char_data[])
int RTOp_obj_free_free(const struct RTOp_obj_type_vtbl_t *vtbl, const void *instance_data, void **obj)
static int load_state(const struct RTOp_obj_type_vtbl_t *vtbl, const void *instance_data, 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)

Virtual function table for a null (none) object.

The functions do the following:

  • get_obj_type_num_entries(...)
    • vtbl [in] Ignored
    • instance_data [in] Ignored
    • num_values [out] Returns 0
    • num_indexes [out] Returns 0
    • num_chars [out] Returns 0
  • obj_create(...)
    • vtbl [in] Ignored
    • instance_data [in] Ignored
    • obj [out] set to NULL
  • obj_reinit(...) Does nothing
  • obj_free(...) Does nothing
  • extract_state(...) Does nothing
  • load_state(...) Does nothing

Definition at line 114 of file RTOp_obj_null_vtbl.c.