Main Page | Modules | Alphabetical List | Data Structures | File List | Data Fields | Globals | Related Pages

sobj_dict Struct Reference
[Object Dictionaries]

Collaboration diagram for sobj_dict:

Collaboration graph
[legend]

Detailed Description

Simple object dictionary.

The dictionaries are represented by instances of this structure. This structure is declared as an inomplete type in the public include file <sobject/#dict.h>, all fields (except for the reference counting fields sobj_dict::refcount and sobj_dict::del) are private to the dictionary implementation.


Data Fields

volatile sobj_refcount_t refcount
 Reference counter.
void(* del )(void *)
 Destructor.
int n
 The number of elements stored in the dictionary.
int size
 The allocated size of the element vector.
sobj_dict_elementelement
 Vector of stored elements, sorted in strcmp() order on the element keys.


Field Documentation

void(* sobj_dict::del)(void *)
 

Destructor.

struct sobj_dict_element* sobj_dict::element
 

Vector of stored elements, sorted in strcmp() order on the element keys.

int sobj_dict::n
 

The number of elements stored in the dictionary.

volatile sobj_refcount_t sobj_dict::refcount
 

Reference counter.

int sobj_dict::size
 

The allocated size of the element vector.


The documentation for this struct was generated from the following file:
Generated on Sat Jul 23 16:06:27 2005 for sobject by  doxygen 1.3.9.1