Defines | Typedefs | Functions

hashmap.h File Reference

Go to the source code of this file.

Defines

#define SmallHashmapSize   17
#define MediumHashmapSize   509
#define LargeHashmapSize   8191
#define HugeHashmapSize   131071

Typedefs

typedef struct _HashmapInfo HashmapInfo
typedef struct _LinkedListInfo LinkedListInfo

Functions

WizardExport HashmapInfoDestroyHashmap (HashmapInfo *)
WizardExport HashmapInfo ** NewHashmap (const size_t, size_t(*)(const void *), WizardBooleanType(*)(const void *, const void *), void *(*)(void *), void *(*)(void *))
WizardExport LinkedListInfoDestroyLinkedList (LinkedListInfo *, void *(*)(void *))
WizardExport LinkedListInfo ** NewLinkedList (const size_t)
WizardExport WizardBooleanType AppendValueToLinkedList (LinkedListInfo *, const void *)
WizardExport WizardBooleanType CompareHashmapString (const void *, const void *)
WizardExport WizardBooleanType CompareHashmapStringInfo (const void *, const void *)
WizardExport WizardBooleanType InsertValueInLinkedList (LinkedListInfo *, const size_t, const void *)
WizardExport WizardBooleanType InsertValueInSortedLinkedList (LinkedListInfo *, int(*)(const void *, const void *), void **, const void *)
WizardExport WizardBooleanType IsHashmapEmpty (const HashmapInfo *)
WizardExport WizardBooleanType IsLinkedListEmpty (const LinkedListInfo *)
WizardExport WizardBooleanType LinkedListToArray (LinkedListInfo *, void **)
WizardExport WizardBooleanType PutEntryInHashmap (HashmapInfo *, const void *, const void *)
WizardExport size_t HashPointerType (const void *)
WizardExport size_t HashStringType (const void *)
WizardExport size_t HashStringInfoType (const void *)
WizardExport size_t GetNumberOfElementsInLinkedList (const LinkedListInfo *)
WizardExport size_t GetNumberOfEntriesInHashmap (const HashmapInfo *)
WizardExport void ClearLinkedList (LinkedListInfo *, void *(*)(void *))
WizardExport void * GetLastValueInLinkedList (LinkedListInfo *)
WizardExport void ** GetNextKeyInHashmap (HashmapInfo *)
WizardExport void *** GetNextValueInHashmap (HashmapInfo *)
WizardExport void **** GetNextValueInLinkedList (LinkedListInfo *)
WizardExport void ***** GetValueFromHashmap (HashmapInfo *, const void *)
WizardExport void ****** GetValueFromLinkedList (LinkedListInfo *, const size_t)
WizardExport void ******* RemoveElementByValueFromLinkedList (LinkedListInfo *, const void *)
WizardExport void ******** RemoveElementFromLinkedList (LinkedListInfo *, const size_t)
WizardExport void ********* RemoveEntryFromHashmap (HashmapInfo *, const void *)
WizardExport void ********** RemoveLastElementFromLinkedList (LinkedListInfo *)
WizardExport void ********** ResetHashmapIterator (HashmapInfo *)
WizardExport void ********** ResetLinkedListIterator (LinkedListInfo *)

Define Documentation

#define HugeHashmapSize   131071
#define LargeHashmapSize   8191
#define MediumHashmapSize   509
#define SmallHashmapSize   17

Typedef Documentation

typedef struct _HashmapInfo HashmapInfo

Function Documentation

WizardExport WizardBooleanType AppendValueToLinkedList ( LinkedListInfo ,
const void *   
)
WizardExport void ClearLinkedList ( LinkedListInfo ,
void *  *)(void * 
)
WizardExport WizardBooleanType CompareHashmapString ( const void *  ,
const void *   
)
WizardExport WizardBooleanType CompareHashmapStringInfo ( const void *  ,
const void *   
)
WizardExport HashmapInfo* DestroyHashmap ( HashmapInfo  ) 
WizardExport LinkedListInfo* DestroyLinkedList ( LinkedListInfo ,
void *  *)(void * 
)
WizardExport void * GetLastValueInLinkedList ( LinkedListInfo  ) 
WizardExport void * * GetNextKeyInHashmap ( HashmapInfo  ) 
WizardExport void * * * GetNextValueInHashmap ( HashmapInfo  ) 
WizardExport void * * * * GetNextValueInLinkedList ( LinkedListInfo  ) 
WizardExport size_t GetNumberOfElementsInLinkedList ( const LinkedListInfo  ) 
WizardExport size_t GetNumberOfEntriesInHashmap ( const HashmapInfo  ) 
WizardExport void * * * * * GetValueFromHashmap ( HashmapInfo ,
const void *   
)
WizardExport void * * * * * * GetValueFromLinkedList ( LinkedListInfo ,
const   size_t 
)
WizardExport size_t HashPointerType ( const void *   ) 
WizardExport size_t HashStringInfoType ( const void *   ) 
WizardExport size_t HashStringType ( const void *   ) 
WizardExport WizardBooleanType InsertValueInLinkedList ( LinkedListInfo ,
const   size_t,
const void *   
)
WizardExport WizardBooleanType InsertValueInSortedLinkedList ( LinkedListInfo ,
int(*)(const void *, const void *)  ,
void **  ,
const void *   
)
WizardExport WizardBooleanType IsHashmapEmpty ( const HashmapInfo  ) 
WizardExport WizardBooleanType IsLinkedListEmpty ( const LinkedListInfo  ) 
WizardExport WizardBooleanType LinkedListToArray ( LinkedListInfo ,
void **   
)
WizardExport HashmapInfo* * NewHashmap ( const   size_t,
size_t(*)(const void *)  ,
WizardBooleanType(*)(const void *, const void *)  ,
void *  *)(void *,
void *  *)(void * 
)
WizardExport LinkedListInfo* * NewLinkedList ( const   size_t  ) 
WizardExport WizardBooleanType PutEntryInHashmap ( HashmapInfo ,
const void *  ,
const void *   
)
WizardExport void * * * * * * * RemoveElementByValueFromLinkedList ( LinkedListInfo ,
const void *   
)
WizardExport void * * * * * * * * RemoveElementFromLinkedList ( LinkedListInfo ,
const   size_t 
)
WizardExport void * * * * * * * * * RemoveEntryFromHashmap ( HashmapInfo ,
const void *   
)
WizardExport void * * * * * * * * * * RemoveLastElementFromLinkedList ( LinkedListInfo  ) 
WizardExport void * * * * * * * * * * ResetHashmapIterator ( HashmapInfo  ) 
WizardExport void * * * * * * * * * * ResetLinkedListIterator ( LinkedListInfo  )