|
IUF-SDK-3
Interventional Ultrasound Library
|
#include <stdlib.h>#include <string.h>#include <hashmap.h>#include <iuf.h>#include <iufParameterDictPrivate.h>#include <iufParameterDictADT.h>Functions | |
| iupad_t | iufParameterDictCreate () |
| Creates an empty paramter dictionary. More... | |
| int | iufParameterDictDelete (iupad_t dict) |
| Delete the paramter dictionary including all its content. More... | |
| int | iufParameterDictCompare (iupad_t reference, iupad_t actual) |
| Checks if two IufParameterDict objects are equal. More... | |
| size_t | iufParameterDictGetSize (iupad_t dict) |
| Gets the number of parameter entries in the dictionary. More... | |
| char * | iufParameterDictGet (iupad_t dict, char *key) |
Gets the value of parameter key from the dictionary. More... | |
| char ** | iufParameterDictGetKeys (iupad_t dict) |
| Get the keys currently available in the dict. More... | |
| int | iufParameterDictSet (iupad_t dict, char *key, char *value) |
| Add a {key,value} pair to the dictionary. /return Returns IUF_E_OK when successful and IUF_ERR_VALUE in case of invalid paramters. More... | |
| int | iufParameterDictSave (iupad_t dict, hid_t handle) |
| iupad_t | iufParameterDictLoad (hid_t handle) |
Checks if two IufParameterDict objects are equal.
| reference | The IufParameterDict to compare to |
| actual | The IufParameterDict to compare with |
| iupad_t iufParameterDictCreate | ( | void | ) |
Creates an empty paramter dictionary.
| int iufParameterDictDelete | ( | iupad_t | dict | ) |
Delete the paramter dictionary including all its content.
| dict | the IufParameterDict to be deleted |
| char* iufParameterDictGet | ( | iupad_t | dict, |
| char * | key | ||
| ) |
Gets the value of parameter key from the dictionary.
value of parameters key or NULL in case it could not be found. | dict | The IufParameterDict of interest |
| key | The parameter to search for |
| char** iufParameterDictGetKeys | ( | iupad_t | dict | ) |
Get the keys currently available in the dict.
| dict | The IufParameterDict of interest |
| size_t iufParameterDictGetSize | ( | iupad_t | dict | ) |
Gets the number of parameter entries in the dictionary.
| dict | The IufParameterDict of interest |
| iupad_t iufParameterDictLoad | ( | hid_t | handle | ) |
| int iufParameterDictSave | ( | iupad_t | dict, |
| hid_t | handle | ||
| ) |
| int iufParameterDictSet | ( | iupad_t | dict, |
| char * | key, | ||
| char * | value | ||
| ) |
Add a {key,value} pair to the dictionary. /return Returns IUF_E_OK when successful and IUF_ERR_VALUE in case of invalid paramters.
| dict | The IufParameterDict of interest |
| key | The parameter name |
| value | The parameter value |