OODuck  0.5
C Oriented Object framework with duck-typing support
Hashmap Class Reference

Hashmap implementation. More...

Inheritance diagram for Hashmap:
Iterable Object

Public Attributes

void * keys
 Get keys collection. More...
 
void * values
 Get values collection. More...
 

Additional Inherited Members

- Public Member Functions inherited from Iterable
bool contains (const void *self, const void *object)
 Check if object is in the collection. More...
 
void clear (void *self)
 Remove all items from iterable. More...
 
void * next (const void *self, const void *iterator)
 
- Public Member Functions inherited from Object
void * ref (void *self)
 Increment object's reference counter. More...
 
void unref (void *self)
 Decrement object's reference counter, if equals 0, delete the object. More...
 
bool equal (const void *self, const void *other)
 Check objects equality. More...
 

Detailed Description

Hashmap implementation.

See also
Collection Uses a Collection for keys and values.

Member Data Documentation

void * Hashmap::keys

Get keys collection.

Parameters
selfHashmap object.
Returns
Collection instance containing all Hashmap keys.
void * Hashmap::values

Get values collection.

Parameters
selfHashmap object.
Returns
Collection instance containing all Hashmap values.