|
IUF-SDK-3
Interventional Ultrasound Library
|
#include <stdlib.h>#include <string.h>#include <math.h>#include <hashmap.h>#include <iuf.h>#include <iufPulsePrivate.h>#include <iufParametricPulsePrivate.h>#include <iufNonParametricPulsePrivate.h>Data Structures | |
| struct | HashablePulse |
| struct | IufPulseDict |
Macros | |
| #define | MAX_NAME 1024 |
Functions | |
| iupd_t | iufPulseDictCreate () |
| Create an empty dictionary of IufPulse objects. More... | |
| int | iufPulseDictDeepDelete (iupd_t dict) |
| Deletes the dictionary and all its IufPulse objects. More... | |
| int | iufPulseDictDelete (iupd_t dict) |
| Delete a dictionary without deleting its IufPulse objects. More... | |
| int | iufPulseDictCompare (iupd_t reference, iupd_t actual) |
| Check if two pulse dictionaries are equal. More... | |
| size_t | iufPulseDictGetSize (iupd_t dict) |
| Get the number of IufPulse objects in the dictionary. More... | |
| iup_t | iufPulseDictGet (iupd_t dict, char *key) |
Get the IufPulse from the dictionary that has label key. More... | |
| char ** | iufPulseDictGetKeys (iupd_t dict) |
| Get the keys currently available in the dict. More... | |
| int | iufPulseDictSet (iupd_t dict, char *key, iup_t member) |
Add the IufPulse to the dictionary with label key. More... | |
| int | iufPulseDictSave (iupd_t dict, hid_t handle) |
| iupd_t | iufPulseDictLoad (hid_t handle) |
| struct HashablePulse |
| Data Fields | ||
|---|---|---|
| char | key[256] | |
| iup_t | pulse | |
| struct IufPulseDict |
| Data Fields | ||
|---|---|---|
| IUF_BOOL | deepDelete | |
| char ** | keys | |
| struct hashmap | map | |
| #define MAX_NAME 1024 |
| iupd_t iufPulseDictCreate | ( | void | ) |
Create an empty dictionary of IufPulse objects.
| int iufPulseDictDeepDelete | ( | iupd_t | dict | ) |
Deletes the dictionary and all its IufPulse objects.
| dict | The pulse dictionary of interest |
| int iufPulseDictDelete | ( | iupd_t | dict | ) |
Delete a dictionary without deleting its IufPulse objects.
| dict | The pulse dictionary of interest |
Get the IufPulse from the dictionary that has label key.
| char** iufPulseDictGetKeys | ( | iupd_t | dict | ) |
Get the keys currently available in the dict.
| dict | The pulse dictionary of interest |
| size_t iufPulseDictGetSize | ( | iupd_t | dict | ) |
| iupd_t iufPulseDictLoad | ( | hid_t | handle | ) |
| int iufPulseDictSave | ( | iupd_t | dict, |
| hid_t | handle | ||
| ) |