RTOp_obj_value_index_vtbl.h File Reference

#include "RTOp.h"
Include dependency graph for RTOp_obj_value_index_vtbl.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  RTOp_value_index_type



struct RTOp_obj_type_vtbl_t RTOp_obj_value_index_vtbl

Variable Documentation

Virtual function table for a simple object of a {RTOp_value_type,RTOp_index_type} pair.

The functions do the following:

  • get_obj_type_num_entries(...)
    • vtbl [in] Ignored
    • instance_data [in] Ignored
    • num_values [out] Returns 1
    • num_indexes [out] Returns 1
    • num_chars [out] Returns 0
  • obj_create(...)
    • vtbl [in] Ignored
    • instance_data [in] Ignored
    • obj [out] Points an allocated to a RTOp_value_index_type object initialized to {0.0,0}
  • obj_reinit(...)
    • vtbl [in] Ignored
    • instance_data [in] Ignored
    • obj [in/out] RTOp_value_index_type object reinitialized to {0.0,0}
  • obj_free(...)
    • vtbl [in] Ignored
    • instance_data [in] Ignored
    • obj [in/out] allocated object is freed and obj is set to NULL.
  • extract_state(...)
    • vtbl [in] Ignored
    • instance_data [in] Ignored
    • obj [in] Allocated RTOp_value_index_type object.
    • num_values [in] Must be 1
    • value_data [out] value_data[0] = ((RTOp_value_index_type*)obj->value)
    • num_indexes [in] Must be 1
    • index_data [out] index_data[0] = ((RTOp_value_index_type*)obj->index)
    • num_chars [in] Must be 0
    • char_data [out] Must be NULL
  • load_state(...)
    • vtbl [in] Ignored
    • instance_data [in] Ignored
    • num_values [in] Must be 1
    • value_data [in] value_data[0]
    • num_indexes [in] Must be 1
    • index_data [in] index_data[0]
    • num_chars [in] Must be 0
    • char_data [in] Must be NULL
    • obj [in/out] If *obj == NULL then *obj = malloc(sizeof(RTOp_value_index_type)) and *(RTOp_value_index_type)*obj = {value_data[0],index_data[0]}

Definition at line 135 of file RTOp_obj_value_index_vtbl.c.

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