COMPS_ObjectInfo Struct Reference

#include <comps_obj.h>

Data Fields

size_t obj_size
void(* constructor )(COMPS_Object *, COMPS_Object **)
void(* destructor )(COMPS_Object *)
void(* copy )(COMPS_Object *, COMPS_Object *)
COMPS_Object *(* deep_copy )(COMPS_Object *, COMPS_Object *)
signed char(* obj_cmp )(COMPS_Object *, COMPS_Object *)
char *(* to_str )(COMPS_Object *)

Detailed Description

Structure holding all importating callback functions supporting COMPS_Object derivate proper behavior. All callbacks except constructor and destructor are optional

See also:
comps_object_create

Field Documentation

pointer to derivate object constructor

See also:
comps_object_create

pointer to derivate object copy function

See also:
comps_object_copy

currently unused

pointer to derivate objects destructor

See also:
comps_object_destroy

pointer to comparator function

size of derivate object which is sizeof(obj)

pointer to string representation convert function


The documentation for this struct was generated from the following file:
 All Data Structures Files Functions Variables Enumerations Defines

Generated on 1 Mar 2019 for libcomps by  doxygen 1.6.1