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

dict.h File Reference


Detailed Description

Public include file for simple object dictionaries.

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Go to the source code of this file.

Functions

sobj_dictnew_sobj_dict (void)
 Create a new (empty) dictionary object.
sobj_dictnew_sobj_dict_from_array (struct sobj *)
 Create a new dictionary object from an array object.
sobj_dictnew_sobj_dict_from_vec (unsigned, const char **, struct sobj **)
 Create a new dictionary object from a vector of key/value pairs.
sobj_dictnew_sobj_dict_from_dict (struct sobj_dict *)
 Create a new dictionary object from a dictionary.
sobj_dictsobj_dict_clone (struct sobj_dict *)
 Create a flat copy of a dictionary object.
bool sobj_dict_put (struct sobj_dict *, const char *, struct sobj *)
 Insert an object into a dictionary.
bool sobj_dict_put_unlocked (struct sobj_dict *, const char *, struct sobj *)
 Insert an object into a dictionary.
sobjsobj_dict_get (struct sobj_dict *, const char *)
 Get an object from the dictionary.
sobjsobj_dict_get_unlocked (struct sobj_dict *, const char *)
 Get an object from the dictionary.
bool sobj_dict_remove (struct sobj_dict *, const char *)
 Remove an object from a dictionary.
bool sobj_dict_remove_unlocked (struct sobj_dict *, const char *)
 Remove an object from a dictionary.
void sobj_dict_clear (struct sobj_dict *)
 Remove all objects from the dictionary.
void sobj_dict_clear_unlocked (struct sobj_dict *)
 Remove all objects from the dictionary.
int sobj_dict_count (const struct sobj_dict *)
 Return the number object objects bound by the dictionary.
int sobj_dict_elements (struct sobj_dict *, char ***, struct sobj ***)
 Get the elements bound in the dictionary.
int sobj_dict_elements_unlocked (const struct sobj_dict *, const char **, struct sobj **)
 Get the elements bound in the dictionary.
void sobj_dict_prealloc (struct sobj_dict *, int)
 Preallocate storage.
void sobj_dict_prealloc_unlocked (struct sobj_dict *, int)
 Preallocate storage.
sobjsobj_dict_as_array (struct sobj_dict *, const char *)
 Create an array object representing the dictionary data.
sobjsobj_dict_as_array_unlocked (struct sobj_dict *, const char *)
 Create an array object representing the dictionary data.
void sobj_dict_dump (const struct sobj_dict *)
 Dump a text representation of the object dictionary to the standard error stream.


Generated on Sat Jul 23 16:04:29 2005 for sobject by  doxygen 1.3.9.1