offbrand
A collection of generic, reference counted datastructures in C for C
 All Classes Files Functions Variables Typedefs Macros Groups
Public Attributes | List of all members
obj_struct Struct Reference

Base struct used for within all Offbrand compatible classes that tracks information common to all classes. More...

#include <obj_private.h>

Public Attributes

ob_ref_count_t references
 
ob_dealloc_fptr dealloc
 
ob_hash_fptr hash
 
ob_compare_fptr compare
 
ob_display_fptr display
 
const char * classname
 

Detailed Description

Base struct used for within all Offbrand compatible classes that tracks information common to all classes.

Member Data Documentation

const char* obj_struct::classname

C String classname to which the instance belongs

ob_compare_fptr obj_struct::compare

pointer to class specific comparison function

ob_dealloc_fptr obj_struct::dealloc

pointer to class specific deallocation function

ob_display_fptr obj_struct::display

pointer to the class specific display function

ob_hash_fptr obj_struct::hash

pointer to class specific hash function

ob_ref_count_t obj_struct::references

reference count for each instance


The documentation for this struct was generated from the following file: